IsConvex() ,PolygonArea() for Polygons
Monkey Forums/Monkey Code/IsConvex() ,PolygonArea() for Polygons
| ||
An answer to http://www.monkeycoder.co.nz/Community/posts.php?topic=1657 [EDIT] Version with slightly more elegant point enumeration |
| ||
great work |
| ||
Here's a function to calculate a polygon's centroid (makes use of your PolygonArea function): |