public class MultiLineString<P extends Position> extends AbstractGeometryCollection<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 |
|---|---|
<Q extends Position> |
as(Class<Q> castToType) |
Class<? extends Geometry> |
getComponentType()
Returns the
Class of which all constituent Geometrys are instances. |
int |
getDimension()
Returns the topological dimension of this instance.
|
P |
getEndPosition()
Returns the end position of the linear
Geometry |
GeometryType |
getGeometryType()
Returns the type of this
Geometry. |
P |
getStartPosition()
Returns the start position of the linear
Geometry |
accept, components, getGeometryN, getNumGeometries, iteratorcheckCast, equals, forceToCrs, forceToCrs, getBoundingBox, getCoordinateDimension, getCoordinateReferenceSystem, getCrs, getEnvelope, getNumPositions, getPositionClass, getPositionN, getPositions, getSRID, hashCode, hasM, hasZ, isEmpty, nestPositionSequences, toCrs, 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 P getStartPosition()
LinearGeometrygetStartPosition in interface LinearGeometrypublic P getEndPosition()
LinearGeometrygetEndPosition in interface LinearGeometrypublic int getDimension()
GeometryGeometries.getDimension in class AbstractGeometryCollection<P extends Position,LineString<P extends Position>>public GeometryType getGeometryType()
GeometryGeometry.getGeometryType in class AbstractGeometryCollection<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 AbstractGeometryCollection<P extends Position,LineString<P extends Position>>Class of which all constituent Geometrys are instances.Copyright © 2023 geolatte.org. All rights reserved.