Engauge Digitizer  2
LinearToLog.h
1 #ifndef LINEAR_TO_LOG_H
2 #define LINEAR_TO_LOG_H
3 
8 {
9  public:
10  LinearToLog();
11 
13  double delinearize (double value,
14  bool isLog) const;
15 
17  double linearize (double value,
18  bool isLog) const;
19 
20 };
21 
22 #endif // LINEAR_TO_LOG_H
double linearize(double value, bool isLog) const
Convert log coordinates to linear. This is a noop if the input is already linear. ...
Definition: LinearToLog.cpp:19
double delinearize(double value, bool isLog) const
Convert linear coordinates to log. This is a noop if the output is supposed to be linear...
Definition: LinearToLog.cpp:8
Warps log coordinates to make them linear before passing them to code that accepts only linear coordi...
Definition: LinearToLog.h:7