mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Remove unused methods
This commit is contained in:
		
							parent
							
								
									44d91774a6
								
							
						
					
					
						commit
						92ab53868e
					
				
					 4 changed files with 1 additions and 59 deletions
				
			
		| 
						 | 
				
			
			@ -40,11 +40,6 @@ sub deserialize {
 | 
			
		|||
    return $class->new(map [ $v[2*$_], $v[2*$_+1] ], 0 .. int($#v/2));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
sub is_serialized {
 | 
			
		||||
    my $self = shift;
 | 
			
		||||
    return (reftype $self) eq 'SCALAR' ? 1 : 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
sub lines {
 | 
			
		||||
    my $self = shift;
 | 
			
		||||
    return polyline_lines($self);
 | 
			
		||||
| 
						 | 
				
			
			@ -105,16 +100,6 @@ sub nearest_point_index_to {
 | 
			
		|||
    return Slic3r::Geometry::nearest_point_index($point, $self);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
sub has_segment {
 | 
			
		||||
    my $self = shift;
 | 
			
		||||
    my ($line) = @_;
 | 
			
		||||
    
 | 
			
		||||
    for ($self->lines) {
 | 
			
		||||
        return 1 if $_->has_segment($line);
 | 
			
		||||
    }
 | 
			
		||||
    return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
sub clip_with_polygon {
 | 
			
		||||
    my $self = shift;
 | 
			
		||||
    my ($polygon) = @_;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue