Create a rotation matrix corresponding to the rotation around a general axis by a specified angle.
R = dd^T + cos(a) (I - dd^T) + sin(a) skew(d)
Parameters:
angle : float a direction : array d
Extend a rotation matrix to homogenous coordinates.
Parameters:
mtx : 3 x 3 array R
Create a matrix whose application corresponds to translation to the point in homogenous coordinates.
Parameters:
point : array (x, y, z)