MobilityDB
1.0
|
Spatial relationships for temporal network points. More...
#include "npoint/tnpoint_spatialrels.h"
#include "general/lifting.h"
#include "point/tpoint_spatialrels.h"
#include "npoint/tnpoint.h"
#include "npoint/tnpoint_static.h"
#include "npoint/tnpoint_spatialfuncs.h"
Functions | |
static Datum | spatialrel_tnpoint_geom (const Temporal *temp, Datum geom, Datum(*func)(Datum, Datum), bool invert) |
Generic spatial relationships for a temporal network point and a geometry. More... | |
static Datum | spatialrel3_tnpoint_geom (const Temporal *temp, Datum geom, Datum param, Datum(*func)(Datum, Datum, Datum), bool invert) |
Generic spatial relationships for a temporal network point and a geometry. More... | |
static Datum | spatialrel3_tnpoint_tnpoint (const Temporal *temp1, const Temporal *temp2, Datum param, Datum(*func)(Datum, Datum, Datum)) |
Generic spatial relationships for two temporal network points. More... | |
PGDLLEXPORT Datum | contains_geo_tnpoint (PG_FUNCTION_ARGS) |
Returns true if the geometry contains the trajectory of the temporal network point. More... | |
PGDLLEXPORT Datum | disjoint_geo_tnpoint (PG_FUNCTION_ARGS) |
Returns true if the geometry and the trajectory of the temporal network point are disjoint. More... | |
PGDLLEXPORT Datum | disjoint_npoint_tnpoint (PG_FUNCTION_ARGS) |
Returns true if the network point and the trajectory of the temporal network point are disjoint. More... | |
PGDLLEXPORT Datum | disjoint_tnpoint_geo (PG_FUNCTION_ARGS) |
Returns true if the trajectory of the temporal network point and the geometry are disjoint. More... | |
PGDLLEXPORT Datum | disjoint_tnpoint_npoint (PG_FUNCTION_ARGS) |
Returns true if the trajectory of the temporal network point and the network point are disjoint. More... | |
PGDLLEXPORT Datum | intersects_geo_tnpoint (PG_FUNCTION_ARGS) |
Returns true if the geometry and the trajectory of the temporal network point intersect. More... | |
PGDLLEXPORT Datum | intersects_npoint_tnpoint (PG_FUNCTION_ARGS) |
Returns true if the network point and the trajectory of the temporal network point intersect. More... | |
PGDLLEXPORT Datum | intersects_tnpoint_geo (PG_FUNCTION_ARGS) |
Returns true if the trajectory of the temporal network point and the geometry intersect. More... | |
PGDLLEXPORT Datum | intersects_tnpoint_npoint (PG_FUNCTION_ARGS) |
Returns true if the trajectory of the temporal network point and the network point intersect. More... | |
PGDLLEXPORT Datum | dwithin_geo_tnpoint (PG_FUNCTION_ARGS) |
Returns true if the geometry and the trajectory of the temporal network point are within the given distance. More... | |
PGDLLEXPORT Datum | dwithin_npoint_tnpoint (PG_FUNCTION_ARGS) |
Returns true if the network point and the trajectory of the temporal network point are within the given distance. More... | |
PGDLLEXPORT Datum | dwithin_tnpoint_geo (PG_FUNCTION_ARGS) |
Returns true if the trajectory of the temporal network point and the geometry are within the given distance. More... | |
PGDLLEXPORT Datum | dwithin_tnpoint_npoint (PG_FUNCTION_ARGS) |
Returns true if the trajectory of the temporal network point and the network point are within the given distance. More... | |
PGDLLEXPORT Datum | dwithin_tnpoint_tnpoint (PG_FUNCTION_ARGS) |
Returns true if the trajectories of the temporal network points are within the given distance. More... | |
PGDLLEXPORT Datum | touches_geo_tnpoint (PG_FUNCTION_ARGS) |
Returns true if the geometry and the trajectory of the temporal network point touch. More... | |
PGDLLEXPORT Datum | touches_npoint_tnpoint (PG_FUNCTION_ARGS) |
PGDLLEXPORT Datum | touches_tnpoint_geo (PG_FUNCTION_ARGS) |
Returns true if the trajectory of the temporal network point and the geometry touch. More... | |
PGDLLEXPORT Datum | touches_tnpoint_npoint (PG_FUNCTION_ARGS) |
Returns true if the trajectory of the temporal network point and the network point touch. More... | |
Spatial relationships for temporal network points.
These relationships project the temporal dimension and return a Boolean. They are thus defined with the "at any instant" semantics, that is, the traditional spatial function is applied to the union of all values taken by the temporal npoint. The following relationships are supported: contains, disjoint, intersects, touches, and dwithin