skued.rotation_matrix
- skued.rotation_matrix(angle, axis=(0, 0, 1))
Return matrix to rotate about axis defined by direction around the origin [0,0,0]. To combine rotation and translations, see http://www.euclideanspace.com/maths/geometry/affine/matrix4x4/index.htm
- Parameters:
angle (float) – Rotation angle [rad]
axis (array-like of length 3) – Axis about which to rotate
- Returns:
matrix – Rotation matrix.
- Return type:
~numpy.ndarray, shape (3,3)
See also