Arithmetic including a tolerance. More...
#include <qwt_scale_engine.h>
Static Public Member Functions | |
| static double | ceilEps (double value, double intervalSize) |
| static double | divideEps (double intervalSize, double numSteps) |
| Divide an interval into steps. More... | |
| static double | divideInterval (double intervalSize, int numSteps, uint base) |
| static double | floorEps (double value, double intervalSize) |
Arithmetic including a tolerance.
Definition at line 22 of file qwt_scale_engine.h.
|
static |
Ceil a value, relative to an interval
| value | Value to be ceiled |
| intervalSize | Interval size |
Definition at line 108 of file qwt_scale_engine.cpp.
|
static |
Divide an interval into steps.

| intervalSize | Interval size |
| numSteps | Number of steps |
Definition at line 143 of file qwt_scale_engine.cpp.
|
static |
Calculate a step size for a given interval
| intervalSize | Interval size |
| numSteps | Number of steps |
| base | Base for the division ( usually 10 ) |
Definition at line 160 of file qwt_scale_engine.cpp.
|
static |
Floor a value, relative to an interval
| value | Value to be floored |
| intervalSize | Interval size |
Definition at line 126 of file qwt_scale_engine.cpp.