One more arrayref conversion
This commit is contained in:
parent
21816acbd7
commit
8380ca812b
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ sub encloses_point {
|
|||
sub encloses_point_quick {
|
||||
my $self = shift;
|
||||
my ($point) = @_;
|
||||
return Boost::Geometry::Utils::point_within_polygon($point, $self);
|
||||
return Boost::Geometry::Utils::point_within_polygon($point, $self->arrayref);
|
||||
}
|
||||
|
||||
sub encloses_line {
|
||||
|
|
Loading…
Reference in a new issue