Class AbstractMultiPrimitive
java.lang.Object
org.gvsig.fmap.geom.jts.AbstractGeometry
org.gvsig.fmap.geom.jts.aggregate.AbstractAggregate
org.gvsig.fmap.geom.jts.aggregate.AbstractMultiPrimitive
- All Implemented Interfaces:
Shape,Serializable,Cloneable,Comparable,Iterable<org.gvsig.fmap.geom.Geometry>,org.gvsig.fmap.geom.aggregate.Aggregate,org.gvsig.fmap.geom.aggregate.MultiPrimitive,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:
AbstractMultiCurve,AbstractMultiPoint,AbstractMultiSurface
public abstract class AbstractMultiPrimitive
extends AbstractAggregate
implements org.gvsig.fmap.geom.aggregate.MultiPrimitive
- 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 TypeMethodDescriptionvoidaddPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive) voidaddPrimitives(org.gvsig.fmap.geom.aggregate.Aggregate aggregate) voidaddPrimitives(org.gvsig.fmap.geom.complex.Complex complex) voidaddPrimitives(org.gvsig.fmap.geom.Geometry geometry) protected org.gvsig.fmap.geom.Geometryprotected abstract org.gvsig.fmap.geom.GeometryfixPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive) org.gvsig.fmap.geom.handler.Handler[]getHandlers(int type) org.gvsig.fmap.geom.Geometryorg.gvsig.fmap.geom.Geometryunion()Methods inherited from class org.gvsig.fmap.geom.jts.aggregate.AbstractAggregate
canBeReprojected, canBeTransformed, ensureCapacity, equals, get, getPrimitiveAt, getPrimitivesNumber, getShape, getShape, is3D, isEmpty, iterator, reProject, size, transformMethods 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
getPrimitiveAt, getPrimitivesNumberMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.gvsig.fmap.geom.Geometry
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, 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, withinMethods inherited from interface org.gvsig.fmap.geom.jts.GeometryJTS
getJTSMethods inherited from interface org.gvsig.tools.util.GetItem
getMethods inherited from interface org.gvsig.tools.util.IsEmpty
isEmptyMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.gvsig.fmap.geom.aggregate.MultiPrimitive
ensureCapacityMethods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, intersectsMethods inherited from interface org.gvsig.tools.util.Size
size
-
Constructor Details
-
AbstractMultiPrimitive
public AbstractMultiPrimitive(int type, int subtype) - Parameters:
type-subtype-
-
-
Method Details
-
addPrimitive
public void addPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive) - Specified by:
addPrimitivein interfaceorg.gvsig.fmap.geom.aggregate.MultiPrimitive
-
addPrimitives
public void addPrimitives(org.gvsig.fmap.geom.aggregate.Aggregate aggregate) - Specified by:
addPrimitivesin interfaceorg.gvsig.fmap.geom.aggregate.MultiPrimitive
-
addPrimitives
public void addPrimitives(org.gvsig.fmap.geom.complex.Complex complex) -
addPrimitives
public void addPrimitives(org.gvsig.fmap.geom.Geometry geometry) - Specified by:
addPrimitivesin interfaceorg.gvsig.fmap.geom.aggregate.MultiPrimitive
-
fixPrimitive
protected abstract org.gvsig.fmap.geom.Geometry fixPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive) - Parameters:
primitive-- Returns:
-
clonePrimitives
-
getHandlers
public org.gvsig.fmap.geom.handler.Handler[] getHandlers(int type) - Specified by:
getHandlersin interfaceorg.gvsig.fmap.geom.Geometry
-
union
public org.gvsig.fmap.geom.Geometry union() throws org.gvsig.fmap.geom.operation.GeometryOperationException, org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException- Specified by:
unionin interfaceorg.gvsig.fmap.geom.aggregate.Aggregate- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationExceptionorg.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
-
intersection
public org.gvsig.fmap.geom.Geometry intersection() throws org.gvsig.fmap.geom.operation.GeometryOperationException, org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException- Specified by:
intersectionin interfaceorg.gvsig.fmap.geom.aggregate.Aggregate- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationExceptionorg.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
-