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

◆ tpointsegm_tdwithin_turnpt()

int tpointsegm_tdwithin_turnpt ( Datum  start1,
Datum  end1,
Datum  start2,
Datum  end2,
Datum  value,
TimestampTz  lower,
TimestampTz  upper,
TimestampTz t1,
TimestampTz t2 
)

Return 1 or 2 if two temporal point segments are within a distance during the period defined by the output timestamps, return 0 otherwise.

Parameters
[in]start1,end1Base values defining the first segment
[in]start2,end2Base values defining the second segment
[in]valueBase value
[in]lower,upperTimestamps defining the segments
[out]t1,t2Timestamps defining the resulting period, may be equal
Precondition
The segments are not both constants.