- Adding functions pointInPolygon() and pointOnVertex() to Polygon.class.php