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(
Point value1,
Point value2
)
Public Shared Function Distance (
value1 As Point,
value2 As Point
) As Double
static member Distance :
value1 : Point *
value2 : Point -> float
Parameters
Return Value
Double
The Euclidean distance.