Class LatLonPointNoNormalize

java.lang.Object
ucar.unidata.geoloc.LatLonPointNoNormalize

@Deprecated @Immutable public class LatLonPointNoNormalize extends Object
Deprecated.
will move in ver6
Similar to LatLonPoint, but this class does not normalize its latitude and longitude, even for comparison. That is, latitudes may lie outside of [-90, 90] and longitudes may lie outside of [-180, 180].
Since:
2018-03-08
  • Constructor Details

    • LatLonPointNoNormalize

      public LatLonPointNoNormalize(double lat, double lon)
      Deprecated.
  • Method Details

    • getLatitude

      public double getLatitude()
      Deprecated.
      Returns the latitude, not necessarily in [-90, 90].
      Returns:
      latitude (degrees)
    • getLongitude

      public double getLongitude()
      Deprecated.
      Returns the longitude, not necessarily in [-180, 180].
      Returns:
      longitude (degrees)
    • nearlyEquals

      public boolean nearlyEquals(LatLonPointNoNormalize that)
      Deprecated.
    • nearlyEquals

      public boolean nearlyEquals(LatLonPointNoNormalize that, double maxRelDiff)
      Deprecated.
      Returns true if this point is nearly equal to that. The "near equality" of points is determined using Misc.nearlyEquals(double, double, double), with the specified maxRelDiff.
      Parameters:
      that - the other point to check.
      maxRelDiff - the maximum relative difference the two points may have.
      Returns:
      true if this point is nearly equal to that.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

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