Back to Adaptive Vision Library Lite website
You are here: Start » Geometry 2D Basics » CreateVector
CreateVector
Produces a vector of given length and direction.
Syntax
void avl::CreateVector ( atl::real inLength, atl::real inDirection, avl::Vector2D& outVector )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inLength | real | Desired length of the vector in pixels | |
![]() |
inDirection | real | Desired direction of the vector in degrees | |
![]() |
outVector | Vector2D& | The resulting vector |


