MobilityDB 1.3
Loading...
Searching...
No Matches

◆ tpointsegm_timestamp_at_value1_iter()

static bool tpointsegm_timestamp_at_value1_iter ( const TInstant inst1,
const TInstant inst2,
Datum  value,
TimestampTz t 
)
static

Return the timestamp at which a segment of a temporal point takes a base value (iterator function)

To take into account roundoff errors, the function considers that two values are equal even if their coordinates may differ by MEOS_EPSILON.

Parameters
[in]inst1,inst2Temporal values
[in]valueBase value
[out]tTimestamp
Returns
Return true if the point is found in the temporal point segment
Precondition
The segment is not constant and has linear interpolation
Note
The resulting timestamptz may be at an exclusive bound