Rotation¶
-
class
ipkiss3.all.
Rotation
(rotation_center=(0.0, 0.0), rotation=0.0, absolute_rotation=False, **kwargs)¶ Rotation around point
rotation_center
over a given anglerotation
(in degrees).Parameters: absolute_rotation: ( bool, bool_, bool or int ), optional
rotation: optional
absolute_magnification: optional
magnification: optional
translation: optional
v_mirror: optional
mirror_center: Coord2, optional
mirror_plane_x: Real, number, optional
mirror_plane_y: Real, number, optional
rotation_center: Coord2, optional
-
set_rotation
(value)¶
-
apply_to_coord
(coord)¶ apply transformation to coordinate
-
reverse_on_coord
(coord)¶ apply reverse transformation to coordinate
-
apply_to_array
(coords)¶ apply transformation to numpy array
-
reverse_on_array
(coords)¶ internal use: applies reverse transformation to a numpy array
-
apply_to_angle_deg
(angle)¶ apply transformation to absolute angle (degrees)
-
reverse_on_angle_deg
(angle)¶ apply transformation to absolute angle (degrees)
-
apply_to_angle_rad
(angle)¶ applies transformation to absolute angle (radians)
-
reverse_on_angle_rad
(angle)¶ applies reverse transformation to absolute angle (radians)
-
is_identity
()¶ returns True if the transformation does nothing
-