Vector2d.LengthSquared Property

Definition

Gets the square of the vector length (magnitude).

public double LengthSquared { get; }
member this.LengthSquared : double

Property Value

Remarks

This property avoids the costly square root operation required by the Length property. This makes it more suitable for comparisons. Length

Applies to