Package ucar.unidata.geoloc
Class EarthLocationImpl
java.lang.Object
ucar.unidata.geoloc.EarthLocationImpl
- All Implemented Interfaces:
EarthLocation
- Direct Known Subclasses:
StationImpl
Deprecated.
only use EarthLocation in 6. This class will be renamed.
A location on the Earth.
-
Constructor Summary
ConstructorsConstructorDescriptionEarthLocationImpl(double lat, double lon, double alt) Deprecated.use EarthLocation.create -
Method Summary
Modifier and TypeMethodDescriptiondoubleDeprecated.Returns the altitude in some unit.doubleDeprecated.Returns the latitude in some unit.Deprecated.Get the lat/lon locationdoubleDeprecated.Returns the longitude in some unit.booleanDeprecated.Are either lat or lon missing?toString()Deprecated.
-
Constructor Details
-
EarthLocationImpl
Deprecated.use EarthLocation.create
-
-
Method Details
-
getLatitude
public double getLatitude()Deprecated.Description copied from interface:EarthLocationReturns the latitude in some unit. The unit is very likely decimal degrees north, but we don't enforce that anywhere.- Specified by:
getLatitudein interfaceEarthLocation- Returns:
- the latitude in some unit.
-
getLongitude
public double getLongitude()Deprecated.Description copied from interface:EarthLocationReturns the longitude in some unit. The unit is very likely decimal degrees east, but we don't enforce that anywhere.- Specified by:
getLongitudein interfaceEarthLocation- Returns:
- the longitude in some unit.
-
getAltitude
public double getAltitude()Deprecated.Description copied from interface:EarthLocationReturns the altitude in some unit.- Specified by:
getAltitudein interfaceEarthLocation- Returns:
- the altitude in some unit. A value of
Double.NaNindicates "no altitude".
-
getLatLon
Deprecated.Description copied from interface:EarthLocationGet the lat/lon location- Specified by:
getLatLonin interfaceEarthLocation- Returns:
- lat/lon location
-
isMissing
public boolean isMissing()Deprecated.Description copied from interface:EarthLocationAre either lat or lon missing?- Specified by:
isMissingin interfaceEarthLocation- Returns:
- true if lat or lon is missing
-
toString
Deprecated.
-