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

◆ tnumber_distance_turnpt()

int tnumber_distance_turnpt ( Datum  start1,
Datum  end1,
Datum  start2,
Datum  end2,
Datum param  UNUSED,
meosType  basetype,
TimestampTz  lower,
TimestampTz  upper,
TimestampTz t1,
TimestampTz t2 
)

Return true if the segments of twp temporal number intersects at a timestamptz.

Parameters
[in]start1,end1Values defining the first segment
[in]start2,end2Values defining the second segment
[in]paramAdditional parameter
[in]basetypeType of the values
[in]lower,upperTimestamps defining the segment
[out]t1,t2
Note
This function is passed to the lifting infrastructure when computing the temporal distance
Postcondition
As there is a single turning point, t2 is set to t1