MobilityDB
1.0
|
Distance functions for temporal points. More...
#include <postgres.h>
#include <catalog/pg_type.h>
#include "general/temporal.h"
#include <liblwgeom.h>
#include "tpoint.h"
Go to the source code of this file.
Functions | |
double | lw_dist_sphere_point_dist (const LWGEOM *lw1, const LWGEOM *lw2, int mode, long double *fraction) |
Compute the projected point and the distance between the closest point (geodetic version). More... | |
Datum | distance_geo_tpoint (PG_FUNCTION_ARGS) |
Returns the temporal distance between the geometry/geography point and the temporal point. More... | |
Datum | distance_tpoint_geo (PG_FUNCTION_ARGS) |
Returns the temporal distance between the temporal point and the geometry/geography point. More... | |
Datum | distance_tpoint_tpoint (PG_FUNCTION_ARGS) |
Returns the temporal distance between the two temporal points. More... | |
bool | tpoint_min_dist_at_timestamp (const TInstant *start1, const TInstant *end1, bool linear1, const TInstant *start2, const TInstant *end2, bool linear2, Datum *value, TimestampTz *t) |
Returns the value and timestamp at which the two temporal point segments are at the minimum distance (dispatch function). More... | |
Temporal * | distance_tpoint_geo_internal (const Temporal *temp, Datum geo) |
Returns the temporal distance between the temporal point and the geometry/geography point (distpatch function) More... | |
Temporal * | distance_tpoint_tpoint_internal (const Temporal *temp1, const Temporal *temp2) |
Returns the temporal distance between the two temporal points (dispatch function) More... | |
Datum | NAI_geo_tpoint (PG_FUNCTION_ARGS) |
Returns the nearest approach instant between the geometry and the temporal point. More... | |
Datum | NAI_tpoint_geo (PG_FUNCTION_ARGS) |
Returns the nearest approach instant between the temporal point and the geometry. More... | |
Datum | NAI_tpoint_tpoint (PG_FUNCTION_ARGS) |
Returns the nearest approach instant between the temporal points. More... | |
TInstant * | NAI_tpoint_geo_internal (FunctionCallInfo fcinfo, const Temporal *temp, GSERIALIZED *gs) |
Returns the nearest approach instant between the temporal point and the geometry (dispatch function) More... | |
Datum | NAD_geo_tpoint (PG_FUNCTION_ARGS) |
Returns the nearest approach distance between the geometry and the temporal point. More... | |
Datum | NAD_tpoint_geo (PG_FUNCTION_ARGS) |
Returns the nearest approach distance between the temporal point and the geometry. More... | |
Datum | NAD_geo_stbox (PG_FUNCTION_ARGS) |
Returns the nearest approach distance between the geometry and the spatiotemporal box. More... | |
Datum | NAD_stbox_geo (PG_FUNCTION_ARGS) |
Returns the nearest approach distance between the spatiotemporal box and the geometry. More... | |
Datum | NAD_stbox_stbox (PG_FUNCTION_ARGS) |
Returns the nearest approach distance between the spatio-temporal boxes. More... | |
Datum | NAD_stbox_tpoint (PG_FUNCTION_ARGS) |
Returns the nearest approach distance between the spatio-temporal box and the temporal point. More... | |
Datum | NAD_tpoint_stbox (PG_FUNCTION_ARGS) |
Returns the nearest approach distance between the temporal point and the spatio-temporal box. More... | |
Datum | NAD_tpoint_tpoint (PG_FUNCTION_ARGS) |
Returns the nearest approach distance between the temporal points. More... | |
double | NAD_stbox_stbox_internal (const STBOX *box1, const STBOX *box2) |
Returns the nearest approach distance between the spatio-temporal boxes (internal function) More... | |
Datum | shortestline_geo_tpoint (PG_FUNCTION_ARGS) |
Returns the line connecting the nearest approach point between the geometry and the temporal instant point. More... | |
Datum | shortestline_tpoint_geo (PG_FUNCTION_ARGS) |
Returns the line connecting the nearest approach point between the temporal instant point and the geometry/geography. More... | |
Datum | shortestline_tpoint_tpoint (PG_FUNCTION_ARGS) |
Returns the line connecting the nearest approach point between the temporal points. More... | |
bool | shortestline_tpoint_tpoint_internal (const Temporal *temp1, const Temporal *temp2, Datum *line) |
Returns the line connecting the nearest approach point between the temporal points. More... | |
Distance functions for temporal points.