![]() |
MobilityDB 1.3
|
Distance functions for temporal numbers. More...
#include <assert.h>
#include <float.h>
#include <math.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 | |
Temporal * | distance_tfloat_float (const Temporal *temp, double d) |
Return the temporal distance between a temporal float and a float. More... | |
Temporal * | distance_tint_int (const Temporal *temp, int i) |
Return the temporal distance between a temporal integer and an integer. More... | |
double | nad_tboxfloat_tboxfloat (const TBox *box1, const TBox *box2) |
Return the nearest approach distance between the float temporal boxes. More... | |
int | nad_tboxint_tboxint (const TBox *box1, const TBox *box2) |
Return the nearest approach distance between the int temporal boxes. More... | |
double | nad_tfloat_float (const Temporal *temp, double d) |
Return the nearest approach distance between a temporal number and a number. More... | |
double | nad_tfloat_tbox (const Temporal *temp, const TBox *box) |
Return the nearest approach distance between a temporal float and a temporal box. More... | |
double | nad_tfloat_tfloat (const Temporal *temp1, const Temporal *temp2) |
Return the nearest approach distance between two temporal floats. More... | |
int | nad_tint_int (const Temporal *temp, int i) |
Return the nearest approach distance between a temporal number and a number. More... | |
int | nad_tint_tbox (const Temporal *temp, const TBox *box) |
Return the nearest approach distance between a temporal integer and a temporal box. More... | |
int | nad_tint_tint (const Temporal *temp1, const Temporal *temp2) |
Return the nearest approach distance between two temporal integers. More... | |
Distance functions for temporal numbers.