public class Point2DZ extends Point2D implements Point
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus| Modifier and Type | Field and Description |
|---|---|
static String |
PERSISTENCE_DEFINITION_NAME |
COORDINATES_FIELD, x, ygeometryType, geomManager, id, logger, projectionBEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W| Constructor and Description |
|---|
Point2DZ(double x,
double y,
double z) |
Point2DZ(double x,
double y,
double z,
GeometryType geometryType) |
Point2DZ(GeometryType geomType)
The constructor with the GeometryType like and argument is used by the
GeometryType#create() to create the geometry |
| Modifier and Type | Method and Description |
|---|---|
FShape |
cloneFShape()
Creates and returns a shape equal and independent of this one.
|
boolean |
equals(Object other) |
double |
getCoordinateAt(int dimension)
Gets the coordinate in a concrete dimension
|
double[] |
getCoordinates()
Returns an array of coordinates.
|
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.
|
protected String |
getFullTypeName() |
double |
getOrdinate(int dimension)
Returns the ordinate of the given dimension.
|
int |
getShapeType()
Gets the geometry type of this shape.
|
void |
setCoordinateAt(int dimension,
double value)
Sets a ordinate in a concrete dimension
|
void |
setCoordinates(double[] values)
Sets the point coordinates
|
contains, contains, contains, contains, getBounds, getBounds2D, getDirectPosition, getEnvelope, getGeneralPath, getPathIterator, getPathIterator, getSelectHandlers, getShape, getStretchingHandlers, getType, getX, getY, intersects, intersects, reProject, setX, setY, toPoints, toString, transformarea, buffer, centroid, cloneGeometry, closestPoints, compareTo, contains, containsPoint, containsRectangle, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, fastIntersects, getGeometryType, getHandlers, getId, getInteriorPoint, getInternalShape, getShape, getSRS, getValidationStatus, intersection, intersects, intersectsRectangle, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, overlaps, perimeter, rotate, scale, snapTo, toJTS, touches, transform, union, withinclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDirectPosition, getX, getY, setX, setYarea, buffer, canBeReprojected, canBeTransformed, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, reProject, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, transform, union, withincontains, contains, contains, contains, getBounds, intersectscompareTopublic static final String PERSISTENCE_DEFINITION_NAME
public Point2DZ(GeometryType geomType)
GeometryType#create() to create the geometrytype - The geometry typepublic Point2DZ(double x,
double y,
double z,
GeometryType geometryType)
public Point2DZ(double x,
double y,
double z)
public int getShapeType()
FShapegetShapeType in interface FShapegetShapeType in class Point2Dpublic FShape cloneFShape()
FShapecloneFShape in interface FShapecloneFShape in class Point2Dpublic int getDimension()
GeometrygetDimension in interface DirectPositiongetDimension in interface GeometrygetDimension in class Point2Dpublic void setCoordinates(double[] values)
PointsetCoordinates in interface PointsetCoordinates in class Point2Dpublic void setCoordinateAt(int dimension,
double value)
PointsetCoordinateAt in interface PointsetCoordinateAt in class Point2Ddimension - The dimension to setvalue - The value to setpublic double getCoordinateAt(int dimension)
PointgetCoordinateAt in interface PointgetCoordinateAt in class Point2Ddimension - The ordinate dimensionpublic double getOrdinate(int dimension)
DirectPositiongetOrdinate in interface DirectPositiongetOrdinate in class Point2Ddimension - The dimension to retrievepublic double[] getCoordinates()
Point#setCoordinateAt(int, double))
, #setX(double)) or #setY(double)) methods instead.getCoordinates in interface PointgetCoordinates in class Point2Dprotected String getFullTypeName()
getFullTypeName in class Point2D