MathUtility.CalculateEuclidianDistance method (1 of 2)

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.

Return Value

The euclidian distance between the two points.

See Also


MathUtility.CalculateEuclidianDistance method (2 of 2)

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.

Return Value

The euclidian distance between the two points.

See Also