QwtScaleArithmetic (3) - Linux Manuals
NAME
QwtScaleArithmetic -
Arithmetic including a tolerance.
SYNOPSIS
Static Public Member Functions
static double ceilEps (double value, double intervalSize)
static double floorEps (double value, double intervalSize)
static double divideEps (double interval, double steps)
Divide an interval into steps.
static double divideInterval (double interval, int numSteps, uint base)
Detailed Description
Arithmetic including a tolerance.
Member Function Documentation
double QwtScaleArithmetic::ceilEps (doublevalue, doubleintervalSize) [static]
Ceil a value, relative to an intervalParameters:
-
value Value to be ceiled
intervalSize Interval size
Returns:
- Rounded value
See Also:
- floorEps()
double QwtScaleArithmetic::divideEps (doubleintervalSize, doublenumSteps) [static]
Divide an interval into steps. $stepSize = (intervalSize - intervalSize * 10e^{-6}) / numSteps$
Parameters:
-
intervalSize Interval size
numSteps Number of steps
Returns:
- Step size
double QwtScaleArithmetic::divideInterval (doubleintervalSize, intnumSteps, uintbase) [static]
Calculate a step size for a given intervalParameters:
-
intervalSize Interval size
numSteps Number of steps
base Base for the division ( usually 10 )
Returns:
- Calculated step size
double QwtScaleArithmetic::floorEps (doublevalue, doubleintervalSize) [static]
Floor a value, relative to an intervalParameters:
-
value Value to be floored
intervalSize Interval size
Returns:
- Rounded value
See Also:
- floorEps()
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.