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

◆ trgeoseqset_make1_exp()

TSequenceSet * trgeoseqset_make1_exp ( const GSERIALIZED geom,
const TSequence **  sequences,
int  count,
int  maxcount,
bool  normalize 
)

Construct a temporal sequence set from an array of temporal sequences.

For example, the memory structure of a temporal sequence set with two sequences is as follows

-------------------------------------------------------------------------
( TSequenceSet )_X | ( bbox )_X | offset_0 | offset_1 | offset_geom | ...
-------------------------------------------------------------------------
----------------------------------------------------
( TSequence_0 )_X | ( TSequence_1 )_X | ( Geom )_X |
----------------------------------------------------
Structure to represent temporal values of sequence set subtype.
Definition: meos.h:224

where the _X are unused bytes added for double padding, offset_0 and offset_1 are offsets for the corresponding sequences.

Parameters
[in]geomReference geometry
[in]sequencesArray of sequences
[in]countNumber of elements in the array
[in]maxcountMaximum number of elements in the array
[in]normalizeTrue if the resulting value should be normalized. In particular, normalize is false when synchronizing two temporal sequence sets before applying an operation to them.