Namespace: Rx.Net – Class: Vector2D – Assembly: Rx.Net
public static double DistanceSquared(Vector2D value1, Vector2D value2)
Returns the Euclidean distance squared between the two given points.
The first point.
The second point.
The distance squared.