Back to Adaptive Vision Library website

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

VectorLength


Computes the length of a vector.

Header:AVL.h

Syntax

C++
C#
 
void avl::VectorLength
(
	const avl::Vector2D& inVector,
	float& outLength
)

Parameters

Name Type Default Description
inVector const Vector2D&
outLength float&

Examples

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