Calculates the euclidian distance between two points.
public static double CalculateEuclidianDistance(MathPoint ptOne, MathPoint ptTwo)
parameter | description |
---|---|
ptOne | The first point. |
ptTwo | The second point. |
The euclidian distance between the two points.
Calculates the euclidian distance between two points.
public static double CalculateEuclidianDistance(double fXOne, double fYOne, double fXTwo, double fYTwo)
parameter | description |
---|---|
fXOne | X coordinate of first point. |
fYOne | Y coordinate of first point. |
fXTwo | X coordinate of second point. |
fYTwo | Y coordinate of second point. |
The euclidian distance between the two points.