![]() |
MobilityDB 1.3
|
Bounding box operators for spatiotemporal values. More...
#include "geo/tspatial_boxops.h"
#include <meos.h>
#include <meos_internal.h>
#include "temporal/temporal.h"
#include "geo/stbox.h"
#include "pg_temporal/type_util.h"
#include "pg_geo/postgis.h"
Functions | |
Datum | Adjacent_stbox_tspatial (PG_FUNCTION_ARGS) |
Return true if a spatiotemporal box and the spatiotemporal box of a spatiotemporal value are adjacent @sqlfn adjacent_bbox() More... | |
Datum | Adjacent_tspatial_stbox (PG_FUNCTION_ARGS) |
Return true if the spatiotemporal box of a spatiotemporal value and a spatiotemporal box are adjacent @sqlfn adjacent_bbox() More... | |
Datum | Adjacent_tspatial_tspatial (PG_FUNCTION_ARGS) |
Return true if the spatiotemporal boxes of two spatiotemporal values are adjacent @sqlfn adjacent_bbox() More... | |
Datum | Boxop_stbox_tspatial (FunctionCallInfo fcinfo, bool(*func)(const STBox *, const STBox *)) |
Generic bounding box function for a spatiotemporal box and a temporal point. More... | |
Datum | Boxop_tspatial_stbox (FunctionCallInfo fcinfo, bool(*func)(const STBox *, const STBox *)) |
Generic bounding box function for a spatiotemporal value and a spatiotemporal box. More... | |
Datum | Boxop_tspatial_tspatial (FunctionCallInfo fcinfo, bool(*func)(const STBox *, const STBox *)) |
Generic topological function for two spatiotemporal values. More... | |
Datum | Contained_stbox_tspatial (PG_FUNCTION_ARGS) |
Return true if a spatiotemporal box is contained in the spatiotemporal box of a spatiotemporal value @sqlfn contained_bbox() More... | |
Datum | Contained_tspatial_stbox (PG_FUNCTION_ARGS) |
Return true if the spatiotemporal box of a spatiotemporal value is contained in the spatiotemporal box @sqlfn contained_bbox() More... | |
Datum | Contained_tspatial_tspatial (PG_FUNCTION_ARGS) |
Return true if the spatiotemporal box of the first spatiotemporal value is contained in the one of the second spatiotemporal value @sqlfn contained_bbox() More... | |
Datum | Contains_stbox_tspatial (PG_FUNCTION_ARGS) |
Return true if a spatiotemporal box contains the one of a temporal point @sqlfn contains_bbox() More... | |
Datum | Contains_tspatial_stbox (PG_FUNCTION_ARGS) |
Return true if the spatiotemporal box of a spatiotemporal value contains a spatiotemporal box @sqlfn contains_bbox() More... | |
Datum | Contains_tspatial_tspatial (PG_FUNCTION_ARGS) |
Return true if the spatiotemporal box of the first spatiotemporal value contains the one of the second spatiotemporal value @sqlfn contains_bbox() More... | |
Datum | Geo_split_each_n_stboxes (PG_FUNCTION_ARGS) |
Return an array of spatial boxes from the segments of a (multi)linestring @sqlfn splitEachNStboxes() More... | |
Datum | Geo_split_n_stboxes (PG_FUNCTION_ARGS) |
Return an array of N spatial boxes from the segments of a (multi)linestring @sqlfn splitNStboxes() More... | |
Datum | Geo_stboxes (PG_FUNCTION_ARGS) |
Return an array of spatial boxes from the segments of a (mult)linestring @sqlfn stboxes() More... | |
Datum | Overlaps_stbox_tspatial (PG_FUNCTION_ARGS) |
Return true if a spatiotemporal box and the spatiotemporal box of a spatiotemporal value overlap @sqlfn overlaps_bbox() More... | |
Datum | Overlaps_tspatial_stbox (PG_FUNCTION_ARGS) |
Return true if the spatiotemporal box of a spatiotemporal value and a spatiotemporal box overlap @sqlfn overlaps_bbox() More... | |
Datum | Overlaps_tspatial_tspatial (PG_FUNCTION_ARGS) |
Return true if the spatiotemporal boxes of two spatiotemporal values overlap @sqlfn overlaps_bbox() More... | |
Datum | Same_stbox_tspatial (PG_FUNCTION_ARGS) |
Return true if a spatiotemporal box and the spatiotemporal box of a spatiotemporal value are equal in the common dimensions @sqlfn same_bbox() More... | |
Datum | Same_tspatial_stbox (PG_FUNCTION_ARGS) |
Return true if the spatiotemporal box of a spatiotemporal value and a spatiotemporal box are equal in the common dimensions @sqlfn same_bbox() More... | |
Datum | Same_tspatial_tspatial (PG_FUNCTION_ARGS) |
Return true if the spatiotemporal boxes of two spatiotemporal values are equal in the common dimensions @sqlfn same_bbox() More... | |
Datum | Tgeo_split_each_n_stboxes (PG_FUNCTION_ARGS) |
Return an array of spatiotemporal boxes from the instants or segments of a spatiotemporal value, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous @sqlfn splitEachNStboxes() More... | |
Datum | Tgeo_split_n_stboxes (PG_FUNCTION_ARGS) |
Return an array of N spatiotemporal boxes from the instants or segments of a spatiotemporal value, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous @sqlfn splitNStboxes() More... | |
Datum | Tgeo_stboxes (PG_FUNCTION_ARGS) |
Return an array of spatiotemporal boxes from the instants or segments of a spatiotemporal value, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous @sqlfn stboxes() More... | |
Bounding box operators for spatiotemporal values.
These operators test the bounding box of spatiotemporal values, which is anSTBox
, where the x, y, and optional z coordinates are or the space (value) dimension and the t coordinate is for the time dimension. The following operators are defined: overlaps
, contains
, contained
, and same
.
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.