Package com.kheops.jmap.spatial
Interface PolygonTypeGeometry
- All Superinterfaces:
Cloneable,Geometry,Serializable
- All Known Implementing Classes:
Annotation,MultiPolygon,OrientedRectangle,OrientedRectangle.Double,OrientedRectangle.Float,Polygon
-
Field Summary
Fields inherited from interface com.kheops.jmap.spatial.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 -
Method Summary
Methods inherited from interface com.kheops.jmap.spatial.Geometry
asText, boundary, clone, createBounds, getBounds, getCenteredPoint, getGeometryId, getGeometryType, length, serialize, sizeOf, spatiallyEquals, spatiallyEquals, toString, transform, translate
-
Method Details
-
polygonIterator
PolygonGeometryIterator polygonIterator() -
area
double area()the area of this collection -
centroid
Point centroid()the center of mass of this collection- Returns:
-
pointOnSurface
Point pointOnSurface()a point on the surface of one element- Returns:
-