diff options
Diffstat (limited to 'src/powermap.cc')
-rw-r--r-- | src/powermap.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/powermap.cc b/src/powermap.cc index 6ffb74f..db1eafc 100644 --- a/src/powermap.cc +++ b/src/powermap.cc @@ -123,6 +123,21 @@ void Powermap::setShelf(bool enable) } } +PowerPair Powermap::getFixed0() const +{ + return fixed[0]; +} + +PowerPair Powermap::getFixed1() const +{ + return fixed[1]; +} + +PowerPair Powermap::getFixed2() const +{ + return fixed[2]; +} + // This mostly followes the wikipedia article for monotone cubic splines: // https://en.wikipedia.org/wiki/Monotone_cubic_interpolation void Powermap::updateSpline() |