MobilityDB  1.0

◆ tnumber_min_dist_at_timestamp()

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

Returns true if the two segments of the temporal values intersect at the timestamp.

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

Parameters
[in]start1,end1Temporal instants defining the first segment
[in]linear1True if the first segment has linear interpolation
[in]start2,end2Temporal instants defining the second segment
[in]linear2True if the second segment has linear interpolation
[out]valueValue
[out]tTimestamp