CRaPI - Correct Robust and Perfect API

Point2D.Distance Method 

Calculates the distance between two points

public static double Distance(
   Point2D pP1,
   Point2D pP2
);

Parameters

pP1
Point 1
pP2
Point 2

Return Value

The distance between the two points.

Remarks

The distance between the two points are calculated with

dist = Sqrt(xDist^2 + yDist^2)
where xDist is the X-difference and yDist is the Y-difference for the two points.

See Also

Point2D Class | TeamYaffa.CRaPI.Utility Namespace | op_Subtraction