MobilityDB 1.1
Macros | Functions
tbox.h File Reference
#include "general/meos_catalog.h"
#include "general/span.h"
#include "general/set.h"
Include dependency graph for tbox.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DatumGetTboxP(X)   ((TBox *) DatumGetPointer(X))
 Functions for temporal bounding boxes. More...
 
#define PG_GETARG_TBOX_P(n)   DatumGetTboxP(PG_GETARG_DATUM(n))
 
#define PG_RETURN_TBOX_P(x)   return TboxPGetDatum(x)
 
#define TboxPGetDatum(X)   PointerGetDatum(X)
 

Functions

void ensure_has_T_tbox (const TBox *box)
 Ensure that a temporal box has T values. More...
 
void ensure_has_X_tbox (const TBox *box)
 Ensure that a temporal box has X values. More...
 
void ensure_same_dimensionality_tbox (const TBox *box1, const TBox *box2)
 Ensure that a temporal boxes have the same dimensionality. More...
 
void spanset_tbox_slice (Datum psdatum, TBox *box)
 Peak into a period set datum to find the bounding box. More...