@Deprecated public class EarthLocationImpl extends java.lang.Object implements EarthLocation
| Modifier and Type | Field and Description |
|---|---|
protected double |
alt
Deprecated.
|
protected double |
lat
Deprecated.
|
protected double |
lon
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EarthLocationImpl()
Deprecated.
|
|
EarthLocationImpl(double lat,
double lon,
double alt)
Deprecated.
use EarthLocation.create
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAltitude()
Deprecated.
Returns the altitude in some unit.
|
double |
getLatitude()
Deprecated.
Returns the latitude in some unit.
|
LatLonPoint |
getLatLon()
Deprecated.
Get the lat/lon location
|
double |
getLongitude()
Deprecated.
Returns the longitude in some unit.
|
boolean |
isMissing()
Deprecated.
Are either lat or lon missing?
|
protected void |
setAltitude(double alt)
Deprecated.
|
protected void |
setLatitude(double lat)
Deprecated.
|
protected void |
setLongitude(double lon)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateprotected double lat
protected double lon
protected double alt
protected EarthLocationImpl()
@Deprecated
public EarthLocationImpl(double lat,
double lon,
double alt)
public double getLatitude()
EarthLocationgetLatitude in interface EarthLocationpublic double getLongitude()
EarthLocationgetLongitude in interface EarthLocationpublic double getAltitude()
EarthLocationgetAltitude in interface EarthLocationDouble.NaN indicates "no altitude".public LatLonPoint getLatLon()
EarthLocationgetLatLon in interface EarthLocationpublic boolean isMissing()
EarthLocationisMissing 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