IOLink Python 1.11.0
Loading...
Searching...
No Matches
iolink.iolink.TransformMatrix3Factory Class Reference
Inheritance diagram for iolink.iolink.TransformMatrix3Factory:

Public Member Functions

 __init__ (self)
 

Static Public Member Functions

 translation (v)
 
 rotation (angle)
 
 scaling (v)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Create matrices for 2D transforms.

Member Function Documentation

◆ rotation()

iolink.iolink.TransformMatrix3Factory.rotation (   angle)
static
    Create a rotation matrix.

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

    :type angle: float
    :param angle: The angle of the rotation.
    :rtype: :py:class:`Matrix3d`
    :return: The rotation matrix.

◆ scaling()

iolink.iolink.TransformMatrix3Factory.scaling (   v)
static
    Create a Scaling matrix.

    :type v: :py:class:`Vector2d`
    :param v: The scaling factors.
    :rtype: :py:class:`Matrix3d`
    :return: The scaling matrix.

◆ translation()

iolink.iolink.TransformMatrix3Factory.translation (   v)
static
    Create a translation matrix.

    :type v: :py:class:`Vector2d`
    :param v: The vector used for the translation.
    :rtype: :py:class:`Matrix3d`
    :return: The translation matrix.

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