Class AbstractMultiPoint
java.lang.Object
org.gvsig.fmap.geom.jts.AbstractGeometry
org.gvsig.fmap.geom.jts.aggregate.AbstractAggregate
org.gvsig.fmap.geom.jts.aggregate.AbstractMultiPrimitive
org.gvsig.fmap.geom.jts.aggregate.AbstractMultiPoint
- All Implemented Interfaces:
Shape,Serializable,Cloneable,Comparable,Iterable<org.gvsig.fmap.geom.Geometry>,org.gvsig.fmap.geom.aggregate.Aggregate,org.gvsig.fmap.geom.aggregate.MultiPoint,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:
MultiPoint2D,MultiPoint2DM,MultiPoint3D,MultiPoint3DM
public abstract class AbstractMultiPoint
extends AbstractMultiPrimitive
implements org.gvsig.fmap.geom.aggregate.MultiPoint
- Author:
- fdiaz
- See Also:
-
Nested Class Summary
Nested ClassesNested 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 TypeMethodDescriptionvoidaddPoint(org.gvsig.fmap.geom.primitive.Point point) protected abstract org.gvsig.fmap.geom.primitive.PointfixPoint(org.gvsig.fmap.geom.primitive.Point point) voidflip()org.gvsig.fmap.geom.Geometryforce2D()org.gvsig.fmap.geom.Geometryforce2DM()org.gvsig.fmap.geom.Geometryforce3D()org.gvsig.fmap.geom.Geometryforce3DM()org.gvsig.fmap.geom.GeometryforceSubtype(int subtype) com.vividsolutions.jts.geom.GeometrygetJTS()getPathIterator(AffineTransform at, double flatness) org.gvsig.fmap.geom.primitive.PointgetPointAt(int index) getShape()getShape(AffineTransform affineTransform) org.gvsig.fmap.geom.Geometryoffset(double distance) org.gvsig.fmap.geom.Geometryoffset(int joinStyle, double distance) Methods inherited from class org.gvsig.fmap.geom.jts.aggregate.AbstractMultiPrimitive
addPrimitive, addPrimitives, addPrimitives, addPrimitives, clonePrimitives, fixPrimitive, getHandlers, intersection, unionMethods inherited from class org.gvsig.fmap.geom.jts.aggregate.AbstractAggregate
canBeReprojected, canBeTransformed, ensureCapacity, equals, get, getPrimitiveAt, getPrimitivesNumber, 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, 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, getPrimitivesNumber, intersection, unionMethods 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, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getProjection, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPoints, toPolygons, touches, transform, union, withinMethods 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
addPrimitive, addPrimitives, addPrimitives, ensureCapacityMethods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, intersectsMethods inherited from interface org.gvsig.tools.util.Size
size
-
Constructor Details
-
AbstractMultiPoint
public AbstractMultiPoint(int subtype) - Parameters:
subtype-
-
-
Method Details
-
getJTS
public com.vividsolutions.jts.geom.Geometry getJTS()- Specified by:
getJTSin interfaceGeometryJTS- Returns:
- the jts geometry.
-
force2D
public org.gvsig.fmap.geom.Geometry force2D() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
force2Din interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
force2DM
public org.gvsig.fmap.geom.Geometry force2DM() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
force2DMin classAbstractGeometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
force3D
public org.gvsig.fmap.geom.Geometry force3D() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
force3Din classAbstractGeometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
force3DM
public org.gvsig.fmap.geom.Geometry force3DM() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
force3DMin classAbstractGeometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
forceSubtype
public org.gvsig.fmap.geom.Geometry forceSubtype(int subtype) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
forceSubtypein interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
forceSubtypein classAbstractGeometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
addPoint
public void addPoint(org.gvsig.fmap.geom.primitive.Point point) - Specified by:
addPointin interfaceorg.gvsig.fmap.geom.aggregate.MultiPoint
-
getPointAt
public org.gvsig.fmap.geom.primitive.Point getPointAt(int index) - Specified by:
getPointAtin interfaceorg.gvsig.fmap.geom.aggregate.MultiPoint
-
getShape
- Specified by:
getShapein interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
getShapein classAbstractAggregate
-
getShape
- Specified by:
getShapein interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
getShapein classAbstractAggregate
-
getPathIterator
- Specified by:
getPathIteratorin interfaceorg.gvsig.fmap.geom.Geometry- Specified by:
getPathIteratorin interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceorg.gvsig.fmap.geom.Geometry- Specified by:
getPathIteratorin interfaceShape
-
flip
public void flip() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
flipin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
offset
public org.gvsig.fmap.geom.Geometry offset(double distance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
offsetin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
offset
public org.gvsig.fmap.geom.Geometry offset(int joinStyle, double distance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
offsetin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
fixPoint
protected abstract org.gvsig.fmap.geom.primitive.Point fixPoint(org.gvsig.fmap.geom.primitive.Point point)
-