Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Spatial Transforms » RotateVector3D
RotateVector3D
Rotates a 3D vector around another 3D vector (the axis).
Syntax
C++
C#
void avl::RotateVector3D ( const avl::Vector3D& inVector, const avl::Vector3D& inAxisVector, atl::real inAngle, bool inUseAxisLength, bool inInverse, avl::Vector3D& outVector )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inVector | const Vector3D& | ||
![]() |
inAxisVector | const Vector3D& | Vector to rotate around, | |
![]() |
inAngle | real | Clockwise angle of rotation | |
![]() |
inUseAxisLength | bool | Assume axis length to be the rotation angle, ignore inAngle (Rodrigues' Rotation) | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outVector | Vector3D& |


