! 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. */
| 2080 | \a lower will always be numerically smaller (or equal) to \a upper. |
| 2081 | */ |
| 2082 | QCPRange QCPRange::sanitizedForLinScale() const |
| 2083 | { |
| 2084 | QCPRange sanitizedRange(lower, upper); |
| 2085 | sanitizedRange.normalize(); |
| 2086 | return sanitizedRange; |
| 2087 | } |
| 2088 | |
| 2089 | /*! |
| 2090 | Checks, whether the specified range is within valid bounds, which are defined |
no test coverage detected