MobilityDB 1.1

◆ tgeogpointsegm_intersection()

bool tgeogpointsegm_intersection ( const TInstant *  start1,
const TInstant *  end1,
const TInstant *  start2,
const TInstant *  end2,
TimestampTz *  t 
)

Return true if two segments of twp temporal geographic points intersect at a timestamp.

Parameters
[in]start1,end1Temporal instants defining the first segment
[in]start2,end2Temporal instants defining the second segment
[out]tTimestamp
Precondition
The instants are synchronized, i.e., start1->t = start2->t and end1->t = end2->t