MobilityDB 1.3
Loading...
Searching...
No Matches

◆ trgeoseq_make1_exp()

TSequence * trgeoseq_make1_exp ( const GSERIALIZED geom,
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 | offset_geom | ...
----------------------------------------------------------------------
--------------------------------------------------
( TInstant_0 )_X | ( TInstant_1 )_X | ( Geom )_X |
--------------------------------------------------
Structure to represent temporal values of sequence subtype.
Definition: meos.h:202

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