|
ODIN
|
Rotation Matrix. More...
#include <geometry.h>

Public Member Functions | |
| RotMatrix (const STD_string &object_label="unnamedRotMatrix") | |
| RotMatrix (const RotMatrix &sct) | |
| dvector & | operator[] (unsigned int index) |
| const dvector & | operator[] (unsigned int index) const |
| RotMatrix & | operator= (const RotMatrix &sct) |
| bool | operator== (const RotMatrix &srm) const |
| dvector | operator* (const dvector &vec) const |
| RotMatrix | operator* (const RotMatrix &matrix) const |
| operator farray () const | |
| RotMatrix & | set_inplane_rotation (float phi) |
| STD_string | print () const |
Public Member Functions inherited from Labeled | |
| Labeled (const STD_string &label="unnamed") | |
| Labeled & | set_label (const STD_string &label) |
| const STD_string & | get_label () const |
| Labeled & | operator= (const Labeled &l) |
Rotation Matrix.
This class represents 3 by 3 rotation matrix
Definition at line 67 of file geometry.h.
| RotMatrix::RotMatrix | ( | const STD_string & | object_label = "unnamedRotMatrix" | ) |
default constructor for a 3 by 3 rotation matrix
| RotMatrix::RotMatrix | ( | const RotMatrix & | sct | ) |
constructs a rotation matrix from an existing rotation matrix
| RotMatrix::operator farray | ( | ) | const |
Returns the matrix as a 2-dim farray
| bool RotMatrix::operator== | ( | const RotMatrix & | srm | ) | const |
returns true if srm is element-wise equal to this. Two elements are considered equal if their difference does not exceed GEO_CHECK_LIMIT.
|
inline |
returns a row of rotation matrix
Definition at line 83 of file geometry.h.
|
inline |
returns a row of rotation matrix
Definition at line 88 of file geometry.h.
| STD_string RotMatrix::print | ( | ) | const |
returns a string describing the rotation matrix
| RotMatrix& RotMatrix::set_inplane_rotation | ( | float | phi | ) |
Create anti-clockwise in-plane rotation matrix with angle 'phi' (in rad).