AutoMovie API
    Preparing search index...

    Function distalEndSwivelArcs

    • 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 (distalEndSwivelReadings states 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), as boxExcludedSwivels reads 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.

      Parameters

      • props: distalEndSwivelReadings.IProps & { margin: number }

        The end joint, the mid segment's direction by swivel and the margin.

        • margin: number

          How far past a bound, in sine or projected units, a reading must lie to be refused; negative keeps the result strictly inside.

      Returns "all" | IAutoMovieSwivelArcs.IArc[] | null

      The refused arcs merged over a turn, every swivel, or null when the analysis does not apply (distalEndSwivelReadings.of).