Class LatLonPointRadius

    • Constructor Detail

      • LatLonPointRadius

        public LatLonPointRadius​(DirectPosition center,
                                 double radius)
        Deprecated.
        Creates a representation of point-radius search region.
        Parameters:
        center - the center of the search region
        radius - the radius of the search region
    • Method Detail

      • getCircularRegionApproximation

        public DirectPosition2D[] getCircularRegionApproximation​(int numberOfPoints)
        Deprecated.
        Gets the circular region approximation on the earth surface using haversine formula.
        Parameters:
        number­Of­Points - the number of points used to estimate the circular region
        Returns:
        an array of DirectPosition2D representing the points that estimate the circular region
      • getRectangularRegionApproximation

        public Rectangle2D getRectangularRegionApproximation​(int numberOfPoints)
        Deprecated.
        Calculates the rectangular region enclosing the circular search region.
        Parameters:
        number­Of­Points - the number of points used to estimate the circular search region
        Returns:
        Java Rectangle2D object that bounds the circlar search region