You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Features » AVL.VectorLength

AVL.VectorLength

Computes the length of a vector.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
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