| IOLink 1.11.0

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
iolink::TransformMatrix3Factory Class Reference

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.

## Detailed Description

Create matrices for 2D transforms.

## Member Function Documentation

## ◆ rotation()

static Matrix3d iolink::TransformMatrix3Factory::rotation | ( | double | angle | ) |
| static

Create a rotation matrix.

The rotation is done counter-clockwise, with the Y axis being up.

Parameters

  angle | The angle of the rotation.

Returns
  The rotation matrix.

## ◆ scaling()

static Matrix3d iolink::TransformMatrix3Factory::scaling | ( | const Vector2d & | v | ) |
| static

Create a Scaling matrix.

Parameters

  v | The scaling factors.

Returns
  The scaling matrix.

## ◆ translation()

static Matrix3d iolink::TransformMatrix3Factory::translation | ( | const Vector2d & | v | ) |
| static

Create a translation matrix.

Parameters

  v | The vector used for the translation.

Returns
  The translation matrix.

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

- iolink/public/include/iolink/TransformMatrixFactory.h