The bone.
The skeleton.
The clamp of a joint of that bone.
States the one-bone closure, fixed-input operation scope, skeleton mutation boundary and caller-owned lifetime. Uses the first matching bone for override precedence and the shared private constraint gate, resolving a current skeleton frame only for an actual swing-twist clamp. One first-bone lookup and one shared clamp preparation; numerical projection stays in clampJointRom. Missing bones preserve default ROM, and an unconstrained bone never resolves a swing-twist frame. O(B) lookup and, only for a swing-twist constraint, an O(B) axis merge are paid once per closure; box/cone clamps skip unused axes metadata and later invocations perform the existing projection only. The closure borrows this operation's resolved constraint and frame; a new preparation reads current skeleton contents, including axes replaced on the same bones list. The caller owns one closure borrowing one constraint and frame until its solve ends; no global skeleton cache, task or handle is retained.
One bone's clamp under a skeleton, its override or the humanoid table and its swing-twist frame resolved once, for a caller that clamps the same bone many times within one solve (a sweep's candidates): each call clamps exactly as
clampJointToSkeletondoes with the skeleton as it stood when the clamp was made. Nothing is kept beyond the closure, since a skeleton's contents may change between solves.