public class MultiLineString extends MultiCurve
bounds, geometriesGEOMETRY_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 and Description |
|---|
MultiLineString() |
MultiLineString(LineString[] curves) |
| Modifier and Type | Method and Description |
|---|---|
MultiLineString |
clone()
Clones this geometry.
|
Point |
getCenteredPoint()
This method returns a point that is typically centered on the geometry.
|
LineString[] |
getCurves() |
short |
getGeometryId()
Returns the geometry class id.
|
int |
getGeometryType()
Returns the geometry type for this geometry.
|
boolean |
isClosed() |
double |
length()
Returns the geometry length.
|
LineGeometryIterator |
lineIterator() |
Point[] |
serialize()
Returns this geometry as an array of Point.
|
void |
setCurves(LineString[] curves) |
void |
setGeometries(Geometry[] geometries) |
java.lang.String |
toString()
Returns informations about the current geometry.
|
area, boundary, createBounds, equals, fit, geometryN, getBounds, getGeometries, getGeometryCount, hashCode, keepLineString, keepLineString, keepPoint, keepPoint, keepPolygon, keepPolygon, numGeometries, sizeOf, spatiallyEquals, transform, translate, validateasText, spatiallyEqualsfinalize, getClass, notify, notifyAll, wait, wait, waitarea, asText, boundary, createBounds, getBounds, sizeOf, spatiallyEquals, spatiallyEquals, transform, translatepublic MultiLineString()
public MultiLineString(LineString[] curves)
public MultiLineString clone()
GeometryCollectionclone in interface Geometryclone in class GeometryCollectionpublic Point[] serialize()
serialize in interface Geometryserialize in class GeometryCollectionpublic boolean isClosed()
isClosed in interface LineTypeGeometryisClosed in class MultiCurvepublic double length()
length in interface Geometrylength in class MultiCurvepublic void setGeometries(Geometry[] geometries)
setGeometries in class GeometryCollectionpublic LineString[] getCurves()
public void setCurves(LineString[] curves)
curves - public LineGeometryIterator lineIterator()
public java.lang.String toString()
Geometrypublic short getGeometryId()
public int getGeometryType()
for more details.public Point getCenteredPoint()