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, within
public 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 OGCGeometry
public int coordinateDimension()
coordinateDimension
in class OGCGeometry
public boolean is3D()
is3D
in class OGCGeometry
public boolean isMeasured()
isMeasured
in class OGCGeometry
public OGCGeometry envelope()
envelope
in class OGCGeometry
public int numGeometries()
OGCGeometryCollection
numGeometries
in class OGCGeometryCollection
public OGCGeometry geometryN(int n)
OGCGeometryCollection
geometryN
in class OGCGeometryCollection
n
- The 0 based index of the geometry.public String geometryType()
geometryType
in class OGCGeometry
public 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 OGCGeometry
public String asText()
asText
in class OGCGeometry
public ByteBuffer asBinary()
asBinary
in class OGCGeometry
public String asGeoJson()
asGeoJson
in class OGCGeometry
public boolean isEmpty()
isEmpty
in class OGCGeometry
public double MinZ()
MinZ
in class OGCGeometry
public double MaxZ()
MaxZ
in class OGCGeometry
public double MinMeasure()
MinMeasure
in class OGCGeometry
public double MaxMeasure()
MaxMeasure
in class OGCGeometry
public boolean isSimple()
OGCGeometry
isSimple
in class OGCGeometry
public OGCGeometry makeSimple()
makeSimple
in class OGCGeometry
public boolean isSimpleRelaxed()
OGCGeometry
isSimpleRelaxed
in class OGCGeometry
public OGCGeometry makeSimpleRelaxed(boolean forceProcessing)
makeSimpleRelaxed
in class OGCGeometry
public OGCGeometry boundary()
boundary
in class OGCGeometry
public OGCGeometry locateAlong(double mValue)
locateAlong
in class OGCGeometry
public OGCGeometry locateBetween(double mStart, double mEnd)
locateBetween
in class OGCGeometry
public Geometry getEsriGeometry()
getEsriGeometry
in class OGCGeometry
public GeometryCursor getEsriGeometryCursor()
getEsriGeometryCursor
in class OGCGeometry
protected boolean isConcreteGeometryCollection()
isConcreteGeometryCollection
in class OGCGeometry
public OGCGeometry convexHull()
convexHull
in class OGCGeometry
public void setSpatialReference(SpatialReference esriSR_)
setSpatialReference
in class OGCGeometry
public OGCGeometry convertToMulti()
OGCGeometry
convertToMulti
in class OGCGeometry
public OGCGeometry reduceFromMulti()
OGCGeometry
reduceFromMulti
in class OGCGeometry
public String asJson()
asJson
in class OGCGeometry
public boolean equals(Object other)
equals
in class OGCGeometry
public int hashCode()
hashCode
in class OGCGeometry
public double distance(OGCGeometry another)
distance
in class OGCGeometry
public boolean overlaps(OGCGeometry another)
overlaps
in class OGCGeometry
public boolean touches(OGCGeometry another)
touches
in class OGCGeometry
public boolean crosses(OGCGeometry another)
crosses
in class OGCGeometry
public boolean relate(OGCGeometry another, String matrix)
relate
in class OGCGeometry
public boolean disjoint(OGCGeometry another)
disjoint
in class OGCGeometry
public boolean contains(OGCGeometry another)
contains
in class OGCGeometry
public boolean Equals(OGCGeometry another)
OGCGeometry
Equals
in class OGCGeometry
public OGCGeometry difference(OGCGeometry another)
difference
in class OGCGeometry
public OGCGeometry intersection(OGCGeometry another)
intersection
in class OGCGeometry
public OGCGeometry symDifference(OGCGeometry another)
symDifference
in class OGCGeometry
public boolean isFlattened()
public OGCConcreteGeometryCollection flatten()
public OGCConcreteGeometryCollection flattenAndRemoveOverlaps()
Copyright © 2018. All rights reserved.