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 protected
EarthLocationImpl()
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 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 locationdouble
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.
-
-
-
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:EarthLocation
Returns the latitude in some unit. The unit is very likely decimal degrees north, but we don't enforce that anywhere.- Specified by:
getLatitude
in interfaceEarthLocation
- Returns:
- the latitude in some unit.
-
getLongitude
public double getLongitude()
Deprecated.Description copied from interface:EarthLocation
Returns the longitude in some unit. The unit is very likely decimal degrees east, but we don't enforce that anywhere.- Specified by:
getLongitude
in interfaceEarthLocation
- Returns:
- the longitude in some unit.
-
getAltitude
public double getAltitude()
Deprecated.Description copied from interface:EarthLocation
Returns the altitude in some unit.- Specified by:
getAltitude
in interfaceEarthLocation
- Returns:
- the altitude in some unit. A value of
Double.NaN
indicates "no altitude".
-
getLatLon
public LatLonPoint getLatLon()
Deprecated.Description copied from interface:EarthLocation
Get the lat/lon location- Specified by:
getLatLon
in interfaceEarthLocation
- Returns:
- lat/lon location
-
isMissing
public boolean isMissing()
Deprecated.Description copied from interface:EarthLocation
Are either lat or lon missing?- Specified by:
isMissing
in 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.
-
-