resqpy.olio.vector_utilities.rotation_matrix_3d_axial¶
- resqpy.olio.vector_utilities.rotation_matrix_3d_axial(axis, angle)[source]¶
Returns a rotation matrix which will rotate points about axis (0: x, 1: y, or 2: z) by angle in degrees.
Note
this function follows the mathematical convention: a positive angle results in anti-clockwise rotation when viewed in direction of positive axis