MobilityDB  1.0
Functions
tnumber_distance.h File Reference

Distance functions for temporal numbers. More...

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

Go to the source code of this file.

Functions

Datum distance_base_tnumber (PG_FUNCTION_ARGS)
 Returns the temporal distance between the value and the temporal number. More...
 
Datum distance_tnumber_base (PG_FUNCTION_ARGS)
 Returns the temporal distance between the temporal number and the value. More...
 
Datum distance_tnumber_tnumber (PG_FUNCTION_ARGS)
 Returns the temporal distance between the two temporal points. More...
 
Datum NAD_base_tnumber (PG_FUNCTION_ARGS)
 Returns the temporal distance between the value and the temporal number. More...
 
Datum NAD_tnumber_base (PG_FUNCTION_ARGS)
 Returns the temporal distance between the temporal number and the value. More...
 
Datum NAD_tbox_tbox (PG_FUNCTION_ARGS)
 Returns the nearest approach distance between the temporal boxes. More...
 
Datum NAD_tbox_tnumber (PG_FUNCTION_ARGS)
 Returns the nearest approach distance between the temporal box and the temporal number. More...
 
Datum NAD_tnumber_tbox (PG_FUNCTION_ARGS)
 Returns the nearest approach distance between the temporal number and the temporal box. More...
 
Datum NAD_tnumber_tnumber (PG_FUNCTION_ARGS)
 Returns the nearest approach distance between the temporal numbers. More...
 
double NAD_tbox_tbox_internal (const TBOX *box1, const TBOX *box2)
 Returns the nearest approach distance between the temporal boxes (internal function) More...
 

Detailed Description

Distance functions for temporal numbers.