mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 20:55:55 +08:00
Removed useless code
This commit is contained in:
parent
b414c50b68
commit
4474595629
@ -128,16 +128,6 @@ sub encloses_line {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub point_on_segment {
|
|
||||||
my $self = shift;
|
|
||||||
my ($point) = @_;
|
|
||||||
for (@$self) {
|
|
||||||
my $line = $_->point_on_segment($point);
|
|
||||||
return $line if $line;
|
|
||||||
}
|
|
||||||
return undef;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub bounding_box {
|
sub bounding_box {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return $self->contour->bounding_box;
|
return $self->contour->bounding_box;
|
||||||
|
@ -56,12 +56,6 @@ sub remove_acute_vertices {
|
|||||||
bless $_, 'Slic3r::Point' for @$self;
|
bless $_, 'Slic3r::Point' for @$self;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub point_on_segment {
|
|
||||||
my $self = shift;
|
|
||||||
my ($point) = @_;
|
|
||||||
return polygon_segment_having_point($self, $point);
|
|
||||||
}
|
|
||||||
|
|
||||||
sub encloses_point {
|
sub encloses_point {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my ($point) = @_;
|
my ($point) = @_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user