Class Approximation


  • public class Approximation
    extends Object
    • Constructor Detail

      • Approximation

        public Approximation​(FXYSum fX,
                             FXYSum fY,
                             double centerLat,
                             double centerLon,
                             double minSquareDistance)
    • Method Detail

      • getFX

        public final FXYSum getFX()
      • getFY

        public final FXYSum getFY()
      • getCenterLat

        public double getCenterLat()
      • getCenterLon

        public double getCenterLon()
      • getMinSquareDistance

        public double getMinSquareDistance()
      • getSquareDistance

        public final double getSquareDistance​(double lat,
                                              double lon)
        Computes the square distance to the given geographical coordinate.
        Parameters:
        lat - the latitude value
        lon - the longitude value
        Returns:
        the square distance