public interface Curve 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 |
|---|---|
Curve |
clone()
Clones this geometry.
|
Point |
endPoint()
The last point of the curve
|
boolean |
isClosed()
Tests if the curve is closed (endPoint equals startPoint)
|
boolean |
isRing()
Tests if the curve is closed and simple (doesn't intersect itself)
|
double |
length()
The length of the curve
|
Point |
startPoint()
The first point of the curve
|
area, asText, boundary, createBounds, getBounds, getCenteredPoint, getGeometryId, getGeometryType, serialize, sizeOf, spatiallyEquals, spatiallyEquals, toString, transform, translatestatic final long serialVersionUID
Curve clone()
Point startPoint()
Point endPoint()
boolean isClosed()
boolean isRing()