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 Details

    • EarthLocationImpl

      @Deprecated public EarthLocationImpl(double lat, double lon, double alt)
      Deprecated.
      use EarthLocation.create
  • Method Details

    • 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 interface EarthLocation
      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 interface EarthLocation
      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 interface EarthLocation
      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 interface EarthLocation
      Returns:
      lat/lon location
    • isMissing

      public boolean isMissing()
      Deprecated.
      Description copied from interface: EarthLocation
      Are either lat or lon missing?
      Specified by:
      isMissing in interface EarthLocation
      Returns:
      true if lat or lon is missing
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object