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

◆ tnumberseq_cont_split_n_tboxes_iter()

static int tnumberseq_cont_split_n_tboxes_iter ( const TSequence seq,
int  box_count,
TBox result 
)
static

Return an array of N temporal boxes from the segments of a temporal number sequence with continuous interpolation (iterator function)

Parameters
[in]seqTemporal value
[in]box_countNumber of elements in the output array
[out]resultIf 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.
Returns
Number of elements in the output array