mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Speed optimization in avoid_crossing_perimeters
This commit is contained in:
parent
f599ed00c6
commit
7180e7cb30
2 changed files with 4 additions and 8 deletions
|
@ -172,10 +172,4 @@ sub split_at_first_point {
|
|||
return $self->split_at_index(0);
|
||||
}
|
||||
|
||||
sub intersects_line {
|
||||
my $self = shift;
|
||||
my ($line) = @_;
|
||||
return @{Boost::Geometry::Utils::polygon_multi_linestring_intersection([$self], [$line])} > 0;
|
||||
}
|
||||
|
||||
1;
|
Loading…
Add table
Add a link
Reference in a new issue