com.esri.core.geometry.ogc
Class OGCConcreteGeometryCollection

java.lang.Object
  extended by com.esri.core.geometry.ogc.OGCGeometry
      extended by com.esri.core.geometry.ogc.OGCGeometryCollection
          extended by com.esri.core.geometry.ogc.OGCConcreteGeometryCollection

public class OGCConcreteGeometryCollection
extends OGCGeometryCollection


Field Summary
 
Fields inherited from class com.esri.core.geometry.ogc.OGCGeometry
esriSR
 
Constructor Summary
OGCConcreteGeometryCollection(List<OGCGeometry> geoms, SpatialReference sr)
           
OGCConcreteGeometryCollection(OGCGeometry geom, SpatialReference sr)
           
 
Method Summary
 ByteBuffer asBinary()
           
 String asText()
           
 OGCGeometry boundary()
           
 int coordinateDimension()
           
 int dimension()
           
 OGCGeometry envelope()
           
 OGCGeometry geometryN(int n)
          Returns the Nth geometry in this GeometryCollection.
 String geometryType()
           
 Geometry getEsriGeometry()
           
 GeometryCursor getEsriGeometryCursor()
           
 boolean is3D()
           
protected  boolean isConcreteGeometryCollection()
           
 boolean isEmpty()
           
 boolean isMeasured()
           
 boolean isSimple()
          Returns true if this geometric object has no anomalous geometric points, such as self intersection or self tangency.
 boolean isSimpleRelaxed()
          isSimpleRelaxed is not supported for the GeometryCollection instance.
 OGCGeometry locateAlong(double mValue)
           
 OGCGeometry locateBetween(double mStart, double mEnd)
           
 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.
 void setSpatialReference(SpatialReference esriSR_)
           
 
Methods inherited from class com.esri.core.geometry.ogc.OGCGeometry
asGeoJson, buffer, contains, convexHull, createFromEsriCursor, createFromEsriCursor, createFromEsriGeometry, createFromEsriGeometry, createFromOGCStructure, crosses, difference, disjoint, distance, equals, fromBinary, fromEsriShape, fromGeoJson, fromJson, fromText, getEsriSpatialReference, intersection, intersects, overlaps, relate, SRID, symDifference, touches, union, within
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OGCConcreteGeometryCollection

public OGCConcreteGeometryCollection(List<OGCGeometry> geoms,
                                     SpatialReference sr)

OGCConcreteGeometryCollection

public OGCConcreteGeometryCollection(OGCGeometry geom,
                                     SpatialReference sr)
Method Detail

dimension

public int dimension()
Overrides:
dimension in class OGCGeometry

coordinateDimension

public int coordinateDimension()
Overrides:
coordinateDimension in class OGCGeometry

is3D

public boolean is3D()
Overrides:
is3D in class OGCGeometry

isMeasured

public boolean isMeasured()
Overrides:
isMeasured in class OGCGeometry

envelope

public OGCGeometry envelope()
Overrides:
envelope in class OGCGeometry

numGeometries

public int numGeometries()
Description copied from class: OGCGeometryCollection
Returns the number of geometries in this GeometryCollection.

Specified by:
numGeometries in class OGCGeometryCollection

geometryN

public OGCGeometry geometryN(int n)
Description copied from class: OGCGeometryCollection
Returns the Nth geometry in this GeometryCollection.

Specified by:
geometryN in class OGCGeometryCollection
Parameters:
n - The 0 based index of the geometry.

geometryType

public String geometryType()
Specified by:
geometryType in class OGCGeometry

asText

public String asText()
Overrides:
asText in class OGCGeometry

asBinary

public ByteBuffer asBinary()
Overrides:
asBinary in class OGCGeometry

isEmpty

public boolean isEmpty()
Overrides:
isEmpty in class OGCGeometry

MinZ

public double MinZ()
Overrides:
MinZ in class OGCGeometry

MaxZ

public double MaxZ()
Overrides:
MaxZ in class OGCGeometry

MinMeasure

public double MinMeasure()
Overrides:
MinMeasure in class OGCGeometry

MaxMeasure

public double MaxMeasure()
Overrides:
MaxMeasure in class OGCGeometry

isSimple

public boolean isSimple()
Description copied from class: OGCGeometry
Returns true if this geometric object has no anomalous geometric points, such as self intersection or self tangency. See the "Simple feature access - Part 1" document (OGC 06-103r4) for meaning of "simple" for each geometry type. The method has O(n log n) complexity when the input geometry is simple. For non-simple geometries, it terminates immediately when the first issue is encountered.

Overrides:
isSimple in class OGCGeometry
Returns:
True if geometry is simple and false otherwise.

isSimpleRelaxed

public boolean isSimpleRelaxed()
isSimpleRelaxed is not supported for the GeometryCollection instance.

Overrides:
isSimpleRelaxed in class OGCGeometry
Returns:
Returns true if geometry is simple, false otherwise.

MakeSimpleRelaxed

public OGCGeometry MakeSimpleRelaxed(boolean forceProcessing)
MakeSimpleRelaxed is not supported for the GeometryCollection instance.

Overrides:
MakeSimpleRelaxed in class OGCGeometry
Returns:
Returns simplified geometry.

boundary

public OGCGeometry boundary()
Specified by:
boundary in class OGCGeometry

locateAlong

public OGCGeometry locateAlong(double mValue)
Specified by:
locateAlong in class OGCGeometry

locateBetween

public OGCGeometry locateBetween(double mStart,
                                 double mEnd)
Specified by:
locateBetween in class OGCGeometry

getEsriGeometry

public Geometry getEsriGeometry()
Specified by:
getEsriGeometry in class OGCGeometry

getEsriGeometryCursor

public GeometryCursor getEsriGeometryCursor()
Overrides:
getEsriGeometryCursor in class OGCGeometry

isConcreteGeometryCollection

protected boolean isConcreteGeometryCollection()
Overrides:
isConcreteGeometryCollection in class OGCGeometry

setSpatialReference

public void setSpatialReference(SpatialReference esriSR_)
Overrides:
setSpatialReference in class OGCGeometry


Copyright © 2013. All Rights Reserved.