|
The blo Library
|
Angle-axis representation of 3D rotation. More...
#include <AngleAxis3D.h>
Public Member Functions | |
| AngleAxis3D ()=default | |
| Default constructor. | |
| AngleAxis3D (const SmallMatrix< T, 3, 1 > &omega) | |
| Constructs angle-axis representation of 3D rotation. | |
| AngleAxis3D (const T &theta, const SmallMatrix< T, 3, 1 > &v) | |
| Constructs angle-axis representation of 3D rotation from rotation angle and axis that rotation is about. | |
| AngleAxis3D (const AngleAxis3D< T > &rhs) | |
| Copy constructor. | |
| virtual | ~AngleAxis3D ()=default |
| Destructor. | |
| AngleAxis3D< T > & | operator= (const AngleAxis3D< T > &rhs) |
| Assignment operator. | |
| void | set (const SmallMatrix< T, 3, 1 > &omega) |
| Sets angle-axis parameters. | |
| void | set (const T &theta, const SmallMatrix< T, 3, 1 > &v) |
| Sets angle-axis parameters. | |
| const SmallMatrix< T, 3, 1 > | asVector () const |
| Angle-axis representation of 3D rotation as vector. | |
| const T | angle () const |
| Angle of rotation. | |
| const SmallMatrix< T, 3, 1 > | axis () const |
| Axis of rotation. | |
Angle-axis representation of 3D rotation.
| T | Data type. |
|
default |
Default constructor.
|
explicit |
Constructs angle-axis representation of 3D rotation.
| omega | Angle-axis representation of 3D rotation as a vector. |
| blo::AngleAxis3D< T >::AngleAxis3D | ( | const T & | theta, |
| const SmallMatrix< T, 3, 1 > & | v | ||
| ) |
Constructs angle-axis representation of 3D rotation from rotation angle and axis that rotation is about.
Rotation through an angle theta about the axis represented by the vector v.
| theta | Angle of rotation in radians. |
| v | Vector representing the axis of rotation. |
| blo::AngleAxis3D< T >::AngleAxis3D | ( | const AngleAxis3D< T > & | rhs | ) |
Copy constructor.
|
virtualdefault |
Destructor.
| const T blo::AngleAxis3D< T >::angle | ( | ) | const |
Angle of rotation.
| const SmallMatrix< T, 3, 1 > blo::AngleAxis3D< T >::asVector | ( | ) | const |
Angle-axis representation of 3D rotation as vector.
| const SmallMatrix< T, 3, 1 > blo::AngleAxis3D< T >::axis | ( | ) | const |
Axis of rotation.
| AngleAxis3D< T > & blo::AngleAxis3D< T >::operator= | ( | const AngleAxis3D< T > & | rhs | ) |
Assignment operator.
| void blo::AngleAxis3D< T >::set | ( | const SmallMatrix< T, 3, 1 > & | omega | ) |
Sets angle-axis parameters.
| omega | Angle-axis representation of 3D rotation as a vector. |
| void blo::AngleAxis3D< T >::set | ( | const T & | theta, |
| const SmallMatrix< T, 3, 1 > & | v | ||
| ) |
Sets angle-axis parameters.
Rotation through an angle theta about the axis represented by the vector v.
| theta | Angle of rotation in radians. |
| v | Vector representing the axis of rotation. |