OEGeom3DMakeQuaternion

OEGeom3DMakeQuaternion(quat: OEDoubleArray, vec: OEDoubleArray,
                       angle: float) -> None

Construct a 4-element quaternion pointed to by quat from the 3-element vector vec and the angle angle. This quaternion represents a 3D rotation around the axis of vec by the angle angle.

Warning

Translation is not taken into account by this function.