|Subject:||suggest polygons of zero or more points|
|Date:||Tue, 04 Mar 2014 07:05:18 +1100|
|To:||bug-Math-Geometry-Planar [...] rt.cpan.org|
|From:||Kevin Ryde <user42 [...] zip.com.au>|
It'd be good if Math::Geometry::Planar could act on polygons of 0 or more points rather than demanding 3 or more. I've used it on various sets of points to calculate area and perimeter and would like not to have to check how many points. Of course the area is 0 for 0,1,2 points, but 2 points has a perimeter and it would be convenient to get that.