![]() |
MobilityDB 1.3
|
Spatiotemporal relationships for temporal circular buffers. More...
#include "geo/tgeo_tempspatialrels.h"
#include <assert.h>
#include <math.h>
#include <postgres.h>
#include <utils/timestamp.h>
#include <liblwgeom.h>
#include <meos.h>
#include <meos_internal_geo.h>
#include "temporal/lifting.h"
#include "temporal/tbool_ops.h"
#include "temporal/temporal_compops.h"
#include "temporal/tinstant.h"
#include "temporal/type_util.h"
#include "geo/tgeo_spatialfuncs.h"
#include "geo/tgeo_spatialrels.h"
#include "cbuffer/cbuffer.h"
#include "cbuffer/tcbuffer.h"
#include "cbuffer/tcbuffer_boxops.h"
#include "cbuffer/tcbuffer_spatialfuncs.h"
#include "cbuffer/tcbuffer_spatialrels.h"
Functions | |
Temporal * | tcontains_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a circular buffer contains a temporal circular buffer. More... | |
Temporal * | tcontains_geo_tcbuffer (const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a geometry contains a temporal circular buffer. More... | |
Temporal * | tcontains_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer contains a geometry. More... | |
Temporal * | tcontains_tcbuffer_geo (const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer contains a geometry. More... | |
Temporal * | tcontains_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer contains another one. More... | |
Temporal * | tcovers_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a circular buffer covers a temporal circular buffer. More... | |
Temporal * | tcovers_geo_tcbuffer (const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a geometry covers a temporal circular buffer. More... | |
Temporal * | tcovers_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer covers a geometry. More... | |
Temporal * | tcovers_tcbuffer_geo (const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer covers a geometry. More... | |
Temporal * | tcovers_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer covers another one. More... | |
Temporal * | tdisjoint_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a circular buffer are disjoint. More... | |
Temporal * | tdisjoint_geo_tcbuffer (const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a geometry are disjoint. More... | |
Temporal * | tdisjoint_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a circular buffer are disjoint. More... | |
Temporal * | tdisjoint_tcbuffer_geo (const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a geometry are disjoint. More... | |
Temporal * | tdisjoint_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue) |
Return a temporal Boolean that states whether two temporal circular buffers are disjoint. More... | |
Temporal * | tdwithin_geo_tcbuffer (const GSERIALIZED *gs, const Temporal *temp, double dist, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a geometry are within a distance. More... | |
Temporal * | tdwithin_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb, double dist, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a circular buffer are within a distance. More... | |
Temporal * | tdwithin_tcbuffer_geo (const Temporal *temp, const GSERIALIZED *gs, double dist, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a geometry are within a distance. More... | |
Temporal * | tdwithin_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2, double dist, bool restr, bool atvalue) |
Return a temporal Boolean that states whether two temporal circular buffers are within a distance. More... | |
Temporal * | tinterrel_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb, bool tinter, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a geometry intersect or are disjoint. More... | |
Temporal * | tinterrel_tcbuffer_geo (const Temporal *temp, const GSERIALIZED *gs, bool tinter, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a geometry intersect or are disjoint. More... | |
Temporal * | tinterrel_tcbufferinst_geom (const TInstant *inst, const GSERIALIZED *gs, bool tinter) |
Return a temporal Boolean that states whether a temporal circular buffer instant and a geometry intersect or are disjoint. More... | |
static Temporal * | tinterrel_tcbufferseq_disc_geom (const TSequence *seq, const GSERIALIZED *gs, bool tinter) |
Return a temporal Boolean that states whether a temporal circular buffer sequence with discrete interpolation and a geometry intersect or are disjoint. More... | |
static Temporal * | tinterrel_tcbufferseq_geom (const TSequence *seq, const GSERIALIZED *gs, bool tinter) |
Return a temporal Boolean that states whether a temporal circular buffer sequence and a geometry intersect (dispatch function) More... | |
static Temporal * | tinterrel_tcbufferseq_linear_geom (const TSequence *seq, const GSERIALIZED *gs, bool tinter) |
Return a temporal Boolean that states whether a temporal circular buffer sequence with linear interpolation and a geometry intersect. More... | |
static Temporal * | tinterrel_tcbufferseq_step_geom (const TSequence *seq, const GSERIALIZED *gs, bool tinter) |
Return a temporal Boolean that states whether a temporal circular buffer sequence with step interpolation and a geometry intersect or are disjoint. More... | |
static Temporal * | tinterrel_tcbufferseqset_geom (const TSequenceSet *ss, const GSERIALIZED *gs, bool tinter) |
Return a temporal Boolean that states whether a temporal circular buffer sequence set and a geometry intersect (dispatch function) More... | |
Temporal * | tintersects_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a circular buffer intersect. More... | |
Temporal * | tintersects_geo_tcbuffer (const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a geometry intersect. More... | |
Temporal * | tintersects_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a circular buffer intersect. More... | |
Temporal * | tintersects_tcbuffer_geo (const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer and a geometry intersect. More... | |
Temporal * | tintersects_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue) |
Return a temporal Boolean that states whether two temporal circular buffers intersect. More... | |
Temporal * | tspatialrel_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb, bool restr, bool atvalue, bool invert, datum_func2 func) |
Return a temporal Boolean that states whether a temporal circular buffer and a geometry satisfy a spatial relationship. More... | |
static Temporal * | tspatialrel_tcbuffer_cbuffer_int (const Temporal *temp, const Cbuffer *cb, Datum param, varfunc func, int numparam, bool invert) |
Generic spatiotemporal relationship for a temporal circular buffer and a circular buffer. More... | |
Temporal * | tspatialrel_tcbuffer_geo (const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue, bool invert, datum_func2 func) |
Return a temporal Boolean that states whether a temporal circular buffer and a geometry satisfy a spatial relationship. More... | |
Temporal * | tspatialrel_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue, datum_func2 func) |
Return a temporal Boolean that states whether two temporal circular buffers satisfy a spatial relationship. More... | |
Temporal * | ttouches_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a circular buffer touches a temporal circular buffer. More... | |
Temporal * | ttouches_geo_tcbuffer (const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer touches a geometry. More... | |
Temporal * | ttouches_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer touches a geometry. More... | |
Temporal * | ttouches_tcbuffer_geo (const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer touches a geometry. More... | |
Temporal * | ttouches_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal circular buffer touches another one. More... | |
Spatiotemporal relationships for temporal circular buffers.
These relationships are applied at each instant and result in a temporal Boolean.
The following relationships are supported: tcontains
, tcovers
, tdisjoint
, tintersects
, ttouches
, and tdwithin
.