public static float GetChebyshevDistance(this Vector2 a, Vector2 b) { return(DistanceHelper.GetChebyshevDistance(a.X, a.Y, b.X, b.Y)); }
public static float GetManhattanDistance(this Vector2 a, Vector2 b) { return(DistanceHelper.GetManhattanDistance(a.X, a.Y, b.X, b.Y)); }
public static float GetChebyshevDistance(this PointF a, PointF b) { return(DistanceHelper.GetChebyshevDistance(a.X, a.Y, b.X, b.Y)); }
public static double GetEuclideanDistance(this PointF a, PointF b) { return(DistanceHelper.GetEuclideanDistance(a.X, a.Y, b.X, b.Y)); }
public static float GetManhattanDistance(this PointF a, PointF b) { return(DistanceHelper.GetManhattanDistance(a.X, a.Y, b.X, b.Y)); }