public abstract class AbstractMultiPoint extends AbstractMultiPrimitive implements MultiPoint
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractMultiPoint.PointIterator |
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
logger
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
AbstractMultiPoint(int subtype) |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(Point point)
Adds a new point to the multipoint
|
protected abstract Point |
fixPoint(Point point) |
void |
flip()
Flip the coordinates of the geometry.
|
com.vividsolutions.jts.geom.Geometry |
getJTS() |
PathIterator |
getPathIterator(AffineTransform at)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
PathIterator |
getPathIterator(AffineTransform at,
double flatness)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
Point |
getPointAt(int index)
Gets the point that is on a concrete position
inside the multi point
|
Shape |
getShape() |
Shape |
getShape(AffineTransform affineTransform) |
Geometry |
offset(double distance) |
addPrimitive, clonePrimitives, fixPrimitive, getHandlers, intersection, union
ensureCapacity, equals, getPrimitiveAt, getPrimitivesNumber, is3D, iterator, reProject, transform
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, within
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPrimitive, ensureCapacity
getPrimitiveAt, getPrimitivesNumber, intersection, union
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, reProject, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
public AbstractMultiPoint(int subtype)
type
- subtype
- public com.vividsolutions.jts.geom.Geometry getJTS()
getJTS
in interface GeometryJTS
public void addPoint(Point point)
MultiPoint
addPoint
in interface MultiPoint
point
- The point to addpublic Point getPointAt(int index)
MultiPoint
getPointAt
in interface MultiPoint
index
- The positionpublic Shape getShape(AffineTransform affineTransform)
getShape
in interface Geometry
getShape
in class AbstractAggregate
public Shape getShape()
getShape
in interface Geometry
getShape
in class AbstractAggregate
public PathIterator getPathIterator(AffineTransform at)
Geometry
getPathIterator
in interface Shape
getPathIterator
in interface Geometry
at
- The transformation to apply.public PathIterator getPathIterator(AffineTransform at, double flatness)
Geometry
getPathIterator
in interface Shape
getPathIterator
in interface Geometry
at
- The affine transformation.public void flip() throws GeometryOperationNotSupportedException, GeometryOperationException
Geometry
flip
in interface Geometry
GeometryOperationNotSupportedException
GeometryOperationException
public Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset
in interface Geometry
GeometryOperationNotSupportedException
GeometryOperationException