axis2quat edit page

rotational axis, roational angle to Quaternion

Decription

defines a rotation by a rotational axis and a roational angle

Syntax

q = achs2quat(x,y,z,omega)
q = achs2quat(v,omega)

Input

x,y,z rotational axis (double)
v rotational axis (vector3d)
omega rotational angle

Output

q quaternion

See also

<quaternion.quaternion.html quaternion.quaternion> <euler2quat.html euler2quat> <Miller2quat.html Miller2quat> <vec42quat.html vec42quat> <hr2quat.html hr2quat>