hold upsert runs into the geometry of the object’s next event when that event is an upsert (before a
delete it holds) and nothing is stored in between, so the formulas here are the label: they mirror the editor’s
(cord-frontend labels/events/linear.ts, via three.js) and must not change. A new rule is a new mode.
InterpolationMode
"hold": the geometry stands until the next event (what an unset field means). "linear": it moves in a
straight line, over time, into the next upsert’s.
INTERPOLATED_CONFIDENCE
Confidence of a derived frame, matching the editor.INTERPOLATION_SHAPES
The shapes each non-hold mode supports. hold supports every shape.
check_interpolation_supported
mode is readable on shape (a Shape or its value).
Raises:
ValueError- For an unknown mode, or a mode the shape does not support.
interpolate
start a fraction of the way to end under mode, or None where it holds.
