public interface PolygonTypeGeometry extends Geometry
GEOMETRY_ANNOTATION, GEOMETRY_COMPLEX, GEOMETRY_ELLIPSE, GEOMETRY_LINE, GEOMETRY_LINEAR_RING, GEOMETRY_LINESTRING, GEOMETRY_MULTI_ANNOTATION, GEOMETRY_MULTI_LINESTRING, GEOMETRY_MULTI_POINT, GEOMETRY_MULTI_POLYGON, GEOMETRY_POINT, GEOMETRY_POLYGON, GEOMETRY_RECTANGLE| Modifier and Type | Method and Description |
|---|---|
double |
area()
the area of this collection
|
Point |
centroid()
the center of mass of this collection
|
Point |
pointOnSurface()
a point on the surface of one element
|
PolygonGeometryIterator |
polygonIterator() |
asText, boundary, clone, createBounds, getBounds, getCenteredPoint, getGeometryId, getGeometryType, length, serialize, sizeOf, spatiallyEquals, spatiallyEquals, toString, transform, translatePolygonGeometryIterator polygonIterator()
Point centroid()
Point pointOnSurface()