public class OGCConcreteGeometryCollection extends OGCGeometryCollection
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
esriSR| Constructor and Description |
|---|
OGCConcreteGeometryCollection(GeometryCursor geoms,
SpatialReference sr) |
OGCConcreteGeometryCollection(List<OGCGeometry> geoms,
SpatialReference sr) |
OGCConcreteGeometryCollection(OGCGeometry geom,
SpatialReference sr) |
OGCConcreteGeometryCollection(SpatialReference sr) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
asBinary() |
String |
asGeoJson() |
String |
asJson() |
String |
asText() |
OGCGeometry |
boundary() |
boolean |
contains(OGCGeometry another) |
OGCGeometry |
convertToMulti()
Converts this Geometry to the OGCMulti* if it is not OGCMulti* or
OGCGeometryCollection already.
|
OGCGeometry |
convexHull() |
int |
coordinateDimension() |
boolean |
crosses(OGCGeometry another) |
OGCGeometry |
difference(OGCGeometry another) |
int |
dimension() |
boolean |
disjoint(OGCGeometry another) |
double |
distance(OGCGeometry another) |
OGCGeometry |
envelope() |
boolean |
equals(Object other) |
boolean |
Equals(OGCGeometry another)
OGC equals.
|
long |
estimateMemorySize()
Returns an estimate of this object size in bytes.
|
OGCConcreteGeometryCollection |
flatten()
Flattens Geometry Collection.
|
OGCConcreteGeometryCollection |
flattenAndRemoveOverlaps()
Fixes topological overlaps in the GeometryCollecion.
|
OGCGeometry |
geometryN(int n)
Returns the Nth geometry in this GeometryCollection.
|
String |
geometryType() |
Geometry |
getEsriGeometry() |
GeometryCursor |
getEsriGeometryCursor() |
int |
hashCode() |
OGCGeometry |
intersection(OGCGeometry another) |
boolean |
is3D() |
protected boolean |
isConcreteGeometryCollection() |
boolean |
isEmpty() |
boolean |
isFlattened()
Checks if collection is flattened.
|
boolean |
isMeasured() |
boolean |
isSimple()
Returns true if this geometric object has no anomalous geometric points,
such as self intersection or self tangency.
|
boolean |
isSimpleRelaxed()
Extension method - checks if geometry is simple for Geodatabase.
|
OGCGeometry |
locateAlong(double mValue) |
OGCGeometry |
locateBetween(double mStart,
double mEnd) |
OGCGeometry |
makeSimple()
makeSimpleRelaxed is not supported for the GeometryCollection instance.
|
OGCGeometry |
makeSimpleRelaxed(boolean forceProcessing)
makeSimpleRelaxed is not supported for the GeometryCollection instance.
|
double |
MaxMeasure() |
double |
MaxZ() |
double |
MinMeasure() |
double |
MinZ() |
int |
numGeometries()
Returns the number of geometries in this GeometryCollection.
|
boolean |
overlaps(OGCGeometry another) |
OGCGeometry |
reduceFromMulti()
For the geometry collection types, when it has 1 or 0 elements, converts a MultiPolygon to Polygon,
MultiPoint to Point, MultiLineString to a LineString, and
OGCConcretGeometryCollection to the reduced element it contains.
|
boolean |
relate(OGCGeometry another,
String matrix) |
void |
setSpatialReference(SpatialReference esriSR_) |
OGCGeometry |
symDifference(OGCGeometry another) |
boolean |
touches(OGCGeometry another) |
buffer, centroid, createFromEsriCursor, createFromEsriCursor, createFromEsriGeometry, createFromEsriGeometry, createFromOGCStructure, equals, fromBinary, fromEsriShape, fromGeoJson, fromJson, fromText, getEsriSpatialReference, intersects, MakeSimpleRelaxed, SRID, toString, union, withinpublic static String TYPE
public OGCConcreteGeometryCollection(List<OGCGeometry> geoms, SpatialReference sr)
public OGCConcreteGeometryCollection(GeometryCursor geoms, SpatialReference sr)
public OGCConcreteGeometryCollection(OGCGeometry geom, SpatialReference sr)
public OGCConcreteGeometryCollection(SpatialReference sr)
public int dimension()
dimension in class OGCGeometrypublic int coordinateDimension()
coordinateDimension in class OGCGeometrypublic boolean is3D()
is3D in class OGCGeometrypublic boolean isMeasured()
isMeasured in class OGCGeometrypublic OGCGeometry envelope()
envelope in class OGCGeometrypublic int numGeometries()
OGCGeometryCollectionnumGeometries in class OGCGeometryCollectionpublic OGCGeometry geometryN(int n)
OGCGeometryCollectiongeometryN in class OGCGeometryCollectionn - The 0 based index of the geometry.public String geometryType()
geometryType in class OGCGeometrypublic long estimateMemorySize()
OGCGeometry
This estimate doesn't include the size of the SpatialReference object
because instances of SpatialReference are expected to be shared among
geometry objects.
estimateMemorySize in class OGCGeometrypublic String asText()
asText in class OGCGeometrypublic ByteBuffer asBinary()
asBinary in class OGCGeometrypublic String asGeoJson()
asGeoJson in class OGCGeometrypublic boolean isEmpty()
isEmpty in class OGCGeometrypublic double MinZ()
MinZ in class OGCGeometrypublic double MaxZ()
MaxZ in class OGCGeometrypublic double MinMeasure()
MinMeasure in class OGCGeometrypublic double MaxMeasure()
MaxMeasure in class OGCGeometrypublic boolean isSimple()
OGCGeometryisSimple in class OGCGeometrypublic OGCGeometry makeSimple()
makeSimple in class OGCGeometrypublic boolean isSimpleRelaxed()
OGCGeometryisSimpleRelaxed in class OGCGeometrypublic OGCGeometry makeSimpleRelaxed(boolean forceProcessing)
makeSimpleRelaxed in class OGCGeometrypublic OGCGeometry boundary()
boundary in class OGCGeometrypublic OGCGeometry locateAlong(double mValue)
locateAlong in class OGCGeometrypublic OGCGeometry locateBetween(double mStart, double mEnd)
locateBetween in class OGCGeometrypublic Geometry getEsriGeometry()
getEsriGeometry in class OGCGeometrypublic GeometryCursor getEsriGeometryCursor()
getEsriGeometryCursor in class OGCGeometryprotected boolean isConcreteGeometryCollection()
isConcreteGeometryCollection in class OGCGeometrypublic OGCGeometry convexHull()
convexHull in class OGCGeometrypublic void setSpatialReference(SpatialReference esriSR_)
setSpatialReference in class OGCGeometrypublic OGCGeometry convertToMulti()
OGCGeometryconvertToMulti in class OGCGeometrypublic OGCGeometry reduceFromMulti()
OGCGeometryreduceFromMulti in class OGCGeometrypublic String asJson()
asJson in class OGCGeometrypublic boolean equals(Object other)
equals in class OGCGeometrypublic int hashCode()
hashCode in class OGCGeometrypublic double distance(OGCGeometry another)
distance in class OGCGeometrypublic boolean overlaps(OGCGeometry another)
overlaps in class OGCGeometrypublic boolean touches(OGCGeometry another)
touches in class OGCGeometrypublic boolean crosses(OGCGeometry another)
crosses in class OGCGeometrypublic boolean relate(OGCGeometry another, String matrix)
relate in class OGCGeometrypublic boolean disjoint(OGCGeometry another)
disjoint in class OGCGeometrypublic boolean contains(OGCGeometry another)
contains in class OGCGeometrypublic boolean Equals(OGCGeometry another)
OGCGeometryEquals in class OGCGeometrypublic OGCGeometry difference(OGCGeometry another)
difference in class OGCGeometrypublic OGCGeometry intersection(OGCGeometry another)
intersection in class OGCGeometrypublic OGCGeometry symDifference(OGCGeometry another)
symDifference in class OGCGeometrypublic boolean isFlattened()
public OGCConcreteGeometryCollection flatten()
public OGCConcreteGeometryCollection flattenAndRemoveOverlaps()
Copyright © 2018. All rights reserved.