public class Point extends Geospatial
Geospatial.Dimension, Geospatial.Typedimension, srid, type| Constructor and Description |
|---|
Point(Geospatial.Dimension dimension,
SRID srid)
Creates a new point.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
EdmPrimitiveTypeKind |
getEdmPrimitiveTypeKind()
Returns the
EdmPrimitiveTypeKind |
double |
getX()
Returns the x coordinate.
|
double |
getY()
Returns the y coordinate.
|
double |
getZ()
Returns the z coordinate.
|
int |
hashCode() |
void |
setX(double x)
Sets the x coordinate.
|
void |
setY(double y)
Sets the y coordinate.
|
void |
setZ(double z)
Sets the z coordinate.
|
String |
toString() |
getDimension, getGeoType, getSridpublic Point(Geospatial.Dimension dimension, SRID srid)
dimension - Dimension of the pointsrid - SRID valuepublic double getX()
public void setX(double x)
x - x coordinatepublic double getY()
public void setY(double y)
y - y coordinatepublic double getZ()
public void setZ(double z)
z - z coordinatepublic EdmPrimitiveTypeKind getEdmPrimitiveTypeKind()
GeospatialEdmPrimitiveTypeKindgetEdmPrimitiveTypeKind in class GeospatialCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.