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

◆ tcontseq_split_n_spans_iter()

static int tcontseq_split_n_spans_iter ( const TSequence seq,
int  span_count,
Span result 
)
static

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

Parameters
[in]seqTemporal sequence
[in]span_countNumber of spans
[in]resultArray of spans. If the number of segments in the sequence is <= span_count, the result contains one span per segment. Otherwise, consecutive segments are combined into a single span in the result to reach the number of spans.
Returns
Number of elements in the output array