40#include "temporal/temporal.h"
#define UNUSED
Definition: temporal.h:75
int64 TimestampTz
Definition: postgres_ext_defs.in.h:22
uintptr_t Datum
Definition: postgres_ext_defs.in.h:7
Functions for temporal buffers.
Definition: cbuffer.h:50
Definition: postgis_ext_defs.in.h:170
Structure to represent spatiotemporal boxes.
Definition: meos.h:134
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: meos.h:173
bool ensure_valid_tcbuffer_stbox(const Temporal *temp, const STBox *box)
Ensure the validity of a temporal circular buffer and a spatiotemporal box.
Definition: tcbuffer.c:90
bool ensure_valid_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb)
Temporal distance for temporal network points.
Definition: tcbuffer.c:60
int tcbuffersegm_intersection_value(Datum start, Datum end, Datum value, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2)
Return 1 or 2 if a temporal circular buffer segment and a circular buffer intersect during the period...
Definition: tcbuffer.c:285
bool ensure_valid_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2)
Return true if a temporal circular buffer and a circular buffer are valid for operations.
Definition: tcbuffer.c:105
int tcbuffersegm_dwithin_turnpt(Datum start1, Datum end1, Datum start2, Datum end2, Datum dist, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2)
Return 1 or 2 if two temporal circular buffer segments are within a distance during the period define...
Definition: tcbuffer.c:151
int tcbuffersegm_intersection(Datum start1, Datum end1, Datum start2, Datum end2, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2)
Return 1 or 2 if two temporal circular buffer segments intersect during the period defined by the out...
Definition: tcbuffer.c:303
bool ensure_valid_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs)
Ensure the validity of a temporal circular buffer and a geometry.
Definition: tcbuffer.c:75
int tcbuffersegm_distance_turnpt(Datum start1, Datum end1, Datum start2, Datum end2, Datum dist UNUSED, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2)
Return 1 or 2 if two temporal circular buffer segments are at a minimum distance during the period de...
Definition: tcbuffer.c:265
int const GSERIALIZED * gs
Definition: trgeo_spatialrels.h:52