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

◆ tsegment_intersection_value()

int tsegment_intersection_value ( Datum  start,
Datum  end,
Datum  value,
meosType  temptype,
TimestampTz  lower,
TimestampTz  upper,
TimestampTz t1,
TimestampTz t2 
)

Return true if a segment of a temporal sequence intersects a base value at a timestamptz.

Parameters
[in]start,endValues defining the segment
[in]valueValue to locate
[in]temptypeTemporal type
[in]lower,upperTimestamps defining the segment
[out]t1,t2
Note
Return false if the value is equal to the first or the last instant. The reason is that the function is used in the lifting infrastructure for determining the crossings after testing whether the bounds of the segments are equal to the given value.