MobilityDB 1.3
Loading...
Searching...
No Matches

◆ tnumberseqset_split_n_tboxes()

TBox * tnumberseqset_split_n_tboxes ( const TSequenceSet ss,
int  box_count,
int *  count 
)

Return an array of N temporal boxes from the segments of a temporal number sequence set.

Parameters
[in]ssTemporal sequence set
[in]box_countNumber of elements in the output array
[out]countNumber of elements in the output array
Returns
If the number of segments is <= box_count, the result contains one box per segment. Otherwise, consecutive segments are combined into a single box in the result to reach the given number of boxes.