Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Basics » CreateVector
Produces a vector of given length and direction.
Syntax
C++
C#
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 |


