General functions for temporal sequences.
Return true if the three values are collinear
- Parameters
-
[in] | x1,x2,x3 | Input values |
[in] | ratio | Value in [0,1] representing the duration of the timestamps associated to x1 and x2 divided by the duration of the timestamps associated to x1 and x3 |