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

◆ tgeo_space_time_tile_init()

STboxGridState * tgeo_space_time_tile_init ( const Temporal temp,
double  xsize,
double  ysize,
double  zsize,
const Interval duration,
const GSERIALIZED sorigin,
TimestampTz  torigin,
bool  bitmatrix,
bool  border_inc,
int *  ntiles 
)

Set the state with a temporal point and a space and possibly time grid for splitting or obtaining a set of spatiotemporal boxes.

Parameters
[in]tempTemporal point
[in]xsize,ysize,zsizeSize of the corresponding dimension
[in]durationSize of the time dimension as an interval
[in]soriginOrigin for the space dimension
[in]toriginOrigin for the time dimension
[in]bitmatrixTrue when using a bitmatrix to speed up the computation
[in]border_incTrue when the box contains the upper border, otherwise the upper border is assumed as outside of the box.
[out]ntilesNumber of tiles