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

◆ tdwithin_trgeosegm_trgeosegm()

int tdwithin_trgeosegm_trgeosegm ( Datum sv1  UNUSED,
Datum ev1  UNUSED,
Datum sv2  UNUSED,
Datum ev2  UNUSED,
TimestampTz lower  UNUSED,
TimestampTz upper  UNUSED,
double dist  UNUSED,
TimestampTz *t1  UNUSED,
TimestampTz *t2  UNUSED 
)

Return the timestamps at which EITHER the segments of the two temporal points OR a segment of a temporal point and a point are within a distance.

Parameters
[in]sv1,ev1Points defining the first segment
[in]sv2,ev2Points defining the second segment
[in]lower,upperTimestamps associated to the segments
[in]distDistance
[out]t1,t2
Returns
Number of timestamps in the result, between 0 and 2. In the case of a single result both t1 and t2 are set to the unique timestamp