MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
stbox.h File Reference
#include <postgres.h>
#include <liblwgeom.h>
#include <meos.h>

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 point_get_coords (const GSERIALIZED *point, bool hasz, double *x, double *y, double *z)
 Get the coordinates from a geometry/geography point. More...
 
void tstzset_stbox_slice (Datum tsdatum, STBox *box)
 Peek into a set datum to find the bounding box. More...
 
void tstzspanset_stbox_slice (Datum psdatum, STBox *box)
 Peek into a span set datum to find the bounding box. More...