MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
tgeo_tempspatialrels.h File Reference
#include <postgres.h>
#include <meos.h>
#include "temporal/temporal.h"

Go to the source code of this file.

Macros

#define TDISJOINT   false
 
#define TINTERSECTS   true
 Spatiotemporal relationships for temporal points. More...
 

Functions

int tdwithin_add_solutions (int solutions, TimestampTz lower, TimestampTz upper, bool lower_inc, bool upper_inc, bool upper_inc1, TimestampTz t1, TimestampTz t2, TInstant **instants, TSequence **result)
 Construct the result of the tdwithin function of a segment from the solutions of the quadratic equation found previously. More...
 
Temporaltdwithin_tspatial_spatial (const Temporal *temp, Datum base, Datum dist, bool restr, bool atvalue, datum_func3 func, tpfunc_temp tpfn)
 Return a temporal Boolean that states whether a spatiotemporal value and a base value are within a distance. More...
 
Temporaltdwithin_tspatial_tspatial (const Temporal *sync1, const Temporal *sync2, Datum dist, bool restr, bool atvalue, datum_func3 func, tpfunc_temp tpfn)
 Return a temporal Boolean that states whether two temporal geos are within a distance. More...
 
Temporaltinterrel_tgeo_geo (const Temporal *temp, const GSERIALIZED *gs, bool tinter, bool restr, bool atvalue)
 Return a temporal Boolean that states whether a temporal geo and a geometry intersect or are disjoint. More...
 
Temporaltinterrel_tspatial_base (const Temporal *temp, Datum base, bool tinter, bool restr, bool atvalue, datum_func2 func)
 Return a temporal Boolean that states whether a spatialtemporal value and a base value intersect or are disjoint. More...
 
Temporaltinterrel_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2, bool tinter, bool restr, bool atvalue)
 Return a temporal Boolean that states whether two temporal geos intersect or are disjoint. More...
 
Temporaltspatialrel_tspatial_base (const Temporal *temp, Datum base, Datum param, varfunc func, int numparam, bool invert)
 Generic spatiotemporal relationship for a spatiotemporal value and a base value. More...
 
Temporaltspatialrel_tspatial_tspatial_int (const Temporal *temp1, const Temporal *temp2, Datum param, varfunc func, int numparam, bool invert)
 Generic spatiotemporal relationship for two temporal geometries. More...