public class GeometryCollectionWrapper
extends com.vividsolutions.jts.geom.GeometryCollection
| Modifier and Type | Field and Description |
|---|---|
protected PersistentGeometryWrapper[] |
geometries
Internal representation of this
GeometryCollection. |
| Constructor and Description |
|---|
GeometryCollectionWrapper(PersistentGeometryWrapper[] geometries,
com.vividsolutions.jts.geom.GeometryFactory factory)
Creates a new GeometryCollectionWrapper object.
|
GeometryCollectionWrapper(PersistentGeometryWrapper[] geometries,
com.vividsolutions.jts.geom.PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(com.vividsolutions.jts.geom.CoordinateFilter filter) |
void |
apply(com.vividsolutions.jts.geom.CoordinateSequenceFilter filter) |
void |
apply(com.vividsolutions.jts.geom.GeometryComponentFilter filter) |
void |
apply(com.vividsolutions.jts.geom.GeometryFilter filter) |
Object |
clone()
Creates and returns a full copy of this
GeometryCollection object. |
protected int |
compareToSameClass(Object o) |
protected int |
compareToSameClass(Object o,
com.vividsolutions.jts.geom.CoordinateSequenceComparator comp) |
protected com.vividsolutions.jts.geom.Envelope |
computeEnvelopeInternal() |
boolean |
equalsExact(com.vividsolutions.jts.geom.Geometry other,
double tolerance) |
double |
getArea()
Returns the area of this
GeometryCollection. |
com.vividsolutions.jts.geom.Geometry |
getBoundary() |
int |
getBoundaryDimension() |
com.vividsolutions.jts.geom.Coordinate |
getCoordinate() |
com.vividsolutions.jts.geom.Coordinate[] |
getCoordinates()
Collects all coordinates of all subgeometries into an Array.
|
int |
getDimension() |
com.vividsolutions.jts.geom.Geometry |
getGeometryN(int n) |
String |
getGeometryType() |
double |
getLength() |
int |
getNumGeometries() |
int |
getNumPoints() |
boolean |
isEmpty() |
void |
normalize() |
com.vividsolutions.jts.geom.Geometry |
reverse()
Creates a
GeometryCollection with every component reversed. |
buffer, buffer, buffer, checkNotGeometryCollection, compare, compareTo, compareTo, contains, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, equal, equals, equals, equalsExact, equalsNorm, equalsTopo, geometryChanged, geometryChangedAction, getCentroid, getEnvelope, getEnvelopeInternal, getFactory, getInteriorPoint, getPrecisionModel, getSRID, getUserData, hashCode, hasNonEmptyElements, hasNullElements, intersection, intersects, isEquivalentClass, isGeometryCollection, isRectangle, isSimple, isValid, isWithinDistance, norm, overlaps, relate, relate, setSRID, setUserData, symDifference, toString, toText, touches, union, union, withinprotected PersistentGeometryWrapper[] geometries
GeometryCollection.public GeometryCollectionWrapper(PersistentGeometryWrapper[] geometries, com.vividsolutions.jts.geom.GeometryFactory factory)
geometries - the Geometrys for this GeometryCollection, or null or
an empty array to create the empty geometry. Elements may be empty Geometrys,
but not nulls.factory - DOCUMENT ME!IllegalArgumentException - DOCUMENT ME!public GeometryCollectionWrapper(PersistentGeometryWrapper[] geometries, com.vividsolutions.jts.geom.PrecisionModel precisionModel, int SRID)
geometries - DOCUMENT ME!precisionModel - DOCUMENT ME!SRID - DOCUMENT ME!public com.vividsolutions.jts.geom.Coordinate getCoordinate()
getCoordinate in class com.vividsolutions.jts.geom.GeometryCollectionpublic com.vividsolutions.jts.geom.Coordinate[] getCoordinates()
Note that while changes to the coordinate objects themselves may modify the Geometries in place, the returned Array as such is only a temporary container which is not synchronized back.
getCoordinates in class com.vividsolutions.jts.geom.GeometryCollectionpublic boolean isEmpty()
isEmpty in class com.vividsolutions.jts.geom.GeometryCollectionpublic int getDimension()
getDimension in class com.vividsolutions.jts.geom.GeometryCollectionpublic int getBoundaryDimension()
getBoundaryDimension in class com.vividsolutions.jts.geom.GeometryCollectionpublic int getNumGeometries()
getNumGeometries in class com.vividsolutions.jts.geom.GeometryCollectionpublic com.vividsolutions.jts.geom.Geometry getGeometryN(int n)
getGeometryN in class com.vividsolutions.jts.geom.GeometryCollectionpublic int getNumPoints()
getNumPoints in class com.vividsolutions.jts.geom.GeometryCollectionpublic String getGeometryType()
getGeometryType in class com.vividsolutions.jts.geom.GeometryCollectionpublic com.vividsolutions.jts.geom.Geometry getBoundary()
getBoundary in class com.vividsolutions.jts.geom.GeometryCollectionpublic double getArea()
GeometryCollection.getArea in class com.vividsolutions.jts.geom.GeometryCollectionpublic double getLength()
getLength in class com.vividsolutions.jts.geom.GeometryCollectionpublic boolean equalsExact(com.vividsolutions.jts.geom.Geometry other,
double tolerance)
equalsExact in class com.vividsolutions.jts.geom.GeometryCollectionpublic void apply(com.vividsolutions.jts.geom.CoordinateFilter filter)
apply in class com.vividsolutions.jts.geom.GeometryCollectionpublic void apply(com.vividsolutions.jts.geom.CoordinateSequenceFilter filter)
apply in class com.vividsolutions.jts.geom.GeometryCollectionpublic void apply(com.vividsolutions.jts.geom.GeometryFilter filter)
apply in class com.vividsolutions.jts.geom.GeometryCollectionpublic void apply(com.vividsolutions.jts.geom.GeometryComponentFilter filter)
apply in class com.vividsolutions.jts.geom.GeometryCollectionpublic Object clone()
GeometryCollection object. (including all coordinates contained
by it).clone in class com.vividsolutions.jts.geom.GeometryCollectionpublic void normalize()
normalize in class com.vividsolutions.jts.geom.GeometryCollectionprotected com.vividsolutions.jts.geom.Envelope computeEnvelopeInternal()
computeEnvelopeInternal in class com.vividsolutions.jts.geom.GeometryCollectionprotected int compareToSameClass(Object o)
compareToSameClass in class com.vividsolutions.jts.geom.GeometryCollectionprotected int compareToSameClass(Object o, com.vividsolutions.jts.geom.CoordinateSequenceComparator comp)
compareToSameClass in class com.vividsolutions.jts.geom.GeometryCollectionpublic com.vividsolutions.jts.geom.Geometry reverse()
GeometryCollection with every component reversed. The order of the components in the collection
are not reversed.reverse in class com.vividsolutions.jts.geom.GeometryCollectionGeometryCollection in the reverse orderCopyright © 2012–2026 cismet GmbH. All rights reserved.