#include <rotation.hh>
Public Types | |
typedef rotation< n, C > | invert |
Type of the inverse function. | |
Public Member Functions | |
invert | inv () const |
Return the invere function. | |
algebra::vec< n, C > | operator() (const algebra::vec< n, C > &v) const |
Perform the rotation of the given vector. | |
rotation (const algebra::h_mat< n, C > &m) | |
Constructor with h_mat. | |
rotation (const algebra::quat &q) | |
Constructor with quaternion. | |
rotation (C alpha, const algebra::vec< n, C > &axis) | |
Constructor with radian alpha and a facultative direction (rotation axis). | |
rotation () | |
Constructor without argument. | |
void | set_alpha (C alpha) |
Set a new grade alpha. | |
void | set_axis (const algebra::vec< n, C > &axis) |
Set a new rotation axis. |
typedef rotation<n,C> mln::fun::x2x::rotation< n, C >::invert |
Type of the inverse function.
mln::fun::x2x::rotation< n, C >::rotation | ( | ) | [inline] |
Constructor without argument.
mln::fun::x2x::rotation< n, C >::rotation | ( | C | alpha, | |
const algebra::vec< n, C > & | axis | |||
) | [inline] |
Constructor with radian alpha and a facultative direction (rotation axis).
mln::fun::x2x::rotation< n, C >::rotation | ( | const algebra::quat & | q | ) | [inline] |
mln::fun::x2x::rotation< n, C >::rotation | ( | const algebra::h_mat< n, C > & | m | ) | [inline] |
Constructor with h_mat.
rotation< n, C > mln::fun::x2x::rotation< n, C >::inv | ( | ) | const [inline] |
Return the invere function.
algebra::vec< n, C > mln::fun::x2x::rotation< n, C >::operator() | ( | const algebra::vec< n, C > & | v | ) | const [inline] |
Perform the rotation of the given vector.
void mln::fun::x2x::rotation< n, C >::set_alpha | ( | C | alpha | ) | [inline] |
Set a new grade alpha.
void mln::fun::x2x::rotation< n, C >::set_axis | ( | const algebra::vec< n, C > & | axis | ) | [inline] |
Set a new rotation axis.