MobilityDB 1.1

◆ tinstarr_normalize()

static TInstant ** tinstarr_normalize ( const TInstant **  instants,
interpType  interp,
int  count,
int *  newcount 
)
static

Normalize the array of temporal instants.

Parameters
[in]instantsArray of input instants
[in]interpInterpolation
[in]countNumber of elements in the input array
[out]newcountNumber of elements in the output array
Returns
Array of normalized temporal instants
Precondition
The input array has at least two elements
Note
The function does not create new instants, it creates an array of pointers to a subset of the input instants