Package com.kheops.jmap.spatial
Class MultiCurve
java.lang.Object
com.kheops.jmap.spatial.DefaultGeometry
com.kheops.jmap.spatial.GeometryCollection
com.kheops.jmap.spatial.MultiCurve
- All Implemented Interfaces:
Geometry
,LineTypeGeometry
,Serializable
,Cloneable
- Direct Known Subclasses:
MultiLineString
This abstract class represent a collection of curves
- See Also:
-
Field Summary
Fields inherited from class com.kheops.jmap.spatial.GeometryCollection
bounds, geometries
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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.kheops.jmap.spatial.GeometryCollection
area, boundary, clone, createBounds, equals, fit, geometryN, getBounds, getGeometries, getGeometryCount, hashCode, keepLineString, keepLineString, keepPoint, keepPoint, keepPolygon, keepPolygon, numGeometries, serialize, setGeometries, sizeOf, spatiallyEquals, transform, translate, validate
Methods inherited from class com.kheops.jmap.spatial.DefaultGeometry
asText, spatiallyEquals
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.kheops.jmap.spatial.Geometry
area, asText, boundary, clone, createBounds, getBounds, getCenteredPoint, getGeometryId, getGeometryType, serialize, sizeOf, spatiallyEquals, spatiallyEquals, toString, transform, translate
Methods inherited from interface com.kheops.jmap.spatial.LineTypeGeometry
lineIterator
-
Constructor Details
-
MultiCurve
public MultiCurve()
-
-
Method Details
-
isClosed
public abstract boolean isClosed()- Specified by:
isClosed
in interfaceLineTypeGeometry
-
length
public abstract double length()Description copied from interface:Geometry
Returns the geometry length. If the geometry is a surface, then the geometry perimeter shall be returned.- Specified by:
length
in interfaceGeometry
- Overrides:
length
in classGeometryCollection
- Returns:
- the geometry length.
-