RotationAngles
Implementation of the model angles class
RotationAngles
Canonical path: StdReinfShapeBuilder.RotationAngles.RotationAngles
Class describing the rotation of a geometrical object around the three axes (X,Y,Z) in order to transform it from local to global coordinate system or the other way around.
Often used in context of transforming a bending shape (rebar or mesh).
__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
change_rotation
change_rotation() -> RotationAngles
Inverse rotation direction
Returns:
-
RotationAngles
–RotationAngles with the inverted rotation direction
Placeholder