public class Point2D extends AbstractPoint
Modifier and Type | Class and Description |
---|---|
class |
Point2D.PointIterator |
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
coordinate
logger
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
Point2D() |
Point2D(Coordinate coordinates) |
Point2D(double x,
double y) |
Modifier and Type | Method and Description |
---|---|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
boolean |
equals(Object obj) |
int |
getDimension()
Returns the largest number n such that each direct position in a
geometric set can be associated with a subset that has the direct
position in its interior and is similar (isomorphic) to Rn, Euclidean
n-space.
|
GeneralPathX |
getGeneralPath()
Get GeneralPathIterator, to do registered operations to it.
|
GeometryType |
getGeometryType()
Instance of the GeometryType associated to this geometry.
|
PathIterator |
getPathIterator(AffineTransform at)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
boolean |
is3D() |
Geometry |
offset(double distance) |
void |
setJTSCoordinate(Coordinate coordinate) |
MultiPoint |
toPoints()
Converts the geometry to be points and makes with them a multiPoint
|
String |
toString() |
canBeReprojected, canBeTransformed, centroid, flip, getCoordinateAt, getCoordinates, getDirectPosition, getEnvelope, getHandlers, getJTS, getJTSCoordinate, getPathIterator, getShape, getShape, getX, getY, hashCode, reProject, setCoordinateAt, setCoordinates, setX, setY, toLines, toPolygons, transform
area, buffer, 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, getInteriorPoint, getInternalShape, getManager, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, snapTo, touches, union, within
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
area, buffer, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, getBounds2D, getInteriorPoint, getInternalShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, rotate, scale, snapTo, touches, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
public Point2D(Coordinate coordinates)
public Point2D()
public Point2D(double x, double y)
public Geometry cloneGeometry()
Geometry
public int getDimension()
Geometry
public GeometryType getGeometryType()
Geometry
getGeometryType
in interface Geometry
getGeometryType
in class AbstractGeometry
public boolean is3D()
public void setJTSCoordinate(Coordinate coordinate)
public GeneralPathX getGeneralPath()
Geometry
public PathIterator getPathIterator(AffineTransform at)
Geometry
at
- The transformation to apply.public MultiPoint toPoints() throws GeometryException
Geometry
GeometryException
public Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
public String toString()
toString
in class AbstractPoint
public boolean equals(Object obj)
equals
in class AbstractGeometry