VectorDistanceSquared Method
Returns the Euclidean distance squared between two specified points
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static double DistanceSquared(
Vector value1,
Vector value2
)
Public Shared Function DistanceSquared (
value1 As Vector,
value2 As Vector
) As Double
static member DistanceSquared :
value1 : Vector *
value2 : Vector -> float
- value1 Vector
- The first point.
- value2 Vector
- The second point.
DoubleThe Euclidean distance squared.