findTimeInterval

Finds an index i in times such that the parameter time is in the interval [times[i], times[i + 1]].

Since a constant spline has no internal times array, this will throw an error.

Parameters

time

The time.

See also