|
MobilityDB 1.3
|
Temporal distance functions for temporal numbers. More...
#include <assert.h>#include <float.h>#include <math.h>#include <limits.h>#include <meos.h>#include <meos_internal.h>#include "temporal/lifting.h"#include "temporal/span.h"#include "temporal/tbox.h"#include "temporal/tinstant.h"#include "temporal/tsequence.h"#include "temporal/type_util.h"#include "geo/tgeo_spatialfuncs.h"Functions | |
| double | nad_tbox_tbox (const TBox *box1, const TBox *box2) |
| Return the nearest approach distance between the temporal boxes. More... | |
| double | nad_tnumber_number (const Temporal *temp, Datum value) |
| Return the nearest approach distance between a temporal number and a number. More... | |
| double | nad_tnumber_tbox (const Temporal *temp, const TBox *box) |
| Return the nearest approach distance between a temporal number and a temporal box. More... | |
| double | nad_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
| Return the nearest approach distance between two temporal numbers. More... | |
| Temporal * | tdistance_tnumber_number (const Temporal *temp, Datum value) |
| Return the temporal distance between a temporal number and a number. More... | |
| Temporal * | tdistance_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
| Return the temporal distance between two temporal numbers. More... | |
| int | tfloat_base_distance_turnpt (Datum start, Datum end, Datum value, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2) |
| Return 1 if a temporal float segment intersects a value during the period defined by the output timestampts, return 0 otherwise. More... | |
| int | tfloat_distance_turnpt (Datum start1, Datum end1, Datum start2, Datum end2, Datum param UNUSED, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2) |
| Return 1 if two temporal number segments intersect during the period defined by the output timestampts, return 0 otherwise. More... | |
| double | tnumberinst_distance (const TInstant *inst1, const TInstant *inst2) |
| Return the distance between two temporal instants. More... | |
Temporal distance functions for temporal numbers.