The end joint, the mid segment's direction by swivel and the margin.
How far past a bound, in sine or projected units, a reading must lie to be refused; negative keeps the result strictly inside.
The refused arcs merged over a turn, every swivel, or null when the analysis does not apply (distalEndSwivelReadings.of).
The swivels at which the end joint of a chain whose mid segment twists distally (a wrist beyond a forearm) cannot take a requested rotation inside its range, as arcs in closed form.
The end joint's two free angles are read off where the mid segment points in the requested rotation's frame (
distalEndSwivelReadingsstates the derivation): the abduction by its sine-d_flexion, the flexion by the vector(d_abduction, d_twist), every component a sinusoid of the swivel. Each bound of the joint's box therefore refuses the arc where its sinusoid exceeds the margin (swivelArcs), asboxExcludedSwivelsreads a root joint's box.The arcs say nothing of the mid segment's own twist range: the twist the request leaves it is not a sinusoid of the swivel, though where it meets an end of its range is (
distalTwistSwivelRange), and the swivel chosen is the caller's to verify.