#include <openbabel/math/transform3d.h>
Public Member Functions | |
transform3d (void) | |
transform3d (const matrix3x3 &m, const vector3 &v) | |
transform3d (double s) | |
transform3d (vector3 row1, vector3 row2, vector3 row3, vector3 translation) | |
transform3d (double d[3][3], double t[3]) | |
vector3 | operator* (const vector3 &) |
transform3d | operator* (const transform3d &) |
std::string | DescribeAsString () const |
std::string | DescribeAsValues () const |
void | Normalize () |
Friends | |
vector3 | operator* (const matrix3x3 &, const vector3 &) |
matrix3x3 | operator* (const matrix3x3 &, const matrix3x3 &) |
std::ostream & | operator<< (std::ostream &, const matrix3x3 &) |
transform3d | ( | void | ) | [inline] |
Referenced by transform3d::operator*().
transform3d | ( | const matrix3x3 & | m, | |
const vector3 & | v | |||
) | [inline] |
transform3d | ( | double | s | ) | [inline] |
transform3d | ( | vector3 | row1, | |
vector3 | row2, | |||
vector3 | row3, | |||
vector3 | translation | |||
) | [inline] |
Constructs a matrix from row vectors.
transform3d | ( | double | d[3][3], | |
double | t[3] | |||
) | [inline] |
Constructs a matrix from a 3x3-array of doubles.
The first index represents the row, the second index the column
transform3d operator* | ( | const transform3d & | t | ) |
string DescribeAsString | ( | ) | const |
string DescribeAsValues | ( | ) | const |
void Normalize | ( | ) |
Matrix-vector multiplication.
Calculates the product m*v of the matrix m and the column vector represented by v
Matrix-matrix multiplication.
std::ostream& operator<< | ( | std::ostream & | co, | |
const matrix3x3 & | m | |||
) | [friend, inherited] |
Output a text representation of a matrix.
Print a text representation of the matrix in the standardized form: [ a, b, c ]
[ d, e, f ]
[ g, h, i ]
where the letters represent the appropriate entries in the matrix. Uses the standard output format for the individual entries, separated by ", " for each column, and [ ] indicating each row.