Method GetDistance
GetDistance(double, double, double, double)
Calculates distance between two points.
public static double GetDistance(double x1, double y1, double x2, double y2)
Parameters
x1
doubleX coordinate of the first point.
y1
doubleY coordinate of the first point.
x2
doubleX coordinate of the second point.
y2
doubleY coordinate of the second point.