public abstract class AbstractAggregate extends AbstractGeometry implements Aggregate
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
logger
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
AbstractAggregate(int type,
int subtype) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeReprojected(ICoordTrans ct)
Return true if the geometry can be reprojected by the coordinate transformation
|
boolean |
canBeTransformed(AffineTransform at)
Return true if the geometry can be transformed by the affine transform
|
void |
ensureCapacity(int capacity) |
boolean |
equals(Object obj) |
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. |
Shape |
getShape() |
Shape |
getShape(AffineTransform affineTransform) |
boolean |
is3D() |
Iterator<Geometry> |
iterator() |
void |
reProject(ICoordTrans ct)
Reprojects this geometry by the coordinate transformer passed as
parameter.
|
void |
transform(AffineTransform at)
It applies an affine transformation to the geometry.
|
area, buffer, centroid, closestPoints, compareTo, contains, contains, contains, contains, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, getBounds, getBounds2D, getEnvelope, getGeometryType, getInteriorPoint, getInternalShape, getManager, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, snapTo, toString, touches, union, within
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
intersection, union
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
forEach, spliterator
getJTS
public AbstractAggregate(int type, int subtype)
type
- subtype
- public int getPrimitivesNumber()
Aggregate
Primitive
's that composes
this multi geometry.getPrimitivesNumber
in interface Aggregate
Primitive
's that composes
this multi geometry.public Primitive getPrimitiveAt(int i)
Aggregate
Primitive
's that is in
a concrete position.getPrimitiveAt
in interface Aggregate
i
- Geometry position.public void ensureCapacity(int capacity)
public void reProject(ICoordTrans ct)
Geometry
public void transform(AffineTransform at)
Geometry
public boolean is3D()
is3D
in interface GeometryJTS
public Shape getShape(AffineTransform affineTransform)
public Shape getShape()
public boolean equals(Object obj)
equals
in class AbstractGeometry
public boolean canBeTransformed(AffineTransform at)
Geometry
canBeTransformed
in interface Geometry
at
- the affine transformpublic boolean canBeReprojected(ICoordTrans ct)
Geometry
canBeReprojected
in interface Geometry
ct
- the coordinate transformation