public abstract class AbstractAggregate extends AbstractGeometry implements Aggregate
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatusloggerBEST, 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 |
|---|---|
void |
ensureCapacity(int capacity) |
boolean |
equals(java.lang.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. |
java.awt.Shape |
getShape() |
java.awt.Shape |
getShape(java.awt.geom.AffineTransform affineTransform) |
boolean |
is3D() |
java.util.Iterator<Geometry> |
iterator() |
void |
reProject(ICoordTrans ct)
Reprojects this geometry by the coordinate transformer passed as
parameter.
|
void |
transform(java.awt.geom.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, withinclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitintersection, unionarea, 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, withincontains, contains, contains, contains, getBounds, intersectsgetJTSpublic AbstractAggregate(int type,
int subtype)
type - subtype - public int getPrimitivesNumber()
AggregatePrimitive's that composes
this multi geometry.getPrimitivesNumber in interface AggregatePrimitive's that composes
this multi geometry.public Primitive getPrimitiveAt(int i)
AggregatePrimitive's that is in
a concrete position.getPrimitiveAt in interface Aggregatei - Geometry position.public java.util.Iterator<Geometry> iterator()
iterator in interface java.lang.Iterable<Geometry>public void ensureCapacity(int capacity)
public void reProject(ICoordTrans ct)
Geometrypublic void transform(java.awt.geom.AffineTransform at)
Geometrypublic boolean is3D()
is3D in interface GeometryJTSpublic java.awt.Shape getShape(java.awt.geom.AffineTransform affineTransform)
public java.awt.Shape getShape()
public boolean equals(java.lang.Object obj)
equals in class AbstractGeometry