Jan-Sandr / Grafer

2 stars 1 forks source link

[App] Implement inverse function #149

Closed Jan-Sandr closed 2 years ago

Jan-Sandr commented 2 years ago

Story:

As next option which will user have will be inverse function. As first add new property to function class bool Inverse Then in same class add 2 new methods. First private bool IsInvertible() which will check if curve is monotone and second private Polyline Invert() which will invert points in curve with same system like in old application. As last here slightly adjust method Plot() to be able to work with inverse function. Then add new checkBox checkBoxInverse and extend function's constructor with new required parameter bool inverse If method IsInvertible() failed then adjust labelStatus with message which will inform user about that in this range function cannot be inverted. Of course as last add new message to Messages.csv

To do: