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

◆ tfloat_base_distance_turnpt()

int tfloat_base_distance_turnpt ( Datum  start,
Datum  end,
Datum  value,
TimestampTz  lower,
TimestampTz  upper,
TimestampTz t1,
TimestampTz t2 
)

Return 1 if a temporal float segment intersects a value during the period defined by the output timestampts, return 0 otherwise.

Parameters
[in]start,endValues defining the segment
[in]valueValue to locate
[in]lower,upperTimestamps defining the segments
[out]t1,t2Timestamps defining the resulting period, may be equal
Note
This function is passed to the lifting infrastructure when computing the temporal distance