Package org.gvsig.fmap.geom.aggregate
Interface Aggregate
- All Superinterfaces:
Cloneable,Comparable,Geometry,org.gvsig.tools.util.GetItem<Geometry>,org.gvsig.tools.util.IsEmpty,Iterable<Geometry>,Serializable,Shape,org.gvsig.tools.util.Size
- All Known Subinterfaces:
MultiCurve,MultiLine,MultiPoint,MultiPolygon,MultiPrimitive,MultiSolid,MultiSurface
public interface Aggregate
extends Geometry, Iterable<Geometry>, org.gvsig.tools.util.IsEmpty, org.gvsig.tools.util.Size, org.gvsig.tools.util.GetItem<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:
- gvSIG team
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gvsig.fmap.geom.Geometry
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus -
Field Summary
Fields inherited from interface org.gvsig.fmap.geom.Geometry
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W -
Method Summary
Modifier and TypeMethodDescriptiongetPrimitiveAt(int i) Returns one of thePrimitive's that is in a concrete position.intReturns the number ofPrimitive's that composes this multi geometry.Returns a Primitive that is the intersection of all the geometries of the Aggregate.union()Returns a Primitive that is the union of all the geometries of the Aggregate.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.gvsig.fmap.geom.Geometry
area, boundary, buffer, buffer, canBeReprojected, canBeTransformed, centroid, clone, cloneGeometry, closestPoints, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, fix, flip, force2D, forceSubtype, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getProjection, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, offset, offset, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPoints, toPolygons, touches, transform, union, withinMethods inherited from interface org.gvsig.tools.util.GetItem
getMethods inherited from interface org.gvsig.tools.util.IsEmpty
isEmptyMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, intersectsMethods inherited from interface org.gvsig.tools.util.Size
size
-
Method Details
-
getPrimitivesNumber
int getPrimitivesNumber()Returns the number ofPrimitive's that composes this multi geometry.- Returns:
- the number of
Primitive's that composes this multi geometry.
-
getPrimitiveAt
Returns one of thePrimitive's that is in a concrete position.- Parameters:
i- Geometry position.- Returns:
- A simple geometry.
-
union
Returns a Primitive that is the union of all the geometries of the Aggregate.- Returns:
- the union of all aggregteds
- Throws:
GeometryOperationExceptionGeometryOperationNotSupportedException
-
intersection
Returns a Primitive that is the intersection of all the geometries of the Aggregate.- Returns:
- the union of all aggregteds
- Throws:
GeometryOperationExceptionGeometryOperationNotSupportedException
-