|
◆ tdwithin_tpointsegm_tpointsegm()
int tdwithin_tpointsegm_tpointsegm |
( |
Datum |
sv1, |
|
|
Datum |
ev1, |
|
|
Datum |
sv2, |
|
|
Datum |
ev2, |
|
|
TimestampTz |
lower, |
|
|
TimestampTz |
upper, |
|
|
double |
dist, |
|
|
bool |
hasz, |
|
|
datum_func3 |
func, |
|
|
TimestampTz * |
t1, |
|
|
TimestampTz * |
t2 |
|
) |
| |
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 the given distance.
- Parameters
-
[in] | sv1,ev1 | Points defining the first segment |
[in] | sv2,ev2 | Points defining the second segment |
[in] | lower,upper | Timestamps associated to the segments |
[in] | dist | Distance |
[in] | hasz | True for 3D segments |
[in] | func | Distance function (2D or 3D) |
[out] | t1,t2 | Resulting timestamps |
- 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
|