Bone-local articulation rotation; unit length expected.
Orthonormal clinical axis basis, as normalizeJointAxes returns it.
Optionalframe: IAutoMovieRestFrame
Rest frame lifting rest-relative angles to clinical ones; omitted, the angles stay rest-relative.
Optionaldomain: IAutoMovieJointRotationDomain
Bone and resolved ROM that choose among equivalent charts;
omitted or with a null constraint, the principal chart is returned.
decomposeJointRotation on a basis its caller already admitted and normalized through normalizeJointAxes: the extraction itself, with no validation of the basis.
A solver that decomposes hundreds of candidate rotations of one joint normalizes that joint's basis once and calls this for each candidate, so the basis is checked once per solve rather than once per candidate. The angles, the gimbal convention, the handedness correction, the frame lift and the chart choice are
decomposeJointRotation's, which documents them and is this function behind one normalization.Throws on a non-finite quaternion component. A basis that is not orthonormal gives angles that do not rebuild the rotation; nothing here detects it.