table of contents
- bookworm 6.1.4-2
- testing 6.1.4-2
- unstable 6.1.4-2
- experimental 6.2.0-1
QwtScaleArithmetic(3) | Qwt User's Guide | QwtScaleArithmetic(3) |
NAME¶
QwtScaleArithmetic - Arithmetic including a tolerance.
SYNOPSIS¶
#include <qwt_scale_engine.h>
Static Public Member Functions¶
static double ceilEps (double value, double intervalSize)
static double floorEps (double value, double intervalSize)
static double divideEps (double intervalSize, double numSteps)
Divide an interval into steps. static double divideInterval (double
intervalSize, int numSteps, uint base)
Detailed Description¶
Arithmetic including a tolerance.
Member Function Documentation¶
double QwtScaleArithmetic::ceilEps (double value, double intervalSize) [static]¶
Ceil a value, relative to an interval
Parameters:
intervalSize Interval size
Returns:
See also:
double QwtScaleArithmetic::divideEps (double intervalSize, double numSteps) [static]¶
Divide an interval into steps. $stepSize = (intervalSize - intervalSize * 10e^{-6}) / numSteps$
Parameters:
numSteps Number of steps
Returns:
double QwtScaleArithmetic::divideInterval (double intervalSize, int numSteps, uint base) [static]¶
Calculate a step size for a given interval
Parameters:
numSteps Number of steps
base Base for the division ( usually 10 )
Returns:
double QwtScaleArithmetic::floorEps (double value, double intervalSize) [static]¶
Floor a value, relative to an interval
Parameters:
intervalSize Interval size
Returns:
See also:
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |