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

Topological bounding box operators for spatiotemporal values. More...

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

Functions

bool adjacent_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box and the spatiotemporal box of a spatiotemporal value are adjacent. More...
 
bool adjacent_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if the spatiotemporal box of a spatiotemporal value and a spatiotemporal box are adjacent. More...
 
bool adjacent_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the spatiotemporal boxes of two spatiotemporal values are adjacent. More...
 
bool contained_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box is contained in the spatiotemporal box of a spatiotemporal value. More...
 
bool contained_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if the spatiotemporal box of a spatiotemporal value is contained in the spatiotemporal box. More...
 
bool contained_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the spatiotemporal box of the first spatiotemporal value is contained in the one of the second spatiotemporal value. More...
 
bool contains_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box contains the one of a temporal point. More...
 
bool contains_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if the spatiotemporal box of a spatiotemporal value contains a spatiotemporal box. More...
 
bool contains_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the spatiotemporal box of the first spatiotemporal value contains the one of the second spatiotemporal value. More...
 
bool overlaps_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box and the spatiotemporal box of a spatiotemporal value overlap. More...
 
bool overlaps_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if the spatiotemporal box of a spatiotemporal value and a spatiotemporal box overlap. More...
 
bool overlaps_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the spatiotemporal boxes of two spatiotemporal values overlap. More...
 
bool same_stbox_tspatial (const STBox *box, const Temporal *temp)
 Return true if a spatiotemporal box and the spatiotemporal box of a spatiotemporal value are equal in the common dimensions. More...
 
bool same_tspatial_stbox (const Temporal *temp, const STBox *box)
 Return true if the spatiotemporal box of a spatiotemporal value and a spatiotemporal box are equal in the common dimensions. More...
 
bool same_tspatial_tspatial (const Temporal *temp1, const Temporal *temp2)
 Return true if the spatiotemporal boxes of two spatiotemporal values are equal in the common dimensions. More...
 

Detailed Description

Topological bounding box operators for spatiotemporal values.

These operators test the bounding boxes of spatiotemporal values,
which are an STBox, where the x, y, and optional z coordinates are
for the space(value) dimension and the t coordinate is for the time dimension.

The following operators are defined: overlaps, contains, contained, same, and adjacent.

The operators consider as many dimensions as they are shared in both arguments: only the space dimension, only the time dimension, or both the space and the time dimensions.