public class MinDist2D extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
get(double minx,
double miny,
double maxx,
double maxy,
double x,
double y)
Calculate the MINDIST between the given rectangle and the given point
|
public static double get(double minx,
double miny,
double maxx,
double maxy,
double x,
double y)
minx - the rectangle minimum x pointminy - the rectangle minimum y pointmaxx - the rectangle maximum x pointmaxy - the rectangle maximum y pointx - the pointy - the point