public class LatLonPointImmutable extends Object implements LatLonPoint
| Modifier and Type | Field and Description |
|---|---|
static LatLonPointImmutable |
INVALID |
| Constructor and Description |
|---|
LatLonPointImmutable(double lat,
double lon) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(LatLonPoint pt)
Returns true if this represents the same point as pt.
|
boolean |
equals(Object o) |
double |
getLatitude()
Returns the latitude, between +/- 90 degrees.
|
double |
getLongitude()
Returns the longitude, between +/-180 degrees
|
int |
hashCode() |
public static final LatLonPointImmutable INVALID
public double getLongitude()
LatLonPointgetLongitude in interface LatLonPointpublic double getLatitude()
LatLonPointgetLatitude in interface LatLonPointpublic boolean equals(LatLonPoint pt)
LatLonPointequals in interface LatLonPointpt - point to checkCopyright © 1999–2014 UCAR/Unidata. All rights reserved.