MobilityDB 1.1

◆ tseqarr2_to_tseqarr()

TSequence ** tseqarr2_to_tseqarr ( TSequence ***  sequences,
int *  countseqs,
int  count,
int  totalseqs 
)

Convert an array of arrays of temporal sequences into an array of temporal sequences.

This function is called by all the functions in which the number of output sequences cannot be determined in advance, typically when each segment of the input sequence can produce an arbitrary number of output sequences, as in the case of atGeometry.

Parameters
[in]sequencesArray of array of temporal sequences
[in]countseqsArray of counters
[in]countNumber of elements in the first dimension of the arrays
[in]totalseqsNumber of elements in the output array
Precondition
count and totalseqs are greater than 0