public class MultiLineString<P extends Position> extends GeometryCollection<P,LineString<P>> implements Linear
GeometryCollection of LineStrings.geometries| Constructor and Description |
|---|
MultiLineString(CoordinateReferenceSystem<P> crs) |
MultiLineString(LineString<P>... lineStrings)
Constructs a
MultiLineString from the specified LineStrings |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Geometry> |
getComponentType()
Returns the
Class of which all constituent Geometrys 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, components, getGeometryN, getNumGeometries, iteratorequals, forceToCrs, getCoordinateDimension, getCoordinateReferenceSystem, getCrs, getEnvelope, getNumPositions, getPositionClass, getPositionN, getPositions, getSRID, hashCode, isEmpty, nestPositionSequences, toString, writeReplaceclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic MultiLineString(LineString<P>... lineStrings)
MultiLineString from the specified LineStringslineStrings - the element LineStrings for the constructed MultiLineStringpublic MultiLineString(CoordinateReferenceSystem<P> crs)
public Position getStartPosition()
LinearGeometrygetStartPosition in interface LinearGeometrypublic Position getEndPosition()
LinearGeometrygetEndPosition in interface LinearGeometrypublic int getDimension()
GeometryGeometries.getDimension in class GeometryCollection<P extends Position,LineString<P extends Position>>public GeometryType getGeometryType()
GeometryGeometry.getGeometryType in class GeometryCollection<P extends Position,LineString<P extends Position>>GeometryType of this instance.public Class<? extends Geometry> getComponentType()
ComplexClass of which all constituent Geometrys 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 Geometrys are instances.Copyright © 2025 geolatte.org. All rights reserved.