Package ucar.unidata.geoloc
Class EarthLocationImpl
- java.lang.Object
-
- ucar.unidata.geoloc.EarthLocationImpl
-
- All Implemented Interfaces:
EarthLocation
- Direct Known Subclasses:
StationImpl
@Deprecated public class EarthLocationImpl extends Object implements EarthLocation
Deprecated.only use EarthLocation in 6. This class will be renamed.A location on the Earth.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEarthLocationImpl()Deprecated.EarthLocationImpl(double lat, double lon, double alt)Deprecated.use EarthLocation.create
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description doublegetAltitude()Deprecated.Returns the altitude in some unit.doublegetLatitude()Deprecated.Returns the latitude in some unit.LatLonPointgetLatLon()Deprecated.Get the lat/lon locationdoublegetLongitude()Deprecated.Returns the longitude in some unit.booleanisMissing()Deprecated.Are either lat or lon missing?protected voidsetAltitude(double alt)Deprecated.protected voidsetLatitude(double lat)Deprecated.protected voidsetLongitude(double lon)Deprecated.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
EarthLocationImpl
protected EarthLocationImpl()
Deprecated.
-
EarthLocationImpl
@Deprecated public EarthLocationImpl(double lat, double lon, double alt)
Deprecated.use EarthLocation.create
-
-
Method Detail
-
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
public LatLonPoint 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
-
setLatitude
protected void setLatitude(double lat)
Deprecated.
-
setLongitude
protected void setLongitude(double lon)
Deprecated.
-
setAltitude
protected void setAltitude(double alt)
Deprecated.
-
-