Rotation

ipkiss3.all.Rotation(rotation_center=None, rotation=0.0, absolute_rotation=False)

Rotation around point rotation_center over a given angle rotation (in degrees).

Parameters:
rotation_center: tuple[float, float] or Coord2, optional

The rotation center, will be incorporated in the default translation. Default is (0.0, 0.0).

rotation: float, optional

The rotation angle in degrees. Default is 0.0.

absolute_rotation: bool, optional

Whether to lock the rotation angle so that subsequent transformations will not affect it. Default is False.

Returns:
A NoDistortTransform object