Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » RotateVector3D
RotateVector3D
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DLite |
Rotates a 3D vector around another 3D vector (the axis).
Syntax
C++
C#
void avl::RotateVector3D ( const avl::Vector3D& inVector3D, const avl::Vector3D& inAxisVector, float inAngle, bool inInverse, avl::Vector3D& outVector3D )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inVector3D | const Vector3D& | |||
inAxisVector | const Vector3D& | Vector to rotate around | ||
inAngle | float | Clockwise angle of rotation | ||
inInverse | bool | Switches to the inverse operation | ||
outVector3D | Vector3D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inVector3D and outVector3D, inAxisVector and outVector3D
Read more about In-place Computation.