Namespace: Rx.Net – Class: Vector2D – Assembly: Rx.Net

Vector2D.DistanceSquared Static Method

C#
public static double DistanceSquared(Vector2D value1, Vector2D value2)

Returns the Euclidean distance squared between the two given points.

Parameters

[Vector2D] value1

The first point.

[Vector2D] value2

The second point.

Returns

double

The distance squared.