com.esri.sde.sdk.geom
Interface GeometryCollection

All Superinterfaces:
Geometry
All Known Subinterfaces:
MultiCurve, MultiLinestring, MultiPoint, MultiPolygon, MultiSurface
All Known Implementing Classes:
SeGeometryCollection, SeMultiCurve, SeMultiLinestring, SeMultiPoint, SeMultiPolygon, SeMultiSurface

public interface GeometryCollection
extends Geometry

The GeometryCollection interface defines the methods for a class whose instances create a geometric object which is a collection of one or more geometric objects. All the elements in a GeometryCollection share a common Spatial Reference.


Method Summary
 Geometry geometryN(int n)
          Geometryn takes a collection and an integer index and returns the nth geometry object in the collection.
 int numGeometries()
          Numgeometries takes a collection and returns the number of geometries in the collection.
 
Methods inherited from interface com.esri.sde.sdk.geom.Geometry
asBinary, asText, boundary, buffer, contains, convexhull, crosses, difference, dimension, disjoint, distance, envelope, envelopesIntersect, equal, exterior, geometryType, interior, intersect, intersection, is3D, isEmpty, isMeasured, isSimple, isValid, locateAlong, locateBetween, numPoints, overlap, srid, symmetricDiff, touch, union, within
 

Method Detail

numGeometries

int numGeometries()
                  throws GeometryException
Numgeometries takes a collection and returns the number of geometries in the collection.

Throws:
GeometryException

geometryN

Geometry geometryN(int n)
                   throws GeometryException
Geometryn takes a collection and an integer index and returns the nth geometry object in the collection.

Throws:
GeometryException