@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, wait
create
protected double lat
protected double lon
protected double alt
protected EarthLocationImpl()
@Deprecated public EarthLocationImpl(double lat, double lon, double alt)
public double getLatitude()
EarthLocation
getLatitude
in interface EarthLocation
public double getLongitude()
EarthLocation
getLongitude
in interface EarthLocation
public double getAltitude()
EarthLocation
getAltitude
in interface EarthLocation
Double.NaN
indicates "no altitude".public LatLonPoint getLatLon()
EarthLocation
getLatLon
in interface EarthLocation
public boolean isMissing()
EarthLocation
isMissing
in interface EarthLocation
protected 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