MobilityDB  1.0

◆ tbox_tile_state_make()

static TboxGridState* tbox_tile_state_make ( TBOX box,
double  xsize,
int64  tunits,
double  xorigin,
TimestampTz  torigin 
)
static

Create the initial state that persists across multiple calls of the function.

Parameters
[in]boxBounds of the multidimensional grid
[in]xsizeValue size of the tiles
[in]tunitsTime size of the tiles in PostgreSQL time units
[in]xoriginValue origin of the tiles
[in]toriginTime origin of the tiles
Precondition
Both xsize and tunits must be greater than 0.