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

◆ tcbuffer_cbuffer_distance_turnpt()

int tcbuffer_cbuffer_distance_turnpt ( Datum  start,
Datum  end,
Datum  value,
TimestampTz  lower,
TimestampTz  upper,
TimestampTz t1,
TimestampTz t2 
)

Return 1 or 3 if a temporal circular buffer segment and a geometry point are at the minimum distance during the period defined by the output timestamps, return 0 otherwise.

These are the turning points when computing the temporal distance.

Parameters
[in]start,endValues defining the segment
[in]valueValue to locate
[in]lower,upperTimestampts defining the segment
[out]t1,t2Timestamps defining the resulting period, may be equal
Precondition
The segment is not constant.