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

Position operators for temporal geometry points. More...

#include <meos.h>
#include "temporal/temporal.h"
#include "geo/tspatial_boxops.h"

Functions

bool above_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is above a spatiotemporal value. More...
 
bool above_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value is above a spatiotemporal box. More...
 
bool above_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value is above the second one. More...
 
bool after_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is after a spatiotemporal value. More...
 
bool after_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value is after a spatiotemporal box. More...
 
bool after_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value is after the second one. More...
 
bool back_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is at the back of a temporal point. More...
 
bool back_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value is at the back of a spatiotemporal box. More...
 
bool back_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value is at the back of the second one. More...
 
bool before_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is before a spatiotemporal value. More...
 
bool before_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value is before a spatiotemporal box. More...
 
bool before_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value is before the second one. More...
 
bool below_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is below a spatiotemporal value. More...
 
bool below_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value is below a spatiotemporal box. More...
 
bool below_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value is below the second one. More...
 
bool front_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is in front of a spatiotemporal value. More...
 
bool front_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value is in front of a spatiotemporal box. More...
 
bool front_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value is in front of the second one. More...
 
bool left_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is to the left of a temporal point. More...
 
bool left_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value is to the left of a spatiotemporal box. More...
 
bool left_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value is to the left of the second one. More...
 
bool overabove_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box does not extend below a temporal point. More...
 
bool overabove_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value does not extend below a spatiotemporal box. More...
 
bool overabove_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value does not extend below the second one. More...
 
bool overafter_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is not before a spatiotemporal value. More...
 
bool overafter_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value is not before a spatiotemporal box. More...
 
bool overafter_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value is not before the second one. More...
 
bool overback_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box does not extend to the front of a spatiotemporal value. More...
 
bool overback_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value does not extend to the front of a spatiotemporal box. More...
 
bool overback_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value does not extend to the front of the second one. More...
 
bool overbefore_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is not after a spatiotemporal value. More...
 
bool overbefore_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value is not after a spatiotemporal box. More...
 
bool overbefore_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value is not after the second one. More...
 
bool overbelow_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box does not extend above a temporal point. More...
 
bool overbelow_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value does not extend above a spatiotemporal box. More...
 
bool overbelow_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value does not extend above the second one. More...
 
bool overfront_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box does not extend to the back of a spatiotemporal value. More...
 
bool overfront_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value does not extend to the back of a spatiotemporal box. More...
 
bool overfront_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value does not extend to the back of the second one. More...
 
bool overleft_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box does not extend to the right of a spatiotemporal value. More...
 
bool overleft_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value does not extend to the right of a spatiotemporal box. More...
 
bool overleft_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value does not extend to the right of the second one. More...
 
bool overright_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box does not extend to the left of a spatiotemporal value. More...
 
bool overright_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value does not extend to the left of a spatiotemporal box. More...
 
bool overright_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value does not extend to the left of the second one. More...
 
bool right_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is to the right of a temporal point. More...
 
bool right_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if a spatiotemporal value is to the right of a spatiotemporal box. More...
 
bool right_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the first spatiotemporal value is to the right of the second one. More...
 

Detailed Description

Position operators for temporal geometry points.

The following operators are defined for the spatial dimension: left, overleft, right, overright, below, overbelow, above, overabove, front, overfront, back, overback. There are no equivalent operators for the temporal geography points since PostGIS does not currently provide such functionality for geography.

The following operators are defined for for the time dimension: before, overbefore, after, overafter. For both temporal geometry and geography points the same operators are derived from the basic temporal types. In this file they are defined when one of the arguments is an STBox.