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() |
create
public XYPoint(float x, float y)
public float getX()
public float getY()
protected Component2D toComponent2D()
XYGeometry
toComponent2D
in class XYGeometry
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.