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

Distance functions for temporal numbers. More...

#include <float.h>
#include <postgres.h>
#include <fmgr.h>
#include <meos.h>
#include <meos_internal.h>
#include "temporal/tbox.h"
#include "temporal/temporal.h"
#include "temporal/type_util.h"
#include "pg_temporal/meos_catalog.h"

Functions

Datum NAD_number_tnumber (PG_FUNCTION_ARGS)
 Return the nearest approach distance between a number and a temporal number @sqlfn nearestApproachDistance() More...
 
Datum NAD_tbox_tbox (PG_FUNCTION_ARGS)
 Return the nearest approach distance between two temporal boxes @sqlfn nearestApproachDistance() More...
 
Datum NAD_tbox_tnumber (PG_FUNCTION_ARGS)
 Return the nearest approach distance between a temporal box and a temporal number @sqlfn nearestApproachDistance() More...
 
Datum NAD_tnumber_number (PG_FUNCTION_ARGS)
 Return the nearest approach distance between a temporal number and a number @sqlfn nearestApproachDistance() More...
 
Datum NAD_tnumber_tbox (PG_FUNCTION_ARGS)
 Return the nearest approach distance between a temporal number and a temporal box @sqlfn nearestApproachDistance() More...
 
Datum NAD_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return the nearest approach distance between two temporal numbers @sqlfn nearestApproachDistance() More...
 
Datum Tdistance_number_tnumber (PG_FUNCTION_ARGS)
 Return the temporal distance between a number and a temporal number @sqlfn tDistance() More...
 
Datum Tdistance_tnumber_number (PG_FUNCTION_ARGS)
 Return the temporal distance between a temporal number and a number @sqlfn tDistance() More...
 
Datum Tdistance_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return the temporal distance between two temporal numbers @sqlfn tDistance() More...
 

Detailed Description

Distance functions for temporal numbers.