|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.unidata.geoloc.EarthLocationImpl
public class EarthLocationImpl
A location on the Earth.
Constructor Summary | |
---|---|
EarthLocationImpl(double lat,
double lon,
double alt)
|
Method Summary | |
---|---|
double |
getAltitude()
altitude in meters; missing = NaN. |
double |
getLatitude()
latitude in decimal degrees north |
LatLonPoint |
getLatLon()
Get the lat/lon location |
double |
getLongitude()
longitude in decimal degrees east |
boolean |
isMissing()
Are either lat or lon missing? |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EarthLocationImpl(double lat, double lon, double alt)
Method Detail |
---|
public double getLatitude()
getLatitude
in interface EarthLocation
public double getLongitude()
getLongitude
in interface EarthLocation
public double getAltitude()
getAltitude
in interface EarthLocation
public LatLonPoint getLatLon()
getLatLon
in interface EarthLocation
public boolean isMissing()
EarthLocation
isMissing
in interface EarthLocation
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |