MobilityDB 1.1

◆ tnumber_min_dist_at_timestamp()

static bool tnumber_min_dist_at_timestamp ( const TInstant *  start1,
const TInstant *  end1,
const TInstant *  start2,
const TInstant *  end2,
Datum *  value,
TimestampTz *  t 
)
static

Return true if two segments of the temporal numbers intersect at a timestamp.

This function is passed to the lifting infrastructure when computing the temporal distance.

Parameters
[in]start1,end1Temporal instants defining the first segment
[in]start2,end2Temporal instants defining the second segment
[out]valueValue
[out]tTimestamp