MobilityDB 1.1
Data Structures | Macros | Typedefs | Functions
tpoint_tile.h File Reference
#include "general/temporal.h"
Include dependency graph for tpoint_tile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  BitMatrix
 Structure for storing a bit matrix. More...
 
struct  STboxGridState
 Struct for storing the state that persists across multiple calls generating a multidimensional grid. More...
 

Macros

#define MAXDIMS   4
 Functions for spatiotemporal bounding boxes. More...
 

Typedefs

typedef struct STboxGridState STboxGridState
 Struct for storing the state that persists across multiple calls generating a multidimensional grid. More...
 

Functions

BitMatrixbitmatrix_make (int *count, int numdims)
 Functions for spatial and spatiotemporal tiles. More...
 
void stbox_tile_set (double x, double y, double z, TimestampTz t, double size, int64 tunits, bool hasz, bool hast, int32 srid, STBox *result)
 Generate a tile from the current state of the multidimensional grid. More...
 
bool stbox_tile_state_get (STboxGridState *state, STBox *box)
 Get the current tile of the multidimensional grid. More...
 
STboxGridStatestbox_tile_state_make (const Temporal *temp, const STBox *box, double size, int64 tunits, POINT3DZ sorigin, TimestampTz torigin)
 Create the initial state that persists across multiple calls of the function. More...
 
void stbox_tile_state_next (STboxGridState *state)
 Increment the current state to the next tile of the multidimensional grid. More...
 
void tpoint_set_tiles (const Temporal *temp, const STboxGridState *state, BitMatrix *bm)
 Set the bit corresponding to the tiles intersecting the temporal point. More...