📄 class_qwt_double_interval.html
字号:
<p>Union of two intervals <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_double_interval.html#f6f3a0baf79d261237fb4aca2f099716">unite</a> </dd></dl><p>Definition at line <a class="el" href="qwt__double__interval_8h-source.html#l00165">165</a> of file <a class="el" href="qwt__double__interval_8h-source.html">qwt_double_interval.h</a>.<p>References <a class="el" href="qwt__double__interval_8cpp-source.html#l00063">unite()</a>. </td> </tr></table><a class="anchor" name="a824f64ce1f33a025d60e1810c956f09"></a><!-- doxytag: member="QwtDoubleInterval::setInterval" ref="a824f64ce1f33a025d60e1810c956f09" args="(double minValue, double maxValue)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtDoubleInterval::setInterval </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>minValue</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>maxValue</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Assign the limits of the interval<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>minValue</em> </td><td>Minimum value </td></tr> <tr><td valign="top"></td><td valign="top"><em>maxValue</em> </td><td>Maximum value </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__double__interval_8h-source.html#l00101">101</a> of file <a class="el" href="qwt__double__interval_8h-source.html">qwt_double_interval.h</a>.<p>Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00636">QwtLog10ScaleEngine::autoScale()</a>. </td> </tr></table><a class="anchor" name="34863ae20465138c887f6de55a5f1bed"></a><!-- doxytag: member="QwtDoubleInterval::setMaxValue" ref="34863ae20465138c887f6de55a5f1bed" args="(double)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtDoubleInterval::setMaxValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>maxValue</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Assign the upper limit of the interval<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>maxValue</em> </td><td>Maximum value </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__double__interval_8h-source.html#l00122">122</a> of file <a class="el" href="qwt__double__interval_8h-source.html">qwt_double_interval.h</a>.<p>Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00423">QwtLinearScaleEngine::autoScale()</a>. </td> </tr></table><a class="anchor" name="610a87e9921738cf3a4ef1f4cbd96f02"></a><!-- doxytag: member="QwtDoubleInterval::setMinValue" ref="610a87e9921738cf3a4ef1f4cbd96f02" args="(double)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtDoubleInterval::setMinValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>minValue</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Assign the lower limit of the interval<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>minValue</em> </td><td>Minimum value </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__double__interval_8h-source.html#l00112">112</a> of file <a class="el" href="qwt__double__interval_8h-source.html">qwt_double_interval.h</a>.<p>Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00423">QwtLinearScaleEngine::autoScale()</a>. </td> </tr></table><a class="anchor" name="762d619c1af104da8b73c6009b7cd669"></a><!-- doxytag: member="QwtDoubleInterval::symmetrize" ref="762d619c1af104da8b73c6009b7cd669" args="(double value) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> QwtDoubleInterval::symmetrize </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>value</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Adjust the limit that is closer to value, so that value becomes the center of the interval.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>Center </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Interval with value as center </dd></dl><p>Definition at line <a class="el" href="qwt__double__interval_8cpp-source.html#l00140">140</a> of file <a class="el" href="qwt__double__interval_8cpp-source.html">qwt_double_interval.cpp</a>.<p>References <a class="el" href="qwt__double__interval_8h-source.html#l00200">isValid()</a>, and <a class="el" href="qwt__double__interval_8h-source.html#l00077">QwtDoubleInterval()</a>.<p>Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00423">QwtLinearScaleEngine::autoScale()</a>. </td> </tr></table><a class="anchor" name="f6f3a0baf79d261237fb4aca2f099716"></a><!-- doxytag: member="QwtDoubleInterval::unite" ref="f6f3a0baf79d261237fb4aca2f099716" args="(const QwtDoubleInterval &) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> QwtDoubleInterval::unite </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> & </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Unite 2 intervals. <p><p>Definition at line <a class="el" href="qwt__double__interval_8cpp-source.html#l00063">63</a> of file <a class="el" href="qwt__double__interval_8cpp-source.html">qwt_double_interval.cpp</a>.<p>References <a class="el" href="qwt__double__interval_8h-source.html#l00200">isValid()</a>, <a class="el" href="qwt__double__interval_8h-source.html#l00134">maxValue()</a>, <a class="el" href="qwt__double__interval_8h-source.html#l00128">minValue()</a>, and <a class="el" href="qwt__double__interval_8h-source.html#l00077">QwtDoubleInterval()</a>.<p>Referenced by <a class="el" href="qwt__double__interval_8h-source.html#l00165">operator|()</a>. </td> </tr></table><a class="anchor" name="b5d610e0d1fc9a5a3bc020dd39326327"></a><!-- doxytag: member="QwtDoubleInterval::width" ref="b5d610e0d1fc9a5a3bc020dd39326327" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">double QwtDoubleInterval::width </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return the width of an interval The width of invalid intervals is 0.0, otherwise the result is <a class="el" href="class_qwt_double_interval.html#8fd8629d76f24d5494e59458cd79c4e2">maxValue()</a> - <a class="el" href="class_qwt_double_interval.html#2d7d56e81ee75911f176c94f6aaf4b8b">minValue()</a>.<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_double_interval.html#311402213e243b809008faaec00507d5">isValid</a> </dd></dl><p>Definition at line <a class="el" href="qwt__double__interval_8h-source.html#l00146">146</a> of file <a class="el" href="qwt__double__interval_8h-source.html">qwt_double_interval.h</a>.<p>References <a class="el" href="qwt__double__interval_8h-source.html#l00200">isValid()</a>.<p>Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00636">QwtLog10ScaleEngine::autoScale()</a>, <a class="el" href="qwt__scale__engine_8cpp-source.html#l00423">QwtLinearScaleEngine::autoScale()</a>, <a class="el" href="qwt__color__map_8cpp-source.html#l00370">QwtLinearColorMap::colorIndex()</a>, <a class="el" href="qwt__color__map_8cpp-source.html#l00183">QwtColorMap::colorTable()</a>, <a class="el" href="qwt__scale__engine_8cpp-source.html#l00251">QwtScaleEngine::contains()</a>, <a class="el" href="qwt__scale__engine_8cpp-source.html#l00693">QwtLog10ScaleEngine::divideScale()</a>, <a class="el" href="qwt__scale__engine_8cpp-source.html#l00468">QwtLinearScaleEngine::divideScale()</a>, <a class="el" href="qwt__color__map_8cpp-source.html#l00479">QwtAlphaColorMap::rgb()</a>, and <a class="el" href="qwt__color__map_8cpp-source.html#l00357">QwtLinearColorMap::rgb()</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:23:48 2007 for Qwt User's Guide by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -