![]() |
IOLink 1.11.0
|
Create matrices for 2D transforms. More...
#include <iolink/TransformMatrixFactory.h>
Static Public Member Functions | |
| static Matrix3d | translation (const Vector2d &v) |
| Create a translation matrix. | |
| static Matrix3d | rotation (double angle) |
| Create a rotation matrix. | |
| static Matrix3d | scaling (const Vector2d &v) |
| Create a Scaling matrix. | |
Create matrices for 2D transforms.
|
static |
Create a rotation matrix.
The rotation is done counter-clockwise, with the Y axis being up.
| angle | The angle of the rotation. |
Create a Scaling matrix.
| v | The scaling factors. |
Create a translation matrix.
| v | The vector used for the translation. |