Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: user42_kevin [...] yahoo.com.au
Cc:
AdminCc:

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



Subject: suggest isboundary() method
Date: Tue, 10 Jun 2014 16:17:17 +1000
To: bug-Math-Geometry-Planar [...] rt.cpan.org
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
As an idea for a feature, it could be good to have a $bool = $planar->isboundary($point) to test whether a point is on the polygon boundary. For contours I would think true on the boundary of a hole too. This would be a kind of variation on isinside(). I see there's a blob of code in IsInside() which checks for being on the boundary, if that might be copied out.