Namespace: Rx.Net – Class: Vector2D – Assembly: Rx.Net

Vector2D.LengthSquared Method

C#
public readonly double LengthSquared()

Returns the length of the vector squared. This operation is cheaper than Length().

Returns

readonly double

The vector's length squared.