MobilityDB 1.1

◆ tgeogpoint_min_dist_at_timestamp()

static bool tgeogpoint_min_dist_at_timestamp ( const TInstant start1,
const TInstant end1,
const TInstant start2,
const TInstant end2,
Datum mindist,
TimestampTz t 
)
static

Return the single timestamp at which the two temporal geographic point segments are at the minimum distance.

These are the turning points when computing the temporal distance.

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