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()
EarthLocation
getLatitude
in interface EarthLocation
public double getLongitude()
EarthLocation
getLongitude
in interface EarthLocation
public double getAltitude()
EarthLocation
EarthLocation
was retrieved from a PointFeature
(via PointFeature.getLocation()
), then the unit can be obtained by calling
pointFeature.getFeatureCollection().getAltUnits()
.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