Distance Method
Computes the Euclidean distance between the two given points.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static double Distance(
Vector value1,
Vector value2
)
Public Shared Function Distance (
value1 As Vector,
value2 As Vector
) As Double
static member Distance :
value1 : Vector *
value2 : Vector -> float
Parameters
Return Value
Double
The Euclidean distance.