MobilityDB 1.1

◆ tpoint_min_dist_at_timestamp()

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

Return the value and timestamp at which the two temporal point segments are at the minimum distance.

Parameters
[in]start1,end1Instants defining the first segment
[in]start2,end2Instants defining the second segment
[out]valueValue
[out]tTimestamp
Precondition
The segments are not both constants.