public interface Complex extends Geometry, java.lang.Iterable<Geometry>, IsEmpty, Size, GetItem<Geometry>
This interface is equivalent to the GM_Complex specified in
ISO 19107.
A Complex is a collection of geometrically disjoint, simple Primitive's.
If a Primitive (other than a Point) is in a particular Complex,
then there exists a set of primitives of lower dimension in the same complex
that form the boundary of this primitive.
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatusBEST, 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 |
|---|---|
void |
addPrimitive(Primitive primitive)
Adds a new primitive to the primitive
|
void |
addPrimitives(Aggregate aggregate) |
void |
addPrimitives(Geometry geometry) |
Aggregate |
createAggregate(int type,
java.util.function.Predicate<Geometry> filter) |
void |
ensureCapacity(int capacity) |
java.util.Collection<? extends Geometry> |
getElements() |
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. |
java.util.Iterator<Geometry> |
iterator(java.util.function.Predicate<Geometry> filter) |
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, withincontains, contains, contains, contains, getBounds, intersectsisEmpty, isEmpty, isEmpty, isEmptyQuietlyint 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.void addPrimitive(Primitive primitive)
primitive - The primitive to addvoid addPrimitives(Aggregate aggregate)
void addPrimitives(Geometry geometry)
void ensureCapacity(int capacity)
java.util.Collection<? extends Geometry> getElements()
Aggregate createAggregate(int type, java.util.function.Predicate<Geometry> filter) throws CreateGeometryException
CreateGeometryException