Back to Aurora Vision Library Lite website

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

VectorLength


Header: AVL.h
Namespace: avl

Computes the length of a vector.

Syntax

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.