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>
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.)