Skip to main content

Distance Method

Computes the Euclidean distance between the two given points.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static double Distance(
Vector value1,
Vector value2
)

Parameters​

  Vector
The first point.
  Vector
The second point.

Return Value​

Double
The Euclidean distance.

See Also​

Reference​

Vector Structure
Avalonia Namespace