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

Vector2D.Distance Static Method

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

Returns the Euclidean distance between the two given points.

Parameters

[Vector2D] value1

The first point.

[Vector2D] value2

The second point.

Returns

double

The distance.