mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Ported encloses_point() to XS and renamed to contains_point()
This commit is contained in:
@@ -27,12 +27,6 @@ sub remove_acute_vertices {
|
||||
polygon_remove_acute_vertices($self);
|
||||
}
|
||||
|
||||
sub encloses_point {
|
||||
my $self = shift;
|
||||
my ($point) = @_;
|
||||
return Boost::Geometry::Utils::point_covered_by_polygon($point->pp, [$self->pp]);
|
||||
}
|
||||
|
||||
sub grow {
|
||||
my $self = shift;
|
||||
return $self->split_at_first_point->grow(@_);
|
||||
|
||||
Reference in New Issue
Block a user