org.khelekore.prtree
Class MinDist
java.lang.Object
org.khelekore.prtree.MinDist
public class MinDist
- extends Object
Class that can calculate the MINDIST between a point and a rectangle
|
Method Summary |
static double |
get(MBR mbr,
PointND p)
Calculate the MINDIST between the given MBRND and the given point |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 usep - the point
- Returns:
- the squared distance