Class MinDist


  • public class MinDist
    extends Object
    Class that can calculate the MINDIST between a point and a rectangle
    • Method Detail

      • get

        public static double get​(MBR mbr,
                                 PointND p)
        Calculate the MINDIST between the given MBRND and the given point
        Parameters:
        mbr - the bounding box to use
        p - the point
        Returns:
        the squared distance