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 1 or 2 if two temporal geometry segments are within a distance during the period defined by the output timestamps, return 0 otherwise.

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,t2Timestamps defining the resulting period, may be equal
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