MobilityDB  1.0

◆ tpoint_min_dist_at_timestamp()

bool tpoint_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 the value and timestamp at which the two temporal point segments are at the minimum distance (dispatch function).

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