#include <matrix.h>
Public Member Functions | |
Coord | descrim () const |
Coord | descrim2 () const |
Coord | det () const |
Point | expansion () const |
double | expansionX () const |
double | expansionY () const |
bool | flips () const |
Matrix | inverse () const |
bool | isIdentity (Coord eps=EPSILON) const |
bool | isRotation (double eps=EPSILON) const |
bool | isScale (double eps=EPSILON) const |
bool | isSingular (double eps=EPSILON) const |
bool | isTranslation (Coord eps=EPSILON) const |
bool | isUniformScale (double eps=EPSILON) const |
Matrix (Matrix const &m) | |
Matrix (Coord c0, Coord c1, Coord c2, Coord c3, Coord c4, Coord c5) | |
bool | onlyScaleAndTranslation (double eps=EPSILON) const |
Matrix & | operator= (Matrix const &m) |
Coord | operator[] (unsigned const i) const |
Coord & | operator[] (unsigned const i) |
void | setExpansionX (double val) |
void | setExpansionY (double val) |
void | setIdentity () |
void | setTranslation (Point const &loc) |
void | setXAxis (Point const &vec) |
void | setYAxis (Point const &vec) |
Point | translation () const |
Matrix | without_translation () const |
Point | xAxis () const |
Point | yAxis () const |
Private Attributes | |
Coord | _c [6] |
The Matrix class.
For purposes of multiplication, points should be thought of as row vectors
to be right-multiplied by transformation matrices of the form
(so the columns of the matrix correspond to the columns (elements) of the result, and the rows of the matrix correspond to columns (elements) of the "input").
Definition at line 46 of file matrix.h.