|
Qwt User's Guide
svn
|
#include <qwt_scale_engine.h>
Static Public Member Functions | |
| static double | ceil125 (double x) |
| static double | ceilEps (double value, double intervalSize) |
| static double | divideEps (double interval, double steps) |
| static double | floor125 (double x) |
| static double | floorEps (double value, double intervalSize) |
Arithmetic including a tolerance.
| double QwtScaleArithmetic::ceil125 | ( | double | x | ) | [static] |
Find the smallest value out of {1,2,5}*10^n with an integer number n which is greater than or equal to x
| x | Input value |
| double QwtScaleArithmetic::ceilEps | ( | double | value, |
| double | intervalSize | ||
| ) | [static] |
Ceil a value, relative to an interval
| value | Value to ceil |
| intervalSize | Interval size |
| double QwtScaleArithmetic::divideEps | ( | double | intervalSize, |
| double | numSteps | ||
| ) | [static] |
Divide an interval into steps.

| intervalSize | Interval size |
| numSteps | Number of steps |
| double QwtScaleArithmetic::floor125 | ( | double | x | ) | [static] |
Find the largest value out of {1,2,5}*10^n with an integer number n which is smaller than or equal to x.
| x | Input value |
| double QwtScaleArithmetic::floorEps | ( | double | value, |
| double | intervalSize | ||
| ) | [static] |
Floor a value, relative to an interval
| value | Value to floor |
| intervalSize | Interval size |