![]() |
Polygon Crucher SDK - Documentation
Documentation
|
Get the different components of a C4x4Matrix, or set a matrix from this different components. More...
Get the different components of a C4x4Matrix, or set a matrix from this different components.
#include <4x4Matrix.h>
Public Member Functions | |
C3DVectorD & | Translation () |
C3DVectorD & | Scale () |
CQuaternion & | Rotation () |
CQuaternion & | Stretch () |
double & | Determinant () |
C3DVector | GetTranslationF () const |
C3DVector | GetScaleF () const |
Friends | |
DLL_3DFUNCTION void | Decompose (const C4x4MatrixD &matrix, MatrixDecomposition &components) |
Decompose a C4x4Matrix and get MatrixDecomposition components. | |
DLL_3DFUNCTION C4x4MatrixD | Recompose (const MatrixDecomposition &components) |
Recompose a C4x4Matrix from MatrixDecomposition provided components. | |
DLL_3DFUNCTION bool | IsTrsDecomposable (const C4x4MatrixD &matrix) |
Returns true if the matrix can be decomposed using a translation / rotation and scale matrix. Return false if the matrix has some stretch for example. | |