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:88
bool ensure_valid_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb)
Temporal distance for temporal network points.
Definition: tcbuffer.c:58
int tcbuffersegm_intersection_value(Datum start, Datum end, Datum value, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2)
Return 1 if a segment of a temporal circular buffer and a circular buffer intersect during the period...
Definition: tcbuffer.c:271
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:103
int tcbuffersegm_dwithin_turnpt(Datum start1, Datum end1, Datum start2, Datum end2, Datum dist, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2)
Return the TWO timestamps at which two temporal circular buffers segments are at the distance d.
Definition: tcbuffer.c:148
int tcbuffersegm_intersection(Datum start1, Datum end1, Datum start2, Datum end2, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2)
Return 1 if the segments of two temporal circular buffers intersect during the period defined by the ...
Definition: tcbuffer.c:291
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:73
int tcbuffersegm_distance_turnpt(Datum start1, Datum end1, Datum start2, Datum end2, Datum dist UNUSED, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2)
Return the TWO timestamps at which two temporal circular buffers segments are at the minimum distance...
Definition: tcbuffer.c:249
int const GSERIALIZED * gs
Definition: trgeo_spatialrels.h:52