Back to Aurora Vision Library website

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

VectorLength


Header: AVL.h
Namespace: avl
Module: FoundationLite

Computes the length of a vector.

Syntax

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

Parameters

Name Type Default Description
Input value inVector const Vector2D&
Output value outLength float&

Examples

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