34#ifndef __TSPATIAL_BOXOPS_H__
35#define __TSPATIAL_BOXOPS_H__
43#include "temporal/meos_catalog.h"
56 bool lower_inc,
bool upper_inc,
interpType interp,
void *box);
62 int count,
void *box);
67 bool (*func)(
const STBox *,
const STBox *),
bool invert);
void tspatialseq_expand_stbox(TSequence *seq, const TInstant *inst)
Expand the bounding box of a spatiotemporal sequence with an additional instant.
Definition: tgeo_boxops.c:283
void tspatialinst_set_stbox(const TInstant *inst, STBox *box)
Return in the last argument the spatiotemporal box of a temporal spatial instant.
Definition: tgeo_boxops.c:109
void tgeoinst_set_stbox(const TInstant *inst, STBox *box)
Bounding box operators for spatiotemporal values.
Definition: tgeo_boxops.c:90
void tspatialseqarr_set_stbox(const TSequence **sequences, int count, STBox *box)
Return in the last argument the spatiotemporal box of an array of temporal geo sequences.
Definition: tgeo_boxops.c:320
void tgeoinstarr_set_stbox(const TInstant **instants, int count, STBox *box)
Return in the last argument the spatiotemporal box of an array of temporal geo instants.
Definition: tgeo_boxops.c:181
void tgeoseq_expand_stbox(TSequence *seq, const TInstant *inst)
Expand the bounding box of a temporal point sequence with an instant.
Definition: tgeo_boxops.c:266
void spatialarr_set_bbox(const Datum *values, meosType basetype, int count, void *box)
Set a bounding box from an array of spatial set values.
Definition: tgeo_boxops.c:341
bool boxop_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2, bool(*func)(const STBox *, const STBox *))
Generic topological function for two spatiotemporal values.
Definition: tgeo_boxops.c:1599
bool boxop_tspatial_stbox(const Temporal *temp, const STBox *box, bool(*func)(const STBox *, const STBox *), bool invert)
Generic bounding box function for a spatiotemporal value and a spatiotemporal box.
Definition: tgeo_boxops.c:1587
void tspatialinstarr_set_stbox(const TInstant **instants, int count, bool lower_inc, bool upper_inc, interpType interp, void *box)
Set a bounding box from an array of spatiotemporal instant values.
Definition: tgeo_boxops.c:222
meosType
Enumeration that defines the built-in and temporal types used in MobilityDB.
Definition: meos_catalog.h:55
interpType
Enumeration that defines the interpolation types used in MEOS.
Definition: meos.h:161
External API of the Mobility Engine Open Source (MEOS) library.
uintptr_t Datum
Definition: postgres_ext_defs.in.h:7
Structure to represent spatiotemporal boxes.
Definition: meos.h:134
Structure to represent temporal values of instant subtype.
Definition: meos.h:185
Structure to represent temporal values of sequence subtype.
Definition: meos.h:202
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: meos.h:173