MobilityDB 1.1

◆ ensure_valid_tinstarr()

void ensure_valid_tinstarr ( const TInstant **  instants,
int  count,
bool  merge,
interpType  interp 
)

Ensure that all temporal instants of the array have increasing timestamp (or may be equal if the merge parameter is true), and if they are temporal points, have the same srid and the same dimensionality.

Parameters
[in]instantsArray of temporal instants
[in]countNumber of elements in the input array
[in]mergeTrue if a merge operation, which implies that the two consecutive instants may be equal
[in]interpInterpolation