/** * Return the number of points in a polygon * * @param poly the polygon * @return the polygon's number of points */ public static int getPolygonSize(GeoPolygon poly) { return poly.getPointsLength(); }