public class MultiLineString<P extends Position> extends GeometryCollection<P,LineString<P>> implements Linear
GeometryCollection
of LineString
s.geometries
Constructor and Description |
---|
MultiLineString(CoordinateReferenceSystem<P> crs) |
MultiLineString(LineString<P>... lineStrings)
Constructs a
MultiLineString from the specified LineString s |
Modifier and Type | Method and Description |
---|---|
Class<? extends Geometry> |
getComponentType()
Returns the
Class of which all constituent Geometry s are instances. |
int |
getDimension()
Returns the topological dimension of this instance.
|
Position |
getEndPosition()
Returns the end position of the linear
Geometry |
GeometryType |
getGeometryType()
Returns the type of this
Geometry . |
Position |
getStartPosition()
Returns the start position of the linear
Geometry |
accept, getGeometryN, getNumGeometries, iterator
equals, forceToCrs, getCoordinateDimension, getCoordinateReferenceSystem, getCrs, getEnvelope, getNumPositions, getPositionClass, getPositionN, getPositions, getSRID, hashCode, isEmpty, nestPositionSequences, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public MultiLineString(LineString<P>... lineStrings)
MultiLineString
from the specified LineString
slineStrings
- the element LineString
s for the constructed MultiLineString
public MultiLineString(CoordinateReferenceSystem<P> crs)
public Position getStartPosition()
Linear
Geometry
getStartPosition
in interface Linear
Geometry
public Position getEndPosition()
Linear
Geometry
getEndPosition
in interface Linear
Geometry
public int getDimension()
Geometry
Geometries
.getDimension
in class GeometryCollection<P extends Position,LineString<P extends Position>>
public GeometryType getGeometryType()
Geometry
Geometry
.getGeometryType
in class GeometryCollection<P extends Position,LineString<P extends Position>>
GeometryType
of this instance.public Class<? extends Geometry> getComponentType()
Complex
Class
of which all constituent Geometry
s are instances.getComponentType
in interface Complex<P extends Position,LineString<P extends Position>>
getComponentType
in class GeometryCollection<P extends Position,LineString<P extends Position>>
Class
of which all constituent Geometry
s are instances.Copyright © 2015 geolatte.org. All rights reserved.