38#include "general/meos_catalog.h"
39#include "general/span.h"
46#define DatumGetTboxP(X) ((TBox *) DatumGetPointer(X))
47#define TboxPGetDatum(X) PointerGetDatum(X)
48#define PG_GETARG_TBOX_P(n) DatumGetTboxP(PG_GETARG_DATUM(n))
49#define PG_RETURN_TBOX_P(x) return TboxPGetDatum(x)
uintptr_t Datum
Definition: pg_ext_defs.in.h:4
Structure to represent temporal boxes.
Definition: meos.h:97
void ensure_same_dimensionality_tbox(const TBox *box1, const TBox *box2)
Ensure that a temporal boxes have the same dimensionality.
Definition: tbox.c:78
void ensure_has_T_tbox(const TBox *box)
Ensure that a temporal box has T values.
Definition: tbox.c:68
void spanset_tbox_slice(Datum psdatum, TBox *box)
Peak into a period set datum to find the bounding box.
Definition: tbox.c:310
void ensure_has_X_tbox(const TBox *box)
Ensure that a temporal box has X values.
Definition: tbox.c:58