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

◆ tgeoseq_split_n_stboxes()

STBox * tgeoseq_split_n_stboxes ( const TSequence seq,
int  box_count,
int *  count 
)

Return an array of N spatiotemporal boxes from the instants or segments of a temporal geo sequence, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous.

Parameters
[in]seqTemporal sequence
[in]box_countNumber of boxes
[out]countNumber of elements in the output array
Returns
If seq->count <= 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.