Class EarthLocationImpl

    • Field Detail

      • lat

        protected double lat
        Deprecated.
      • lon

        protected double lon
        Deprecated.
      • alt

        protected double alt
        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 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".
      • 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
      • setLatitude

        protected void setLatitude​(double lat)
        Deprecated.
      • setLongitude

        protected void setLongitude​(double lon)
        Deprecated.
      • setAltitude

        protected void setAltitude​(double alt)
        Deprecated.