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

◆ tposesegm_intersection()

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

Return 1 if two temporal pose segments intersect during the period defined by the output timestamps, return 0 otherwise.

Parameters
[in]start1,end1Temporal instants defining the first segment
[in]start2,end2Temporal instants defining the second segment
[in]lower,upperTimestamps defining the segments
[out]t1,t2Timestamps defining the resulting period, may be equal
Note
The candidate instant is derived from the position component by delegating to tgeompointsegm_intersection; the lifting infrastructure verifies full pose equality (position + rotation) at the returned timestamp.