Back to Adaptive Vision Library Lite website
You are here: Start » Geometry 2D Features » VectorLength
![](../../img/icon/VectorFeature.png)
VectorLength
Computes the length of a vector.
Syntax
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.