public class EarthLocationImpl extends 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.
|
| 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.
|
String |
toString()
Deprecated.
|
protected double lat
protected double lon
protected double alt
protected EarthLocationImpl()
public EarthLocationImpl(double lat,
double lon,
double alt)
public double getLatitude()
EarthLocationgetLatitude in interface EarthLocationpublic double getLongitude()
EarthLocationgetLongitude in interface EarthLocationpublic double getAltitude()
EarthLocationEarthLocation was retrieved from a PointFeature
(via PointFeature.getLocation()), then the unit can be obtained by calling
pointFeature.getFeatureCollection().getAltUnits().getAltitude 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)