|
||||||||||
| 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.
| Field Summary | |
|---|---|
protected double |
alt
|
protected double |
lat
|
protected double |
lon
|
| Constructor Summary | |
|---|---|
protected |
EarthLocationImpl()
|
|
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? |
protected void |
setAltitude(double alt)
|
protected void |
setLatitude(double lat)
|
protected void |
setLongitude(double lon)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected double lat
protected double lon
protected double alt
| Constructor Detail |
|---|
protected EarthLocationImpl()
public EarthLocationImpl(double lat,
double lon,
double alt)
| Method Detail |
|---|
public double getLatitude()
getLatitude in interface EarthLocationpublic double getLongitude()
getLongitude in interface EarthLocationpublic double getAltitude()
getAltitude in interface EarthLocationpublic LatLonPoint getLatLon()
getLatLon in interface EarthLocationpublic boolean isMissing()
EarthLocation
isMissing in interface EarthLocationprotected void setLatitude(double lat)
protected void setLongitude(double lon)
protected void setAltitude(double alt)
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 | |||||||||