Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » RotateVector3D

RotateVector3D
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Rotates a 3D vector around another 3D vector (the axis).
Syntax
C++
C#
void fil::RotateVector3D ( const fil::Vector3D& inVector3D, const fil::Vector3D& inAxisVector, float inAngle, bool inInverse, fil::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.