AbstractProtectedconstructorThe index of the piece t falls in, or -1 when t is outside [0, 1] or there are no pieces.
The x where piece index ends: the next piece's start, or 1 for the last.
The x where piece index starts.
Inserts func as a piece starting at t, after the pieces that start at or before it, so the
pieces stay sorted. t is clamped to [0, 1].
Moves the end of piece index, the next piece's start; the last piece always ends at 1, so
it is ignored there.
Moves the start of piece index; the first piece always starts at 0, so index 0 is ignored.
A function over [0, 1] made of pieces, each a function of type
Twith the x it starts at; a piece runs to the next one's start, the last to 1.