public class Point2D extends AbstractPoint
| Modifier and Type | Class and Description |
|---|---|
class |
Point2D.PointIterator |
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatuscoordinateLOGGERBEST, 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 and Description |
|---|
Point2D() |
Point2D(double x,
double y) |
Point2D(IProjection proj,
Coordinate coordinates) |
Point2D(IProjection proj,
double x,
double y) |
| Modifier and Type | Method and Description |
|---|---|
Point |
cloneGeometry()
Creates a clone of this geometry.
|
boolean |
equals(java.lang.Object obj) |
Point |
force2DM() |
Point |
force3D() |
Point |
force3DM() |
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.
|
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.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
|
java.lang.String |
toString() |
canBeReprojected, canBeTransformed, centroid, clone, flip, force2D, get, getCoordinateAt, getCoordinates, getDirectPosition, getEnvelope, getHandlers, getJTS, getJTSCoordinate, getPathIterator, getShape, getShape, getX, getY, hashCode, isEmpty, offset, reProject, setCoordinateAt, setCoordinates, setX, setY, size, toLines, toPolygons, transformarea, boundary, buffer, buffer, 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, forceSubtype, getBounds, getBounds2D, 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, touches, union, withinfinalize, getClass, notify, notifyAll, wait, wait, waitarea, boundary, buffer, buffer, 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, forceSubtype, getBounds2D, getInteriorPoint, getInternalShape, getProjection, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, touches, union, withincontains, contains, contains, contains, getBounds, intersectsisEmpty, isEmpty, isEmptyQuietlypublic Point2D(IProjection proj, Coordinate coordinates)
proj - coordinates - public Point2D()
public Point2D(double x,
double y)
x - y - public Point2D(IProjection proj, double x, double y)
public Point cloneGeometry()
Geometrypublic int getDimension()
Geometrypublic GeometryType getGeometryType()
GeometrygetGeometryType in interface GeometrygetGeometryType in class AbstractGeometrypublic boolean is3D()
public void setJTSCoordinate(Coordinate coordinate)
public GeneralPathX getGeneralPath()
Geometrypublic java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
Geometryat - The transformation to apply.public MultiPoint toPoints() throws GeometryException
GeometryGeometryExceptionpublic Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
distance - GeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic java.lang.String toString()
toString in class AbstractPointpublic boolean equals(java.lang.Object obj)
equals in interface Geometryequals in class AbstractGeometrypublic Point force3D()
force3D in interface Pointforce3D in class AbstractGeometrypublic Point force2DM()
force2DM in interface Pointforce2DM in class AbstractGeometrypublic Point force3DM()
force3DM in interface Pointforce3DM in class AbstractGeometry