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, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, 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(java.awt.geom.AffineTransform at)
Return true if the geometry can be transformed by the affine transform
|
void |
ensureCapacity(int capacity) |
boolean |
equals(java.lang.Object obj) |
Geometry |
get(int position) |
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() |
boolean |
isEmpty() |
java.util.Iterator<Geometry> |
iterator() |
void |
reProject(ICoordTrans ct)
Reprojects this geometry by the coordinate transformer passed as
parameter.
|
int |
size() |
void |
transform(java.awt.geom.AffineTransform at)
It applies an affine transformation to the geometry.
|
area, boundary, buffer, buffer, centroid, clone, closestPoints, compareTo, contains, contains, contains, contains, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, fix, force2DM, force3D, force3DM, forceSubtype, getBounds, getBounds2D, getEnvelope, getGeometryType, getInteriorPoint, getInternalShape, getManager, getProjection, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, setGeometryType, setProjection, setProjection, setProjectionIffNull, snapTo, toString, touches, union, withinfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitintersection, unionarea, boundary, buffer, buffer, 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, fastIntersects, fix, flip, force2D, forceSubtype, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getProjection, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, offset, out, overlaps, perimeter, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPoints, toPolygons, touches, union, withincontains, contains, contains, contains, getBounds, intersectsisEmpty, isEmpty, isEmptyQuietlygetJTSpublic 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 interface Geometryequals in class AbstractGeometrypublic boolean canBeTransformed(java.awt.geom.AffineTransform at)
GeometrycanBeTransformed in interface Geometryat - the affine transformpublic boolean canBeReprojected(ICoordTrans ct)
GeometrycanBeReprojected in interface Geometryct - the coordinate transformationpublic boolean isEmpty()