Engauge Digitizer 2
Loading...
Searching...
No Matches
LinearToLog.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2016 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef LINEAR_TO_LOG_H
8#define LINEAR_TO_LOG_H
9
14{
15 public:
17
19 double delinearize (double value,
20 bool isLog) const;
21
23 double linearize (double value,
24 bool isLog) const;
25
26};
27
28#endif // LINEAR_TO_LOG_H
const int INNER_RADIUS_MIN
Warps log coordinates to make them linear before passing them to code that accepts only linear coordi...
Definition LinearToLog.h:14
double delinearize(double value, bool isLog) const
Convert linear coordinates to log. This is a noop if the output is supposed to be linear.
double linearize(double value, bool isLog) const
Convert log coordinates to linear. This is a noop if the input is already linear.