You are here: Start » AVL.NET » AVL.VectorLength Method

AVL.VectorLength Method

Computes the length of a vector.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void VectorLength(
	AvlNet.Vector2D inVector,
	out float outLength
)

Parameters

Name Type Range Default Description
inVectorAvlNet.Vector2D
outLengthfloat

Examples

VectorLength performed on a vector with parameters: DeltaX = 10, DeltaY = 10.
outLength returns 14,142.

See also