MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tcbuffer_tempspatialrels.c File Reference

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

Temporaltcontains_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...
 
Temporaltcontains_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...
 
Temporaltcontains_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...
 
Temporaltcontains_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...
 
Temporaltcontains_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...
 
Temporaltcovers_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...
 
Temporaltcovers_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...
 
Temporaltcovers_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...
 
Temporaltcovers_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...
 
Temporaltcovers_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...
 
Temporaltdisjoint_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...
 
Temporaltdisjoint_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...
 
Temporaltdisjoint_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...
 
Temporaltdisjoint_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...
 
Temporaltdisjoint_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...
 
Temporaltdwithin_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...
 
Temporaltdwithin_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...
 
Temporaltdwithin_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...
 
Temporaltdwithin_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...
 
Temporaltinterrel_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...
 
Temporaltinterrel_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...
 
Temporaltinterrel_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 Temporaltinterrel_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 Temporaltinterrel_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 Temporaltinterrel_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 Temporaltinterrel_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 Temporaltinterrel_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...
 
Temporaltintersects_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...
 
Temporaltintersects_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...
 
Temporaltintersects_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...
 
Temporaltintersects_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...
 
Temporaltintersects_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...
 
Temporaltspatialrel_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 Temporaltspatialrel_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...
 
Temporaltspatialrel_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...
 
Temporaltspatialrel_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...
 
Temporalttouches_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...
 
Temporalttouches_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...
 
Temporalttouches_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...
 
Temporalttouches_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...
 
Temporalttouches_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...
 

Detailed Description

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.