slsDetectorPackage/libs/qwt-6.1.5/doc/man/man3/QwtScaleArithmetic.3
Dhanya Thattil 38cd10d4e6
Qt5 built in qwt (#570)
- qt4->qt5
- in built qt5 6.1.5 because rhel7 is not upto date with qt5, removed findqwt.cmake
- made a fix in qwt lib (qwt_plot_layout.h) to work with 5.15 and lower versions for qrect constr.
- qt5 forms fixed, qt4 many hard coding forms switched to forms including qtabwidget, scrolls etc, fonts moved to forms
 - docking option enabled by default, removed option to disable docking feature from "Mode"
- added qVersionResolve utility functions to handle compatibility before and after qt5.12
- qtplots (ian's code) takes in gain mode enable to set some settings within the class, with proper gain plot ticks
- ensure gain plots have no zooming of z axis in 2d and y axis in 1d
- removed placeholder text in qpalette in main window form as its not supportd until 5.12 (so using qt5.9 designer insted of qt5.15 to cope)
- tab order
Servers:
- fixed some error messages that were empty for fail in funcs (mostly minor as if this error, major issues)
2022-11-11 15:15:10 +01:00

116 lines
2.2 KiB
Groff

.TH "QwtScaleArithmetic" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtScaleArithmetic \- 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 intervalSize, double numSteps)"
.br
.RI "Divide an interval into steps\&. "
.ti -1c
.RI "static double \fBdivideInterval\fP (double intervalSize, int numSteps, uint base)"
.br
.in -1c
.SH "Detailed Description"
.PP
Arithmetic including a tolerance\&.
.SH "Member Function Documentation"
.PP
.SS "double QwtScaleArithmetic::ceilEps (double value, double intervalSize)\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
\fBReturns\fP
.RS 4
Rounded value
.RE
.PP
\fBSee also\fP
.RS 4
\fBfloorEps()\fP
.RE
.PP
.SS "double QwtScaleArithmetic::divideEps (double intervalSize, double numSteps)\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 (double intervalSize, int numSteps, uint base)\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
\fBReturns\fP
.RS 4
Calculated step size
.RE
.PP
.SS "double QwtScaleArithmetic::floorEps (double value, double intervalSize)\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
\fBReturns\fP
.RS 4
Rounded value
.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\&.