MobilityDB  1.0
Functions
tpoint_boxops.h File Reference

Bounding box operators for temporal points. More...

#include <postgres.h>
#include <catalog/pg_type.h>
#include <liblwgeom.h>
#include "general/temporal.h"
#include "general/temporal_util.h"
#include "stbox.h"
Include dependency graph for tpoint_boxops.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void tpointinst_make_stbox (STBOX *box, const TInstant *inst)
 Set the spatiotemporal box from the temporal point value. More...
 
void tpointinstarr_to_stbox (STBOX *box, const TInstant **inst, int count)
 Set the spatiotemporal box from the array of temporal point values. More...
 
void tpointseqarr_to_stbox (STBOX *box, const TSequence **seq, int count)
 Set the spatiotemporal box from the array of temporal point values. More...
 
Datum tpoint_stboxes (PG_FUNCTION_ARGS)
 Returns an array of spatiotemporal boxes from the temporal point. More...
 
ArrayType * tpointseq_stboxes (const TSequence *seq)
 Returns an array of spatiotemporal boxes from the segments of the temporal sequence point value. More...
 
ArrayType * tpointseqset_stboxes (const TSequenceSet *ts)
 Returns an array of spatiotemporal boxes from the segments of the temporal sequence set point value. More...
 
Datum boxop_geo_tpoint (FunctionCallInfo fcinfo, bool(*func)(const STBOX *, const STBOX *))
 Generic box function for a geometry and a temporal point. More...
 
Datum boxop_tpoint_geo (FunctionCallInfo fcinfo, bool(*func)(const STBOX *, const STBOX *))
 Generic topological function for a temporal point and a geometry. More...
 
Datum boxop_stbox_tpoint (FunctionCallInfo fcinfo, bool(*func)(const STBOX *, const STBOX *))
 Generic topological function for a spatiotemporal box and a temporal point. More...
 
Datum boxop_tpoint_stbox (FunctionCallInfo fcinfo, bool(*func)(const STBOX *, const STBOX *))
 Generic topological function for a temporal point and a spatiotemporal box. More...
 
Datum boxop_tpoint_tpoint (FunctionCallInfo fcinfo, bool(*func)(const STBOX *, const STBOX *))
 Generic topological function for two temporal points. More...
 
Datum overlaps_bbox_geo_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the geometry/geography and the temporal point overlap. More...
 
Datum overlaps_bbox_stbox_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box and the spatiotemporal box of the temporal point overlap. More...
 
Datum overlaps_bbox_tpoint_geo (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the temporal point and the geometry/geography overlap. More...
 
Datum overlaps_bbox_tpoint_stbox (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the temporal point and the spatiotemporal box overlap. More...
 
Datum overlaps_bbox_tpoint_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the temporal points overlap. More...
 
Datum contains_bbox_geo_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the geometry/geography contains the spatiotemporal box of the temporal point. More...
 
Datum contains_bbox_stbox_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box contains the spatiotemporal box of the temporal point. More...
 
Datum contains_bbox_tpoint_geo (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the temporal point contains the one of the geometry/geography. More...
 
Datum contains_bbox_tpoint_stbox (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the temporal point contains the spatiotemporal box. More...
 
Datum contains_bbox_tpoint_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the first temporal point contains the one of the second temporal point. More...
 
Datum contained_bbox_geo_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the geometry/geography is contained in the spatiotemporal box of the temporal point. More...
 
Datum contained_bbox_stbox_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box is contained in the spatiotemporal box of the temporal point. More...
 
Datum contained_bbox_tpoint_geo (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the temporal point is contained in the one of the geometry/geography. More...
 
Datum contained_bbox_tpoint_stbox (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the temporal point is contained in the spatiotemporal box. More...
 
Datum contained_bbox_tpoint_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the first temporal point is contained in the one of the second temporal point. More...
 
Datum same_bbox_geo_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the geometry/geography and the temporal point are equal in the common dimensions. More...
 
Datum same_bbox_stbox_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box and the spatiotemporal box of the temporal point are equal in the common dimensions. More...
 
Datum same_bbox_tpoint_geo (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the temporal point and geometry/geography are equal in the common dimensions. More...
 
Datum same_bbox_tpoint_stbox (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the temporal point and the spatiotemporal box are equal in the common dimensions. More...
 
Datum same_bbox_tpoint_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the temporal points are equal in the common dimensions. More...
 
Datum adjacent_bbox_geo_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the geometry/geography and the temporal point are adjacent. More...
 
Datum adjacent_bbox_stbox_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box and the spatiotemporal box of the temporal point are adjacent. More...
 
Datum adjacent_bbox_tpoint_geo (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the temporal point and geometry/geography are adjacent. More...
 
Datum adjacent_bbox_tpoint_stbox (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the temporal point and the spatiotemporal box are adjacent. More...
 
Datum adjacent_bbox_tpoint_tpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the temporal points are adjacent. More...
 

Detailed Description

Bounding box operators for temporal points.