MobilityDB  1.0

◆ tsequencearr2_to_tsequencearr()

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

Convert an array of arrays of temporal sequence values into an array of sequence values.

This function is called by all the functions in which the number of output sequences is not bounded, 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 sequence values
[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