Engauge Digitizer
2
util
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
13
class
LinearToLog
14
{
15
public
:
16
LinearToLog
();
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
LinearToLog::linearize
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:25
LinearToLog
Warps log coordinates to make them linear before passing them to code that accepts only linear coordi...
Definition:
LinearToLog.h:12
LinearToLog::delinearize
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:14
LinearToLog::LinearToLog
LinearToLog()
Definition:
LinearToLog.cpp:10
Generated on Sat Jan 4 2020 12:00:00 for Engauge Digitizer by
1.8.16