thank you for helping me use the method of closestPoint
qwt
to recover the value of y corresponds to a value x. I put that but still the problem of syntax ?
error: invalid type '<unresolved overloaded function types> [int]' for array subscript
Code:
Curve-> closestPoint (pos [0], NULL);