MobilityDB  1.0
Functions
tnpoint_boxops.h File Reference

Bounding box operators for temporal network points. More...

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

Go to the source code of this file.

Functions

Datum npoint_to_stbox (PG_FUNCTION_ARGS)
 Returns the bounding box of the network point value. More...
 
Datum npoint_timestamp_to_stbox (PG_FUNCTION_ARGS)
 Transform a network point and a timestamp to a spatiotemporal box. More...
 
Datum npoint_period_to_stbox (PG_FUNCTION_ARGS)
 Transform a network point and a period to a spatiotemporal box. More...
 
Datum tnpoint_to_stbox (PG_FUNCTION_ARGS)
 Transform a temporal network point to a spatiotemporal box. More...
 
bool npoint_to_stbox_internal (STBOX *box, const npoint *np)
 Set the spatiotemporal box from the network point value. More...
 
void tnpointinst_make_stbox (STBOX *box, const TInstant *inst)
 Set the spatiotemporal box from the network point value. More...
 
void tnpointinstarr_disc_to_stbox (STBOX *box, const TInstant **inst, int count)
 
void tnpointinstarr_step_to_stbox (STBOX *box, const TInstant **inst, int count)
 Set the spatiotemporal box from the array of temporal network point values. More...
 
void tnpointinstarr_linear_to_stbox (STBOX *box, const TInstant **inst, int count)
 Set the spatiotemporal box from the array of temporal network point values. More...
 
void tnpointseqarr_to_stbox (STBOX *box, const TSequence **seq, int count)
 Set the spatiotemporal box from the array of temporal network point values. More...
 
Datum overlaps_bbox_npoint_tnpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the network point and the temporal network point overlap. More...
 
Datum overlaps_bbox_tnpoint_npoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the temporal network point and the network point overlap. More...
 
Datum contains_bbox_npoint_tnpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the network point contains the one of the temporal network point. More...
 
Datum contains_bbox_tnpoint_npoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the temporal network point contain the one of the network point. More...
 
Datum contained_bbox_npoint_tnpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the network point is contained by the one of the temporal network point. More...
 
Datum contained_bbox_tnpoint_npoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal box of the temporal network point is contained by the one of the network point. More...
 
Datum same_bbox_npoint_tnpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the network point and the temporal network point are equal in the common dimensions. More...
 
Datum same_bbox_tnpoint_npoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the temporal network point and the network point are equal in the common dimensions. More...
 
Datum adjacent_bbox_npoint_tnpoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the network point and the temporal network point are adjacent. More...
 
Datum adjacent_bbox_tnpoint_npoint (PG_FUNCTION_ARGS)
 Returns true if the spatiotemporal boxes of the temporal network point and the network point are adjacent. More...
 

Detailed Description

Bounding box operators for temporal network points.