rotations¶
rot_matrix(angle_rad, axis=(0, 0, 1))
¶
Generate rotation matrix about arbitary axis https://en.wikipedia.org/wiki/Rotation_matrix#Rotation_matrix_from_axis_and_angle
Source code in mmg_toolbox/utils/rotations.py
rotation_t_matrix(value=0.0, vector=(0, 0, 1), offset=(0, 0, 0))
¶
Create 4x4 transformation matrix including a rotation
translation_t_matrix(value=0.0, vector=(0, 0, 1), offset=(0, 0, 0))
¶
Create 4x4 transformation matrix including a translation