QwtScaleArithmetic.3 2.2 KB

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