#include <math3d.hpp>
Public Member Functions | |
transf3d () | |
transf3d (const vect3d &r1, const vect3d &r2, const vect3d &r3) | |
transf3d (prec_t f1, prec_t f2, prec_t f3, prec_t f4, prec_t f5, prec_t f6, prec_t f7, prec_t f8, prec_t f9) | |
void | print (const char *name=0) const |
Print transformation matrix into the stdout. | |
void | identity () |
Create an identity transformation. | |
void | reflect (const vect3d &n) |
Create a reflection transformation based on a plane vector. | |
vect3d | transform (const vect3d &v) const |
Transform the given vector. | |
prec_t | det () const |
Calculate the determinant of this matrix. | |
transf3d | transpose () const |
Transpose of the matrix. | |
transf3d | adj () const |
Adjugate of the matrix. | |
transf3d | inverse () const |
Public Attributes | |
prec_t | a |
prec_t | b |
prec_t | c |
prec_t | d |
prec_t | e |
prec_t | f |
prec_t | g |
prec_t | h |
prec_t | i |
Friends | |
transf3d | operator/ (const transf3d &t, prec_t f) |
transf3d | operator * (const transf3d &t, prec_t f) |
transf3d | operator * (prec_t f, const transf3d &t) |
vect3d | operator * (const transf3d &t, const vect3d &v) |
transf3d | operator * (const transf3d &l, const transf3d r) |
No support for affine transformations.
Definition at line 515 of file math3d.hpp.
transf3d::transf3d | ( | ) | [inline] |
void transf3d::print | ( | const char * | name = 0 |
) | const |
Print transformation matrix into the stdout.
void transf3d::identity | ( | ) | [inline] |
void transf3d::reflect | ( | const vect3d & | n | ) | [inline] |
prec_t transf3d::det | ( | ) | const [inline] |
transf3d transf3d::transpose | ( | ) | const [inline] |
transf3d transf3d::adj | ( | ) | const [inline] |
transf3d transf3d::inverse | ( | ) | const [inline] |
Definition at line 594 of file math3d.hpp.
Definition at line 602 of file math3d.hpp.
Definition at line 610 of file math3d.hpp.
Definition at line 618 of file math3d.hpp.
Definition at line 623 of file math3d.hpp.
Definition at line 517 of file math3d.hpp.
Referenced by adj(), det(), identity(), reflect(), transf3d(), transform(), and transpose().
Definition at line 517 of file math3d.hpp.
Referenced by adj(), det(), identity(), reflect(), transf3d(), transform(), and transpose().
Definition at line 517 of file math3d.hpp.
Referenced by adj(), det(), identity(), reflect(), transf3d(), transform(), and transpose().
Definition at line 518 of file math3d.hpp.
Referenced by adj(), det(), identity(), reflect(), transf3d(), transform(), and transpose().
Definition at line 518 of file math3d.hpp.
Definition at line 518 of file math3d.hpp.
Referenced by adj(), det(), identity(), reflect(), transf3d(), transform(), and transpose().
Definition at line 519 of file math3d.hpp.
Referenced by adj(), det(), identity(), reflect(), transf3d(), transform(), and transpose().
Definition at line 519 of file math3d.hpp.
Referenced by adj(), det(), identity(), reflect(), transf3d(), transform(), and transpose().
Definition at line 519 of file math3d.hpp.
Referenced by adj(), det(), identity(), reflect(), transf3d(), transform(), and transpose().