Method Math2.Distance(+ 1 overload)
Overload
Calculates distance between two points.
public static double Distance(POINT p1, POINT p2)
Parameters
Returns
Overload(top)
Calculates distance between rectangle and point.
public static double Distance(RECT r, POINT p)
Parameters
Returns
|
double
If the point is outside, returns the nearest distance, else 0. |