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