Return an array of N temporal boxes from the instants or segments of a temporal number sequence, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous.
- Parameters
-
[in] | seq | Temporal sequence |
[in] | box_count | Number of elements in the output array |
[out] | count | Number of elements in the output array |
- Returns
- If the number of instants or segments is <=
box_count
, the result contains one box per instant or segment. Otherwise, consecutive instants or segments are combined into a single box in the result to reach the given number of boxes.