public class EarthLocationImpl extends Object implements EarthLocation
| Constructor and Description |
|---|
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?
|
String |
toString()
Deprecated.
|
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 EarthLocation