VectorDistanceSquared Method

Returns the Euclidean distance squared between two specified points

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static double DistanceSquared(
	Vector value1,
	Vector value2
)

Parameters

value1  Vector
The first point.
value2  Vector
The second point.

Return Value

Double
The Euclidean distance squared.

See Also