public final class XYPoint extends XYGeometry
double
coordinates.
NOTES:
spatial-extras module
| Constructor and Description |
|---|
XYPoint(float x,
float y)
Creates a new Point from the supplied latitude/longitude.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
float |
getX()
Returns latitude value at given index
|
float |
getY()
Returns longitude value at given index
|
int |
hashCode() |
protected Component2D |
toComponent2D()
get a Component2D from this object
|
String |
toString() |
createpublic XYPoint(float x,
float y)
public float getX()
public float getY()
protected Component2D toComponent2D()
XYGeometrytoComponent2D in class XYGeometryCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.