org.gvsig.fmap.geom.aggregate
Interface Aggregate

All Superinterfaces:
Comparable, Geometry, Serializable, Shape
All Known Subinterfaces:
CompositeSurface, MultiCurve, MultiPoint, MultiPrimitive, MultiSolid, MultiSurface
All Known Implementing Classes:
BaseMultiPrimitive, BaseMultiPrimitive2D, MultiCurve2D, MultiCurve2DZ, MultiPoint2D, MultiPoint2DZ, MultiSolid2DZ, MultiSurface2D, MultiSurface3D

public interface Aggregate
extends Geometry

This interface is equivalent to the GM_Aggregate specified in ISO 19107. The aggregates gather geometric objects. Since they will often use orientation modification, the curve reference and surface references do not go directly to the Curve and Surface, but are directed to OrientableCurve and OrientableSurface.

Most geometric objects are contained in features, and cannot be held in collections that are strong aggregations. For this reason, the collections described on this package are all weak aggregations, and shall use references to include geometric objects.

Author:
Jorge Piera
See Also:
ISO 19107

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gvsig.fmap.geom.Geometry
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES
 
Field Summary
 
Fields inherited from interface org.gvsig.fmap.geom.Geometry
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
 
Method Summary
 Primitive getPrimitiveAt(int i)
          Returns one of the Primitive's that is in a concrete position.
 int getPrimitivesNumber()
          Returns the number of Primitive's that composes this multi geometry.
 
Methods inherited from interface org.gvsig.fmap.geom.Geometry
area, buffer, centroid, cloneGeometry, contains, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, fastIntersects, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, intersection, intersects, intersects, invokeOperation, invokeOperation, isSimple, overlaps, perimeter, reProject, touches, transform, union, within
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, intersects
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getPrimitivesNumber

int getPrimitivesNumber()
Returns the number of Primitive's that composes this multi geometry.

Returns:
the number of Primitive's that composes this multi geometry.

getPrimitiveAt

Primitive getPrimitiveAt(int i)
Returns one of the Primitive's that is in a concrete position.

Parameters:
i - Geometry position.
Returns:
A simple geometry.


Copyright © 2004-2012 gvSIG. All Rights Reserved.