public interface Aggregate extends Geometry, java.lang.Iterable<Geometry>, IsEmpty, Size, 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.
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
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
Modifier and Type | Method and Description |
---|---|
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. |
Geometry |
intersection()
Returns a Primitive that is the intersection of all the geometries of the Aggregate.
|
Geometry |
union()
Returns a Primitive that is the union of all the geometries of the Aggregate.
|
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, within
contains, contains, contains, contains, getBounds, intersects
isEmpty, isEmpty, isEmpty, isEmptyQuietly
int getPrimitivesNumber()
Primitive
's that composes
this multi geometry.Primitive
's that composes
this multi geometry.Primitive getPrimitiveAt(int i)
Primitive
's that is in
a concrete position.i
- Geometry position.Geometry union() throws GeometryOperationException, GeometryOperationNotSupportedException
GeometryOperationException
GeometryOperationNotSupportedException
Geometry intersection() throws GeometryOperationException, GeometryOperationNotSupportedException
GeometryOperationException
GeometryOperationNotSupportedException