MobilityDB  1.0

◆ tpoint_geo_min_bearing_at_timestamp()

bool tpoint_geo_min_bearing_at_timestamp ( const TInstant start,
const TInstant end,
Datum  point,
Oid  basetypid,
Datum *  value,
TimestampTz *  t 
)

Returns the value and timestamp at which the a temporal point segment and a point are at the minimum bearing.

Parameters
[in]start,endInstants defining the segment
[in]pointGeometric/geographic point
[in]basetypidOid of the base type
[out]valueValue
[out]tTimestamp
Precondition
The segment is not constant and has linear interpolation.
Note
The parameter basetypid is not needed for temporal points