MobilityDB 1.1
|
◆ tfloatsegm_intersection_value()
Compute the intersection, if any, of a segment of a temporal sequence and a value. The functions only return true when there is an intersection at the middle of the segment, i.e., they return false if they intersect at a bound. When they return true, they also return in the output parameter the intersection timestampt t. The value taken by the segment and the target value are equal up to the floating point precision. There is no need to add functions for DoubleN, which are used for computing avg and centroid aggregates, since these computations are based on sum and thus they do not need to add intermediate points. Return true if the segment of a temporal number intersects the base value at a timestamp
|