One more arrayref conversion

This commit is contained in:
Alessandro Ranellucci 2013-07-07 17:10:22 +02:00
parent 21816acbd7
commit 8380ca812b

View file

@ -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 {