MobilityDB 1.1

◆ tsequence_make1_exp()

TSequence * tsequence_make1_exp ( const TInstant **  instants,
int  count,
int  maxcount,
bool  lower_inc,
bool  upper_inc,
interpType  interp,
bool  normalize 
)

Construct a temporal sequence from an array of temporal instants.

For example, the memory structure of a temporal sequence with two instants is as follows:

---------------------------------------------------------
( TSequence )_X | ( bbox )_X | offset_0 | offset_1 | ...
---------------------------------------------------------
-------------------------------------
( TInstant_0 )_X | ( TInstant_1 )_X |
-------------------------------------
Structure to represent temporal values of instant set or sequence subtype.
Definition: meos.h:165

where the X are unused bytes added for double padding, offset_0 and offset_1 are offsets for the corresponding instants

Precondition
The validity of the arguments has been tested before