#include <geometry.h>
Inheritance diagram for RotMatrix:


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 |
Friends | |
| class | RotMatrixVector |
This class represents 3 by 3 rotation matrix
Definition at line 62 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
| dvector& RotMatrix::operator[] | ( | unsigned int | index | ) | [inline] |
returns a row of rotation matrix
Definition at line 78 of file geometry.h.
| const dvector& RotMatrix::operator[] | ( | unsigned int | index | ) | const [inline] |
returns a row of rotation matrix
Definition at line 83 of file geometry.h.
| 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.
returns the product this * matrix
| RotMatrix::operator farray | ( | ) | const |
Returns the matrix as a 2-dim farray
| RotMatrix& RotMatrix::set_inplane_rotation | ( | float | phi | ) |
Create in-plane rotation matrix with angle 'phi' (in rad).
| STD_string RotMatrix::print | ( | ) | const |
returns a string describing the rotation matrix
1.5.1