AngelCAD
1.5-00
|
Abstract base matrix for transformations. More...
#include <angelcad.h>
Public Member Functions | |
pos2d@ | opMul (pos2d@ obj) |
Multiply a position with transformation and return a new position. More... | |
pos3d@ | opMul (pos3d@ obj) |
transform a point: pos3d@ p = T*obj; More... | |
pos3d@ | origin () const |
Return origin of transformation (4th column) More... | |
shape2d@ | opMul (shape2d@ obj) |
transform a 2d shape: shape2d@ s = T*obj; More... | |
solid@ | opMul (solid@ obj) |
transform a solid: solid@ s = T*obj; More... | |
tmatrix@ | opMul (const tmatrix@ B) |
matrix multiplication: A = T*B More... | |
vec3d@ | xdir () const |
Return x direction vector. More... | |
vec3d@ | ydir () const |
Return y direction vector. More... | |
vec3d@ | zdir () const |
Return z direction vector. More... | |
void | dump () const |
dump matrix to console More... | |
Abstract base matrix for transformations.
a tmatrix an abstract base class for all transformations.
void tmatrix::dump | ( | ) | const |
dump matrix to console
transform a solid: solid@ s = T*obj;
obj | solid@, object to be transformed |
matrix multiplication: A = T*B
B | tmatrix@, matrix to be post-multiplied with this matrix |