AutoMovie API
    Preparing search index...

    The swivels' admission by the twist range.

    interface IRange {
        admits: (swivel: number) => boolean;
        breaks: number[];
        miss: (
            middle: readonly [number, number],
            sense: -1 | 1,
        ) => (low: number, high: number) => number;
    }
    Index
    admits: (swivel: number) => boolean

    Whether the twist asked at a swivel, degrees, exists and lies inside the range.

    breaks: number[]

    The swivels, degrees in [0, 360), at which the admission may change.

    miss: (
        middle: readonly [number, number],
        sense: -1 | 1,
    ) => (low: number, high: number) => number

    A certified lower bound, degrees, of how far any pose the two joints can show misses the requested end rotation over the swivels from low to high degrees, never negative. Given the end joint's middle-angle interval (its abduction, rest-relative degrees within a quarter turn either way) and the sense of axis along the mid segment (1 when it points toward the end joint, -1 when away from it), where the end joint's rest carries its right-handed twist axis onto the mid segment's direction (distalEndSwivelReadings' own premise): with the mid segment twisted by r and the end joint abducted by a, the shown rotation carries the end joint's flexion axis to T(axis, r) (cos a ahead - sense sin a axis), a rectangle of latitudes a about axis and longitudes r from ahead, while the requested rotation carries it to the carried axis x(s). A rotation by an angle moves no unit vector by more than that angle, so the miss is at least the spherical distance from x(s) to that rectangle (sphericalBoxMiss); x(s) moves by at most its circle's radius per unit of swivel, so over an interval the bound is its value at the middle less the radius times the half width, lowered by twice the joints' tolerance (ROM_TOLERANCE), within which each of the two angles may stand past its interval. Its premise is ahead unit and perpendicular to axis.