MobilityDB 1.1
Macros | Functions
stbox.h File Reference
#include <postgres.h>
#include <liblwgeom.h>
#include "general/set.h"
Include dependency graph for stbox.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DatumGetSTboxP(X)   ((STBox *) DatumGetPointer(X))
 Functions for spatiotemporal bounding boxes. More...
 
#define PG_GETARG_STBOX_P(n)   DatumGetSTboxP(PG_GETARG_DATUM(n))
 
#define PG_RETURN_STBOX_P(x)   return STboxPGetDatum(x)
 
#define STboxPGetDatum(X)   PointerGetDatum(X)
 

Functions

void ensure_has_T_stbox (const STBox *box)
 Ensure that the temporal value has T dimension. More...
 
void ensure_has_X_stbox (const STBox *box)
 Ensure that the temporal value has XY dimension. More...
 
void periodset_stbox_slice (Datum psdatum, STBox *box)
 Peak into a period set datum to find the bounding box. More...
 
STBoxstbox_set_srid (const STBox *box, int32 srid)
 Set the SRID of a spatiotemporal box. More...
 
void tstzset_stbox_slice (Datum tsdatum, STBox *box)