|
◆ 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,end1 | Instants defining the first segment |
[in] | start2,end2 | Instants defining the second segment |
[in] | linear1,linear2 | State whether the interpolation is linear |
[out] | value | Value |
[out] | t | Timestamp |
- Precondition
- The segments are not both constants.
|