MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tgeo_distance.h File Reference
#include <postgres.h>
#include <liblwgeom.h>
#include <meos.h>
#include "temporal/temporal.h"

Go to the source code of this file.

Functions

bool point3d_min_dist (const POINT3DZ *p1, const POINT3DZ *p2, const POINT3DZ *p3, const POINT3DZ *p4, double *fraction)
 Distance functions for temporal points. More...
 
int tgeogpointsegm_distance_turnpt (Datum start1, Datum end1, Datum start2, Datum end2, Datum param UNUSED, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2)
 Return 1 if the single timestamp at which the two temporal geography point segments are at the minimum distance. More...
 
int tgeompointsegm_distance_turnpt (Datum start1, Datum end1, Datum start2, Datum end2, Datum param UNUSED, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2)
 Return 1 the timestamp at which two temporal geometry point segments are at the minimum distance. More...
 
double tinstant_distance (const TInstant *inst1, const TInstant *inst2, datum_func2 func)
 Return the distance between two temporal instants. More...
 
double tnumberinst_distance (const TInstant *inst1, const TInstant *inst2)
 Return the distance between two temporal instants. More...