Skip Menu |
 

This queue is for tickets about the Math-Geometry-Planar CPAN distribution.

Report information
The Basics
Id: 94868
Status: new
Priority: 0/
Queue: Math-Geometry-Planar

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: docs of ->isinside() on boundary points
Date: Sat, 19 Apr 2014 10:44:23 +1000
To: bug-Math-Geometry-Planar [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
Download (untitled) / with headers
text/plain 539b
The docs of ->isinside() don't say whether boundary points are reckoned inside or not. I see from the code that they are. Perhaps expand a little like =head4 $polygon->isinside($point); Returns true if C<$point> is inside the polygon or contour. C<$point> is inside a contour if it is inside the outer polygon and not inside a hole. Points on the boundary are considered inside. Points on the boundary of a hole are considered not inside. (A hole removes the entirety of the hole polygon, including removing its boundary points.)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.