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

Ever and always spatial relationships for temporal rigid geometries. More...

#include "geo/tgeo_spatialrels.h"
#include <meos.h>
#include <meos_internal.h>
#include <meos_geo.h>
#include "temporal/temporal.h"
#include "geo/tgeo_spatialfuncs.h"
#include "rgeo/trgeo_spatialrels.h"
#include "pg_geo/postgis.h"
#include "pg_geo/tspatial.h"

Functions

Datum Acontains_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry always contains a temporal rigid geometry @sqlfn aContains() More...
 
Datum Acovers_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry always covers a temporal rigid geometry @sqlfn aCovers() More...
 
Datum Acovers_trgeo_geo (PG_FUNCTION_ARGS)
 Return true if a geometry always covers a temporal rigid geometry @sqlfn aCovers() More...
 
Datum Adisjoint_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry and a temporal rigid geometry are always disjoint @sqlfn aDisjoint() More...
 
Datum Adisjoint_trgeo_geo (PG_FUNCTION_ARGS)
 Return true if a temporal rigid geometry and a geometry are always disjoint @sqlfn aDisjoint() More...
 
Datum Adisjoint_trgeo_trgeo (PG_FUNCTION_ARGS)
 Return true if two temporal rigid geometries are ever disjoint @sqlfn aDisjoint() More...
 
Datum Adwithin_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry and a temporal rigid geometry are always within a distance @sqlfn aDwithin() More...
 
Datum Adwithin_trgeo_geo (PG_FUNCTION_ARGS)
 Return true if a temporal rigid geometry and a geometry are ever within a distance @sqlfn aDwithin() More...
 
Datum Adwithin_trgeo_trgeo (PG_FUNCTION_ARGS)
 Return true if two temporal rigid geometries are always within a distance @sqlfn aDwithin() More...
 
Datum Aintersects_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry and a temporal rigid geometry ever intersect @sqlfn aIntersects() More...
 
Datum Aintersects_trgeo_geo (PG_FUNCTION_ARGS)
 Return true if a temporal rigid geometry and a geometry always intersect @sqlfn aIntersects() More...
 
Datum Aintersects_trgeo_trgeo (PG_FUNCTION_ARGS)
 Return true if two temporal rigid geometries ever intersect @sqlfn aIntersects() More...
 
Datum Atouches_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry and a temporal rigid geometry ever touch @sqlfn aTouches() More...
 
Datum Atouches_trgeo_geo (PG_FUNCTION_ARGS)
 Return true if a temporal rigid geometry and a geometry always touch @sqlfn aTouches() More...
 
Datum EA_dwithin_trgeo_trgeo (FunctionCallInfo fcinfo, bool ever)
 Return true if two temporal rigid geometries are even/always within a distance @sqlfn eDwithin(), aDwithin() More...
 
Datum Econtains_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry ever contains a temporal rigid geometry @sqlfn eContains() More...
 
Datum Ecovers_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry ever covers a temporal rigid geometry @sqlfn eCovers() More...
 
Datum Ecovers_trgeo_geo (PG_FUNCTION_ARGS)
 Return true if a geometry ever covers a temporal rigid geometry @sqlfn eCovers() More...
 
Datum Edisjoint_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry and a temporal rigid geometry are ever disjoint @sqlfn eDisjoint() More...
 
Datum Edisjoint_trgeo_geo (PG_FUNCTION_ARGS)
 Return true if a temporal rigid geometry and a geometry are ever disjoint @sqlfn eDisjoint() More...
 
Datum Edisjoint_trgeo_trgeo (PG_FUNCTION_ARGS)
 Return true if two temporal rigid geometries are ever disjoint @sqlfn eDisjoint() More...
 
Datum Edwithin_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry and a temporal rigid geometry are ever within a distance @sqlfn eDwithin() More...
 
Datum Edwithin_trgeo_geo (PG_FUNCTION_ARGS)
 Return true if a temporal rigid geometry and a geometry are ever within a distance @sqlfn eDwithin() More...
 
Datum Edwithin_trgeo_trgeo (PG_FUNCTION_ARGS)
 Return true if two temporal rigid geometries are ever within a distance @sqlfn eDwithin() More...
 
Datum Eintersects_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry and a temporal rigid geometry ever intersect @sqlfn eIntersects() More...
 
Datum Eintersects_trgeo_geo (PG_FUNCTION_ARGS)
 Return true if a temporal rigid geometry and a geometry ever intersect @sqlfn eIntersects() More...
 
Datum Eintersects_trgeo_trgeo (PG_FUNCTION_ARGS)
 Return true if two temporal rigid geometries ever intersect @sqlfn eIntersects() More...
 
Datum Etouches_geo_trgeo (PG_FUNCTION_ARGS)
 Return true if a geometry and a temporal rigid geometry ever touch @sqlfn eTouches() More...
 
Datum Etouches_trgeo_geo (PG_FUNCTION_ARGS)
 Return true if a temporal rigid geometry and a geometry ever touch @sqlfn eTouches() More...
 

Detailed Description

Ever and always spatial relationships for temporal rigid geometries.

These relationships compute the ever/always spatial relationship between the arguments and return a Boolean. These functions may be used for filtering purposes before applying the corresponding spatiotemporal relationship.

The following relationships are supported for geometries: eContains, aContains, eDisjoint, aDisjoint, eIntersects, aIntersects, eTouches, aTouches,eDwithin, andaDwithin`.

Only eDisjoint, eDwithin, and eIntersects are supported for 3D geometries.