public class MultiLineString extends GeometryCollection
geometries, points| Constructor and Description |
|---|
MultiLineString(LineString[] lineStrings)
Constructs a
MultiLineString from the specified LineStrings |
| Modifier and Type | Method and Description |
|---|---|
static MultiLineString |
createEmpty()
Constructs an empty
MultiLineString. |
int |
getDimension()
Returns the topological dimension of this instance.
|
LineString |
getGeometryN(int i)
Returns the
Geometry element at the specified (zero-based) position in this GeometryCollection. |
GeometryType |
getGeometryType()
Returns the type of this
Geometry. |
double |
getLength() |
boolean |
isClosed() |
accept, getNumGeometries, getPoints, iteratorasBinary, asText, buffer, collectPointSets, contains, convexHull, crosses, difference, disjoint, distance, equals, getBoundary, getCoordinateDimension, getCrsId, getCrsId, getDimensionalFlag, getEnvelope, getGeometryOperations, getGeometryOperations, getNumPoints, getPointN, getSRID, hashCode, intersection, intersects, is3D, isEmpty, isMeasured, isSimple, locateAlong, locateBetween, overlaps, relate, symDifference, toString, touches, union, withinclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic MultiLineString(LineString[] lineStrings)
MultiLineString from the specified LineStringslineStrings - the element LineStrings for the constructed MultiLineStringpublic static MultiLineString createEmpty()
MultiLineString.MultiLineString.public LineString getGeometryN(int i)
GeometryCollectionGeometry element at the specified (zero-based) position in this GeometryCollection.getGeometryN in class GeometryCollectioni - the position in the collection of the requested GeometryGeometry at the position specified by the num parameter.public double getLength()
public boolean isClosed()
public int getDimension()
GeometryGeometries.getDimension in class GeometryCollectionpublic GeometryType getGeometryType()
GeometryGeometry.getGeometryType in class GeometryCollectionGeometryType of this instance.Copyright © 2015 geolatte.org. All rights reserved.