34#ifndef __TGEO_TEMPSPATIALRELS_H__
35#define __TGEO_TEMPSPATIALRELS_H__
41#include "temporal/temporal.h"
44#define TINTERSECTS true
45#define TDISJOINT false
55 const GSERIALIZED *
gs,
bool tinter,
bool restr,
bool atvalue);
57 bool tinter,
bool restr,
bool atvalue,
datum_func2 func);
62 const Temporal *temp2,
bool tinter,
bool restr,
bool atvalue);
69 TimestampTz upper,
bool lower_inc,
bool upper_inc,
bool upper_inc1,
Temporal * tdwithin_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 di...
Definition: tspatial_tempspatialrels.c:1498
Datum(* varfunc)(Datum,...)
Definition: temporal.h:283
int(* tpfunc_temp)(Datum, Datum, Datum, Datum, Datum, TimestampTz, TimestampTz, TimestampTz *, TimestampTz *)
Definition: temporal.h:290
Datum(* datum_func2)(Datum, Datum)
Definition: temporal.h:296
Datum(* datum_func3)(Datum, Datum, Datum)
Definition: temporal.h:297
External API of the Mobility Engine Open Source (MEOS) library.
int64 TimestampTz
Definition: postgres_ext_defs.in.h:22
uintptr_t Datum
Definition: postgres_ext_defs.in.h:7
Definition: postgis_ext_defs.in.h:170
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
Temporal * tinterrel_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.
Definition: tspatial_tempspatialrels.c:504
Temporal * tspatialrel_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.
Definition: tspatial_tempspatialrels.c:543
Temporal * tdwithin_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.
Definition: tspatial_tempspatialrels.c:1607
Temporal * tinterrel_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 a...
Definition: tspatial_tempspatialrels.c:415
Temporal * tspatialrel_tspatial_tspatial_int(const Temporal *temp1, const Temporal *temp2, Datum param, varfunc func, int numparam, bool invert)
Generic spatiotemporal relationship for two temporal geometries.
Definition: tspatial_tempspatialrels.c:612
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 equati...
Definition: tspatial_tempspatialrels.c:1165
Temporal * tinterrel_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...
Definition: tspatial_tempspatialrels.c:478
int const GSERIALIZED * gs
Definition: trgeo_spatialrels.h:52