Darwin Neuroevolution Framework
|
A 3x3 homogeneous transformation matrix. More...
#include <math_2d.h>
Public Member Functions | |
HMatrix2d () | |
Constructs a zero-matrix. | |
void | setZero () |
Resets all the elements to zero. | |
void | setIdentity () |
Resets the matrix to identity | |
void | setTranslate (Scalar tx, Scalar ty) |
Resets the matrix to the specified translation transformation. | |
void | setScale (Scalar sx, Scalar sy) |
Resets the matrix to the specified scale transformation. | |
void | setRotation (Scalar angle) |
Resets the matrix to the specified rotation transformation. | |
HMatrix2d | operator* (const HMatrix2d &other) |
Matrix multiplication. | |
Vector2d | operator* (const Vector2d &v) |
Matrix x Vector multiplication. | |
Public Attributes | |
Scalar | m [3][3] |
Matrix elements. | |
A 3x3 homogeneous transformation matrix.