dime  0.9.1
Portable DXF file library
Loading...
Searching...
No Matches
dimeMatrix Class Reference

The dimeMatrix class is for containing and operating on a four-by-four matrix. More...

#include <dime/util/Linear.h>

Public Member Functions

 dimeMatrix (const dimeMatrix &matrix)
 
 dimeMatrix (dxfdouble a11, dxfdouble a12, dxfdouble a13, dxfdouble a14, dxfdouble a21, dxfdouble a22, dxfdouble a23, dxfdouble a24, dxfdouble a31, dxfdouble a32, dxfdouble a33, dxfdouble a34, dxfdouble a41, dxfdouble a42, dxfdouble a43, dxfdouble a44)
 
dxfdouble determinant (const int i=-2, const int j=-1)
 
bool inverse ()
 
bool inverse2 ()
 
bool isIdentity () const
 
void makeIdentity ()
 
dimeMatrixmultLeft (const dimeMatrix &m)
 
void multMatrixVec (const dimeVec3f &src, dimeVec3f &dst) const
 
void multMatrixVec (dimeVec3f &vec) const
 
dimeMatrixmultRight (const dimeMatrix &m)
 
 operator dxfdouble * ()
 
dimeMatrixoperator*= (const dimeMatrix &m)
 
void operator*= (const dxfdouble val)
 
dimeMatrixoperator= (const dimeMatrix &m)
 
dxfdouble * operator[] (int i)
 
const dxfdouble * operator[] (int i) const
 
void setRotate (const dimeVec3f &rot)
 
void setRotate (const dimeVec3f &x, const dimeVec3f &y, const dimeVec3f &z)
 
void setRotation (const dimeVec3f &u, const dxfdouble angle)
 
void setScale (const dimeVec3f &s)
 
void setScale (const dxfdouble s)
 
void setTransform (const dimeVec3f &translation, const dimeVec3f &scalefactor, const dimeVec3f &rotAngles)
 
void setTranslate (const dimeVec3f &t)
 
void transpose ()
 

Static Public Member Functions

static dimeMatrix identity ()
 

Detailed Description

The dimeMatrix class is for containing and operating on a four-by-four matrix.


The documentation for this class was generated from the following files: