MobilityDB 1.1

◆ tpoint_geo_min_dist_at_timestamp()

static bool tpoint_geo_min_dist_at_timestamp ( const TInstant start,
const TInstant end,
Datum  point,
meosType  basetype,
Datum value,
TimestampTz t 
)
static

Return the value and timestamp at which the a temporal point segment and a point are at the minimum distance.

These are the turning points when computing the temporal distance.

Parameters
[in]start,endInstants defining the first segment
[in]pointBase point
[in]basetypeBase type
[out]valueProjected value at turning point
[out]tTimestamp at turning point
Precondition
The segment is not constant.
Note
The parameter basetype is not needed for temporal points