public class MultiLineStringImpl extends AbstractMultiLineString implements MultiLineString
Any collection of LineStrings is a valid MultiLineString.
| Constructor and Description |
|---|
MultiLineStringImpl(GeometryFactory geometryFactory) |
MultiLineStringImpl(GeometryFactory geometryFactory,
LineString... lines) |
| Modifier and Type | Method and Description |
|---|---|
<V extends Geometry> |
getGeometries() |
<V extends Geometry> |
getGeometry(int n)
Returns an element
Geometry from a GeometryCollection
(or this, if the geometry is not a collection). |
int |
getGeometryCount()
Returns the number of
Geometrys in a GeometryCollection
(or 1, if the geometry is not a collection). |
GeometryFactory |
getGeometryFactory()
Gets the geometryFactory which contains the context in which this geometry was created.
|
boolean |
isEmpty()
Tests whether the set of points covered by this
Geometry is
empty. |
MultiLineString |
prepare() |
copy, equalsExact, getBoundary, getBoundaryDimension, getBoundingBox, getDataType, getDimension, getLineString, getLineStrings, getSegment, getToVertex, getUserData, getVertex, isClosed, isEquivalentClass, moveVertex, normalize, reverse, segments, setUserData, verticesappendVertex, clone, compareToSameClass, computeBoundingBox, deleteVertex, doEquals, geometries, getArea, getGeometries, getGeometryComponents, getLength, getPoint, getPointWithin, getVertexCount, insertVertex, intersects, move, toClockwise, toCounterClockwisebuffer, buffer, buffer, checkNotGeometryCollection, compare, compareTo, contains, containsProperly, convert, convert, convexHull, coveredBy, covers, createVertexId, crosses, difference, disjoint, distance, envelopeCovers, envelopesIntersect, equal, equals, equals, equals, equalsExact, equalsNorm, equalsTopo, getAxisCount, getCentroid, getClassSortIndex, getCoordinateSystem, getEnvelope, getGeometryType, getInteriorPoint, getNonZeroGeometryFactory, getSrid, getVertexIndex, hashCode, hasInvalidXyCoordinates, hasNonEmptyElements, hasNullElements, intersection, intersects, isAnyTargetComponentInTest, isGeometryCollection, isRectangle, isSimple, isValid, isWithinDistance, overlaps, relate, relate, setVertexIndex, symDifference, toString, touches, toWkt, union, union, withinfinalize, getClass, notify, notifyAll, wait, wait, waitgetLineString, getLineStrings, isClosed, normalize, reversecloneappendVertex, buffer, buffer, buffer, compareTo, compareToSameClass, contains, containsProperly, convert, convert, convexHull, copy, coveredBy, covers, crosses, deleteVertex, difference, disjoint, distance, equal, equals, equals, equals, equalsExact, equalsExact, equalsNorm, equalsTopo, geometries, getArea, getAxisCount, getBoundary, getBoundaryDimension, getBoundingBox, getCentroid, getClassSortIndex, getCoordinateSystem, getDimension, getEnvelope, getGeometries, getGeometryComponents, getGeometryType, getInteriorPoint, getLength, getPoint, getPointWithin, getSegment, getSrid, getToVertex, getUserData, getVertex, getVertexCount, hashCode, hasInvalidXyCoordinates, insertVertex, intersection, intersects, intersects, isRectangle, isSimple, isValid, isWithinDistance, move, moveVertex, overlaps, relate, relate, segments, setUserData, symDifference, toClockwise, toCounterClockwise, touches, toWkt, union, union, vertices, withingetDataTypepublic MultiLineStringImpl(GeometryFactory geometryFactory)
public MultiLineStringImpl(GeometryFactory geometryFactory, LineString... lines)
public <V extends Geometry> List<V> getGeometries()
getGeometries in interface GeometrygetGeometries in class AbstractGeometrypublic <V extends Geometry> V getGeometry(int n)
AbstractGeometryGeometry from a GeometryCollection
(or this, if the geometry is not a collection).getGeometry in interface GeometrygetGeometry in class AbstractGeometryn - the index of the geometry elementpublic int getGeometryCount()
AbstractGeometryGeometrys in a GeometryCollection
(or 1, if the geometry is not a collection).getGeometryCount in interface GeometrygetGeometryCount in class AbstractGeometrypublic GeometryFactory getGeometryFactory()
GeometrygetGeometryFactory in interface GeometrygetGeometryFactory in class AbstractGeometrypublic boolean isEmpty()
AbstractGeometryGeometry is
empty.isEmpty in interface GeometryisEmpty in class AbstractGeometryCollectiontrue if this Geometry does not cover any pointspublic MultiLineString prepare()
prepare in interface Geometryprepare in interface MultiLineStringCopyright © 2015 Revolution Systems Inc.. All rights reserved.