QwtScaleArithmetic.3
2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.TH "QwtScaleArithmetic" 3 "Sat Jan 26 2013" "Version 6.1-rc3" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtScaleArithmetic \-
.PP
Arithmetic including a tolerance\&.
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_scale_engine\&.h>\fP
.SS "Static Public Member Functions"
.in +1c
.ti -1c
.RI "static double \fBceilEps\fP (double value, double intervalSize)"
.br
.ti -1c
.RI "static double \fBfloorEps\fP (double value, double intervalSize)"
.br
.ti -1c
.RI "static double \fBdivideEps\fP (double interval, double steps)"
.br
.RI "\fIDivide an interval into steps\&. \fP"
.ti -1c
.RI "static double \fBdivideInterval\fP (double interval, int numSteps, uint base)"
.br
.in -1c
.SH "Detailed Description"
.PP
Arithmetic including a tolerance\&.
.SH "Member Function Documentation"
.PP
.SS "double QwtScaleArithmetic::ceilEps (doublevalue, doubleintervalSize)\fC [static]\fP"
Ceil a value, relative to an interval
.PP
\fBParameters:\fP
.RS 4
\fIvalue\fP Value to be ceiled
.br
\fIintervalSize\fP Interval size
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBfloorEps()\fP
.RE
.PP
.SS "double QwtScaleArithmetic::divideEps (doubleintervalSize, doublenumSteps)\fC [static]\fP"
.PP
Divide an interval into steps\&. $stepSize = (intervalSize - intervalSize * 10e^{-6}) / numSteps$.PP
\fBParameters:\fP
.RS 4
\fIintervalSize\fP Interval size
.br
\fInumSteps\fP Number of steps
.RE
.PP
\fBReturns:\fP
.RS 4
Step size
.RE
.PP
.SS "double QwtScaleArithmetic::divideInterval (doubleintervalSize, intnumSteps, uintbase)\fC [static]\fP"
Calculate a step size for a given interval
.PP
\fBParameters:\fP
.RS 4
\fIintervalSize\fP Interval size
.br
\fInumSteps\fP Number of steps
.br
\fIbase\fP Base for the division ( usually 10 )
.RE
.PP
.SS "double QwtScaleArithmetic::floorEps (doublevalue, doubleintervalSize)\fC [static]\fP"
Floor a value, relative to an interval
.PP
\fBParameters:\fP
.RS 4
\fIvalue\fP Value to be floored
.br
\fIintervalSize\fP Interval size
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBfloorEps()\fP
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.