|
Spatial DataBlade JAVA API v8.21 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GeometryCollection
A GeometryCollection is a geometry that is a collection of 1 or more geometries. All the elements in a GeometryCollection must be defined in the same spatial reference, which is also the spatial reference of this GeometryCollection.
GeometryCollection places no other constraints on its elements. Subclasses of GeometryCollection may restrict membership based on dimension and may also place other constraints.
Method Summary | |
---|---|
Geometry |
geometryN(int index)
Returns the Geometry at the specified position in this collection. |
int |
numGeometries()
Returns the number of Geometries in this collection. |
Methods inherited from interface com.ibm.spatial.geom.Geometry |
---|
asBinary, asText, boundary, buffer, contains, convexHull, crosses, difference, dimension, disjoint, distance, envelope, envelopesIntersect, equals, extent, exterior, interior, intersection, intersects, is3D, isEmpty, isMeasured, isSimple, isValid, locateAlong, locateBetween, numPoints, overlaps, srid, symmetricDiff, touches, union, within |
Method Detail |
---|
Geometry geometryN(int index) throws SpatialException
index
- index of element to return.
java.lang.IndexOutOfBoundsException
- if the index is out of range (index
< 0 || index >= numGeometries()).
SpatialException
- wrapping another exceptionint numGeometries()
|
Spatial DataBlade JAVA API v8.21 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |