36 #ifndef __TNUMBER_DISTANCE_H__ 37 #define __TNUMBER_DISTANCE_H__ 40 #include <catalog/pg_type.h> Datum NAD_tnumber_tnumber(PG_FUNCTION_ARGS)
Returns the nearest approach distance between the temporal numbers.
Definition: tnumber_distance.c:388
Datum distance_tnumber_tnumber(PG_FUNCTION_ARGS)
Returns the temporal distance between the two temporal points.
Definition: tnumber_distance.c:179
Datum distance_base_tnumber(PG_FUNCTION_ARGS)
Returns the temporal distance between the value and the temporal number.
Definition: tnumber_distance.c:114
Datum NAD_base_tnumber(PG_FUNCTION_ARGS)
Returns the temporal distance between the value and the temporal number.
Definition: tnumber_distance.c:221
Basic functions for temporal types of any subtype.
Datum NAD_tnumber_tbox(PG_FUNCTION_ARGS)
Returns the nearest approach distance between the temporal number and the temporal box...
Definition: tnumber_distance.c:372
Datum NAD_tnumber_base(PG_FUNCTION_ARGS)
Returns the temporal distance between the temporal number and the value.
Definition: tnumber_distance.c:237
Structure to represent temporal boxes.
Definition: tbox.h:53
Datum distance_tnumber_base(PG_FUNCTION_ARGS)
Returns the temporal distance between the temporal number and the value.
Definition: tnumber_distance.c:133
Datum NAD_tbox_tbox(PG_FUNCTION_ARGS)
Returns the nearest approach distance between the temporal boxes.
Definition: tnumber_distance.c:297
double NAD_tbox_tbox_internal(const TBOX *box1, const TBOX *box2)
Returns the nearest approach distance between the temporal boxes (internal function) ...
Definition: tnumber_distance.c:252
Datum NAD_tbox_tnumber(PG_FUNCTION_ARGS)
Returns the nearest approach distance between the temporal box and the temporal number.
Definition: tnumber_distance.c:355