RotationUtil
Implementation of the rotation utility
RotationUtil
Canonical path: Utils.RotationUtil.RotationUtil
Class used to describe the rotation around the three axes (X,Y,Z) in order to transform a geometry from local to global coordinate system or the other way around.
Often used in context of transforming a bending shape (rebar or mesh) from/to its local coordinate system.
__init__
Construct the object by setting all three angles. The angles are given in degrees.
Parameters:
-
angle_x
(float
) –Rotation angle (degree) around the local x axis
-
angle_y
(float
) –Rotation angle (degree) around the local y axis
-
angle_z
(float
) –Rotation angle (degree) around the local z axis
__repr__
create a string from the object data
Returns:
-
str
–string with the object data
get_rotation_matrix
Placeholder