예제 #1
0
 /// <summary>
 /// Calculate the Euclidean distance between two <see cref="PointF"/> instances.
 /// </summary>
 /// <param name="a">The first instance.</param>
 /// <param name="b">The second instance.</param>
 /// <returns>The Manhattan Distance between two instances.</returns>
 public static double GetEuclideanDistance(this PointF a, PointF b)
 {
     return(DistanceHelper.GetEuclideanDistance(a.X, a.Y, b.X, b.Y));
 }