|
QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
|
Arithmetic including a tolerance. More...
#include <qwt_scale_engine.h>
Static Public Member Functions | |
| static double | ceilEps (double value, double intervalSize) |
| Ceiling with epsilon tolerance. | |
| static double | floorEps (double value, double intervalSize) |
| Floor with epsilon tolerance. | |
| static double | divideEps (double intervalSize, double numSteps) |
| Divide with epsilon tolerance. | |
| static double | divideInterval (double intervalSize, int numSteps, uint base) |
| Divide interval. | |
Arithmetic including a tolerance.
|
static |
Ceiling with epsilon tolerance.
Ceil a value, relative to an interval.
| value | Value to be ceiled |
| intervalSize | Interval size |
|
static |
Divide with epsilon tolerance.
Divide an interval into steps.
Formula:
| intervalSize | Interval size |
| numSteps | Number of steps |
|
static |
Divide interval.
Calculate a step size for a given interval.
| intervalSize | Interval size |
| numSteps | Number of steps |
| base | Base for the division (usually 10) |
|
static |
Floor with epsilon tolerance.
Floor a value, relative to an interval.
| value | Value to be floored |
| intervalSize | Interval size |