public class MultiLineString extends GeometryCollection
geometries, points
Constructor and Description |
---|
MultiLineString(LineString[] lineStrings)
Constructs a
MultiLineString from the specified LineString s |
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, iterator
asBinary, 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, within
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public MultiLineString(LineString[] lineStrings)
MultiLineString
from the specified LineString
slineStrings
- the element LineString
s for the constructed MultiLineString
public static MultiLineString createEmpty()
MultiLineString
.MultiLineString
.public LineString getGeometryN(int i)
GeometryCollection
Geometry
element at the specified (zero-based) position in this GeometryCollection
.getGeometryN
in class GeometryCollection
i
- the position in the collection of the requested Geometry
Geometry
at the position specified by the num parameter.public double getLength()
public boolean isClosed()
public int getDimension()
Geometry
Geometries
.getDimension
in class GeometryCollection
public GeometryType getGeometryType()
Geometry
Geometry
.getGeometryType
in class GeometryCollection
GeometryType
of this instance.Copyright © 2015 geolatte.org. All rights reserved.