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

◆ tpoint_geo_bearing_turnpt()

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

Return the value and timestamptz at which the a temporal point segment and a point are at the minimum bearing.

Parameters
[in]start,endValues defining the segment
[in]pointGeometric/geography point to locate
[in]lower,upperTimestampts defining the segment
[out]t1,t2
Precondition
The segment is not constant and has linear interpolation
Postcondition
As there is a single turning point, t2 is set to t1