MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / sanitizedForLinScale

Method sanitizedForLinScale

3rdparty/qcustomplot/qcustomplot.cpp:2114–2119  ·  view source on GitHub ↗

! Returns a sanitized version of the range. Sanitized means for linear scales, that \a lower will always be numerically smaller (or equal) to \a upper. */

Source from the content-addressed store, hash-verified

2112 \a lower will always be numerically smaller (or equal) to \a upper.
2113*/
2114QCPRange QCPRange::sanitizedForLinScale() const
2115{
2116 QCPRange sanitizedRange(lower, upper);
2117 sanitizedRange.normalize();
2118 return sanitizedRange;
2119}
2120
2121/*!
2122 Checks, whether the specified range is within valid bounds, which are defined

Callers 5

setRangeMethod · 0.80
setRangeLowerMethod · 0.80
setRangeUpperMethod · 0.80
scaleRangeMethod · 0.80
setDataRangeMethod · 0.80

Calls 1

normalizeMethod · 0.80

Tested by

no test coverage detected