#include <gcu/matrix2d.h>
Public Member Functions | |
| Matrix2D () | |
| virtual | ~Matrix2D () |
| Matrix2D (double Angle, bool Deg=true) | |
| Matrix2D (double x11, double x12, double x21, double x22) | |
| Matrix2D & | operator * (Matrix2D &cMat) |
| Matrix2D & | operator= (Matrix2D &cMat) |
| void | Transform (double &dx, double &dy) |
Definition at line 34 of file matrix2d.h.
| gcu::Matrix2D::Matrix2D | ( | ) |
Default constructor. Members are not initialized. This constructor is rarely used.
| virtual gcu::Matrix2D::~Matrix2D | ( | ) | [virtual] |
The destructor of Matrix.
| gcu::Matrix2D::Matrix2D | ( | double | Angle, | |
| bool | Deg = true | |||
| ) |
| Angle,: | rotation angle. | |
| Deg,: | if true, Angle is expressed in degrees, otherwise in radians. Default is true. |
| gcu::Matrix2D::Matrix2D | ( | double | x11, | |
| double | x12, | |||
| double | x21, | |||
| double | x22 | |||
| ) |
| x11,: | value to use at first line and first column of the matrix. | |
| x12,: | value to use at first line and second column of the matrix. | |
| x21,: | value to use at second line and first column of the matrix. | |
| x22,: | value to use at second line and second column of the matrix. |
| cMat,: | a Matrix2D instance to use in the multiplication. |
| void gcu::Matrix2D::Transform | ( | double & | dx, | |
| double & | dy | |||
| ) |
| dx,: | the x coordinate. | |
| dy,: | the y coordinate. |
1.5.4