public interface Surface extends Geometry
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
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()
Computes and returns the surface area.
|
Point |
centroid()
Returns the centroid of the current surface.
|
Point |
pointOnSurface()
Returns a point that is located in the interior of this surface geometry.
|
asText, boundary, clone, createBounds, getBounds, getCenteredPoint, getGeometryId, getGeometryType, length, serialize, sizeOf, spatiallyEquals, spatiallyEquals, toString, transform, translate
static final long serialVersionUID
double area()
Point centroid()
Point pointOnSurface()