Class AbstractAggregate
java.lang.Object
org.gvsig.fmap.geom.jts.AbstractGeometry
org.gvsig.fmap.geom.jts.aggregate.AbstractAggregate
- All Implemented Interfaces:
Shape,Serializable,Cloneable,Comparable,Iterable<org.gvsig.fmap.geom.Geometry>,org.gvsig.fmap.geom.aggregate.Aggregate,org.gvsig.fmap.geom.Geometry,GeometryJTS,org.gvsig.tools.util.GetItem<org.gvsig.fmap.geom.Geometry>,org.gvsig.tools.util.IsEmpty,org.gvsig.tools.util.Size
- Direct Known Subclasses:
AbstractMultiPrimitive
public abstract class AbstractAggregate
extends AbstractGeometry
implements org.gvsig.fmap.geom.aggregate.Aggregate
- Author:
- fdiaz
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gvsig.fmap.geom.Geometry
org.gvsig.fmap.geom.Geometry.DIMENSIONS, org.gvsig.fmap.geom.Geometry.OPERATIONS, org.gvsig.fmap.geom.Geometry.SUBTYPES, org.gvsig.fmap.geom.Geometry.TYPES, org.gvsig.fmap.geom.Geometry.ValidationStatus -
Field Summary
Fields inherited from class org.gvsig.fmap.geom.jts.AbstractGeometry
LOGGERFields inherited from interface org.gvsig.fmap.geom.Geometry
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeReprojected(org.gvsig.crs.projection.lib.CoordinateTransformation ct) booleanvoidensureCapacity(int capacity) booleanorg.gvsig.fmap.geom.Geometryget(int position) org.gvsig.fmap.geom.primitive.PrimitivegetPrimitiveAt(int i) intgetShape()getShape(AffineTransform affineTransform) booleanis3D()booleanisEmpty()Iterator<org.gvsig.fmap.geom.Geometry> iterator()voidreProject(org.gvsig.crs.projection.lib.CoordinateTransformation ct) intsize()voidMethods inherited from class org.gvsig.fmap.geom.jts.AbstractGeometry
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, withinMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.fmap.geom.aggregate.Aggregate
intersection, unionMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.gvsig.fmap.geom.Geometry
area, 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, withinMethods inherited from interface org.gvsig.fmap.geom.jts.GeometryJTS
getJTSMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AbstractAggregate
public AbstractAggregate(int type, int subtype) - Parameters:
type-subtype-
-
-
Method Details
-
getPrimitivesNumber
public int getPrimitivesNumber()- Specified by:
getPrimitivesNumberin interfaceorg.gvsig.fmap.geom.aggregate.Aggregate
-
getPrimitiveAt
public org.gvsig.fmap.geom.primitive.Primitive getPrimitiveAt(int i) - Specified by:
getPrimitiveAtin interfaceorg.gvsig.fmap.geom.aggregate.Aggregate
-
iterator
-
ensureCapacity
public void ensureCapacity(int capacity) -
reProject
public void reProject(org.gvsig.crs.projection.lib.CoordinateTransformation ct) - Specified by:
reProjectin interfaceorg.gvsig.fmap.geom.Geometry
-
transform
- Specified by:
transformin interfaceorg.gvsig.fmap.geom.Geometry
-
is3D
public boolean is3D()- Specified by:
is3Din interfaceGeometryJTS
-
getShape
- Specified by:
getShapein interfaceorg.gvsig.fmap.geom.Geometry
-
getShape
- Specified by:
getShapein interfaceorg.gvsig.fmap.geom.Geometry
-
equals
- Specified by:
equalsin interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
equalsin classAbstractGeometry
-
canBeTransformed
- Specified by:
canBeTransformedin interfaceorg.gvsig.fmap.geom.Geometry
-
canBeReprojected
public boolean canBeReprojected(org.gvsig.crs.projection.lib.CoordinateTransformation ct) - Specified by:
canBeReprojectedin interfaceorg.gvsig.fmap.geom.Geometry
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceorg.gvsig.fmap.geom.Geometry- Specified by:
isEmptyin interfaceorg.gvsig.tools.util.IsEmpty- Overrides:
isEmptyin classAbstractGeometry
-
size
public int size()- Specified by:
sizein interfaceorg.gvsig.tools.util.Size
-
get
public org.gvsig.fmap.geom.Geometry get(int position) - Specified by:
getin interfaceorg.gvsig.tools.util.GetItem<org.gvsig.fmap.geom.Geometry>
-