public final class Point extends LatLonGeometry
double
coordinates.
NOTES:
spatial-extras module
| Constructor and Description |
|---|
Point(double lat,
double lon)
Creates a new Point from the supplied latitude/longitude.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
double |
getLat()
Returns latitude value at given index
|
double |
getLon()
Returns longitude value at given index
|
int |
hashCode() |
protected Component2D |
toComponent2D()
get a
Component2D from this geometry |
String |
toString() |
createpublic Point(double lat,
double lon)
public double getLat()
public double getLon()
protected Component2D toComponent2D()
LatLonGeometryComponent2D from this geometrytoComponent2D in class LatLonGeometryCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.