MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tcbuffer.h File Reference
#include <postgres.h>
#include "temporal/temporal.h"
#include "cbuffer/cbuffer.h"

Go to the source code of this file.

Functions

bool ensure_valid_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb)
 Temporal distance for temporal network points. More...
 
bool ensure_valid_tcbuffer_geo (const Temporal *temp, const GSERIALIZED *gs)
 Ensure the validity of a temporal circular buffer and a geometry. More...
 
bool ensure_valid_tcbuffer_stbox (const Temporal *temp, const STBox *box)
 Ensure the validity of a temporal circular buffer and a spatiotemporal box. More...
 
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. More...
 
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. More...
 
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. More...
 
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 timestamps output in the last arguments. More...
 
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 defined by the timestamps output in the last arguments. More...