MobilityDB 1.3
Loading...
Searching...
No Matches

◆ tpoint_geo_distance_turnpt()

static int tpoint_geo_distance_turnpt ( Datum  start,
Datum  end,
Datum  point,
TimestampTz  lower,
TimestampTz  upper,
TimestampTz t1,
TimestampTz t2 
)
static

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

These are the turning points when computing the temporal distance.

Parameters
[in]start,endValues defining the first segment
[in]pointPoint to locate
[in]lower,upperMinimum distance at turning point
[out]t1,t2
Precondition
The segment is not constant
Postcondition
As there is a single turning point, t2 is set to t1