MCPcopy Create free account
hub / github.com/KDE/labplot / inverseMap

Method inverseMap

src/backend/worksheet/plots/cartesian/CartesianScale.cpp:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 bool inverseMap(double* value) const override {
93 *value = pow(m_c, (*value - m_a) / m_b);
94 return true;
95 }
96 int direction() const override {
97 return m_b < 0 ? -1 : 1;
98 }

Callers 1

mapSceneToLogicalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected