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

◆ spanset_split_n_spans()

Span * spanset_split_n_spans ( const SpanSet ss,
int  span_count,
int *  count 
)

Return an array of N spans from the composing spans of a spanset.

Parameters
[in]ssSpan set
[in]span_countNumber of spans
[out]countNumber of elements in the output array
Returns
If the number of spans of the spanset is <= span_count, the result contains one span per composing span. On error return NULL
On error return NULL @csqlfn Spanset_split_n_spans()