MobilityDB 1.1
Functions
tpoint_tempspatialrels.c File Reference
#include "point/tpoint_tempspatialrels.h"
#include <assert.h>
#include <math.h>
#include <liblwgeom.h>
#include <meos.h>
#include <meos_internal.h>
#include "general/lifting.h"
#include "general/temporaltypes.h"
#include "general/tbool_boolops.h"
#include "general/type_util.h"
#include "point/pgis_call.h"
#include "point/tpoint_spatialfuncs.h"
#include "point/tpoint_spatialrels.h"
Include dependency graph for tpoint_tempspatialrels.c:

Functions

Temporaltcontains_geo_tpoint (const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue)
 Return the temporal contains relationship between a geometry and a temporal point. More...
 
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)
 
Temporaltdwithin_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs, double dist, bool restr, bool atvalue)
 Return a temporal Boolean that states whether a temporal point and a geometry are within the given distance. More...
 
Temporaltdwithin_tpoint_tpoint (const Temporal *temp1, const Temporal *temp2, double dist, bool restr, bool atvalue)
 Return a temporal Boolean that states whether the temporal points are within the given distance. More...
 
Temporaltdwithin_tpoint_tpoint1 (const Temporal *sync1, const Temporal *sync2, double dist, bool restr, bool atvalue)
 Return a temporal Boolean that states whether the temporal points are within the given distance. More...
 
int tdwithin_tpointsegm_tpointsegm (Datum sv1, Datum ev1, Datum sv2, Datum ev2, TimestampTz lower, TimestampTz upper, double dist, bool hasz, datum_func3 func, TimestampTz *t1, TimestampTz *t2)
 Return the timestamps at which EITHER the segments of the two temporal points OR a segment of a temporal point and a point are within the given distance. More...
 
static TSequenceSettdwithin_tpointseq_point (const TSequence *seq, Datum point, Datum dist, datum_func3 func)
 Return the timestamps at which the a temporal point and a point are within the given distance. More...
 
static int tdwithin_tpointseq_point1 (const TSequence *seq, Datum point, Datum dist, datum_func3 func, TSequence **result)
 Return the timestamps at which a temporal point and a point are within the given distance. More...
 
static TSequenceSettdwithin_tpointseq_tpointseq (const TSequence *seq1, const TSequence *seq2, double dist, datum_func3 func)
 Return the timestamps at which the segments of two temporal points are within the given distance. More...
 
static int tdwithin_tpointseq_tpointseq2 (const TSequence *seq1, const TSequence *seq2, Datum dist, datum_func3 func, TSequence **result)
 Return the timestamps at which the segments of two temporal points are within the given distance. More...
 
static TSequenceSettdwithin_tpointseqset_point (const TSequenceSet *ss, Datum point, Datum dist, datum_func3 func)
 Return the timestamps at which a temporal point and a point are within the given distance. More...
 
static TSequenceSettdwithin_tpointseqset_tpointseqset (const TSequenceSet *ss1, const TSequenceSet *ss2, double dist, datum_func3 func)
 Return the timestamps at which the segments of two temporal points are within the given distance. More...
 
Temporaltinterrel_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs, bool tinter, bool restr, bool atvalue)
 Evaluates tintersects/tdisjoint for a temporal point and a geometry. More...
 
TSequenceSettinterrel_tpointcontseq_geom (const TSequence *seq, Datum geom, const STBox *box, bool tinter, Datum(*func)(Datum, Datum))
 Evaluates tintersects/tdisjoint for a temporal point and a geometry. More...
 
static TSequence ** tinterrel_tpointcontseq_geom1 (const TSequence *seq, Datum geom, const STBox *box, bool tinter, Datum(*func)(Datum, Datum), int *count)
 Evaluates tintersects/tdisjoint for a temporal point and a geometry. More...
 
TSequencetinterrel_tpointdiscseq_geom (const TSequence *seq, Datum geom, bool tinter, Datum(*func)(Datum, Datum))
 Evaluates tintersects/tdisjoint for a temporal point and a geometry. More...
 
TInstanttinterrel_tpointinst_geom (const TInstant *inst, Datum geom, bool tinter, Datum(*func)(Datum, Datum))
 Temporal spatial relationships for temporal points. More...
 
static TSequence ** tinterrel_tpointseq_simple_geom (const TSequence *seq, Datum geom, const STBox *box, bool tinter, int *count)
 Evaluates tintersects/tdisjoint for a temporal point and a geometry. More...
 
static TSequence ** tinterrel_tpointseq_step_geom (const TSequence *seq, Datum geom, bool tinter, Datum(*func)(Datum, Datum), int *count)
 Evaluates tintersects/tdisjoint for a temporal sequence point with step interpolation and a geometry. More...
 
TSequenceSettinterrel_tpointseqset_geom (const TSequenceSet *ss, Datum geom, const STBox *box, bool tinter, Datum(*func)(Datum, Datum))
 Evaluates tintersects/tdisjoint for a temporal point and a geometry. More...
 
Temporalttouches_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue)
 Return the temporal touches relationship between a geometry and a temporal point. More...