class_qwt_point_polar.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.20"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Qwt User&#39;s Guide: QwtPointPolar Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectalign" style="padding-left: 0.5em;">
  28. <div id="projectname">Qwt User&#39;s Guide
  29. &#160;<span id="projectnumber">6.1.6</span>
  30. </div>
  31. </td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </div>
  36. <!-- end header part -->
  37. <!-- Generated by Doxygen 1.8.20 -->
  38. <script type="text/javascript">
  39. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  40. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  41. /* @license-end */
  42. </script>
  43. <script type="text/javascript" src="menudata.js"></script>
  44. <script type="text/javascript" src="menu.js"></script>
  45. <script type="text/javascript">
  46. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  47. $(function() {
  48. initMenu('',true,false,'search.php','Search');
  49. $(document).ready(function() { init_search(); });
  50. });
  51. /* @license-end */</script>
  52. <div id="main-nav"></div>
  53. </div><!-- top -->
  54. <div id="side-nav" class="ui-resizable side-nav-resizable">
  55. <div id="nav-tree">
  56. <div id="nav-tree-contents">
  57. <div id="nav-sync" class="sync"></div>
  58. </div>
  59. </div>
  60. <div id="splitbar" style="-moz-user-select:none;"
  61. class="ui-resizable-handle">
  62. </div>
  63. </div>
  64. <script type="text/javascript">
  65. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  66. $(document).ready(function(){initNavTree('class_qwt_point_polar.html',''); initResizable(); });
  67. /* @license-end */
  68. </script>
  69. <div id="doc-content">
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Public Member Functions</a> &#124;
  85. <a href="class_qwt_point_polar-members.html">List of all members</a> </div>
  86. <div class="headertitle">
  87. <div class="title">QwtPointPolar Class Reference</div> </div>
  88. </div><!--header-->
  89. <div class="contents">
  90. <p>A point in polar coordinates.
  91. <a href="class_qwt_point_polar.html#details">More...</a></p>
  92. <p><code>#include &lt;<a class="el" href="qwt__point__polar_8h_source.html">qwt_point_polar.h</a>&gt;</code></p>
  93. <table class="memberdecls">
  94. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  95. Public Member Functions</h2></td></tr>
  96. <tr class="memitem:a365875acf86a9f052e12784b5f2f7d44"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a365875acf86a9f052e12784b5f2f7d44">QwtPointPolar</a> ()</td></tr>
  97. <tr class="separator:a365875acf86a9f052e12784b5f2f7d44"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:af1c77f9730d441937e52ff5beee04975"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#af1c77f9730d441937e52ff5beee04975">QwtPointPolar</a> (double <a class="el" href="class_qwt_point_polar.html#a4b3ebfcbe0d9b6a7e0b39e50d2895510">azimuth</a>, double <a class="el" href="class_qwt_point_polar.html#a20a4dd477b5b204b080fed08aa04a7ce">radius</a>)</td></tr>
  99. <tr class="separator:af1c77f9730d441937e52ff5beee04975"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a269241ca9f94f641063fe896cdd77165"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a269241ca9f94f641063fe896cdd77165">QwtPointPolar</a> (const QPointF &amp;)</td></tr>
  101. <tr class="separator:a269241ca9f94f641063fe896cdd77165"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:a8cd4f93356a8a8c07400c3ad9ff1b560"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a8cd4f93356a8a8c07400c3ad9ff1b560">setPoint</a> (const QPointF &amp;)</td></tr>
  103. <tr class="separator:a8cd4f93356a8a8c07400c3ad9ff1b560"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:a678cbfb29627d537aaf2d15c1802460d"><td class="memItemLeft" align="right" valign="top">QPointF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a678cbfb29627d537aaf2d15c1802460d">toPoint</a> () const</td></tr>
  105. <tr class="separator:a678cbfb29627d537aaf2d15c1802460d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a3e0d9a46b8af16335866583074b72129"><td class="memItemLeft" align="right" valign="top"><a id="a3e0d9a46b8af16335866583074b72129"></a>
  107. bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a3e0d9a46b8af16335866583074b72129">isValid</a> () const</td></tr>
  108. <tr class="memdesc:a3e0d9a46b8af16335866583074b72129"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if <a class="el" href="class_qwt_point_polar.html#a20a4dd477b5b204b080fed08aa04a7ce" title="Returns the radius.">radius()</a> &gt;= 0.0. <br /></td></tr>
  109. <tr class="separator:a3e0d9a46b8af16335866583074b72129"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a56afb57bde562399ff68043fd9251ebe"><td class="memItemLeft" align="right" valign="top"><a id="a56afb57bde562399ff68043fd9251ebe"></a>
  111. bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a56afb57bde562399ff68043fd9251ebe">isNull</a> () const</td></tr>
  112. <tr class="memdesc:a56afb57bde562399ff68043fd9251ebe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if <a class="el" href="class_qwt_point_polar.html#a20a4dd477b5b204b080fed08aa04a7ce" title="Returns the radius.">radius()</a> &gt;= 0.0. <br /></td></tr>
  113. <tr class="separator:a56afb57bde562399ff68043fd9251ebe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a20a4dd477b5b204b080fed08aa04a7ce"><td class="memItemLeft" align="right" valign="top"><a id="a20a4dd477b5b204b080fed08aa04a7ce"></a>
  115. double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a20a4dd477b5b204b080fed08aa04a7ce">radius</a> () const</td></tr>
  116. <tr class="memdesc:a20a4dd477b5b204b080fed08aa04a7ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the radius. <br /></td></tr>
  117. <tr class="separator:a20a4dd477b5b204b080fed08aa04a7ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a4b3ebfcbe0d9b6a7e0b39e50d2895510"><td class="memItemLeft" align="right" valign="top"><a id="a4b3ebfcbe0d9b6a7e0b39e50d2895510"></a>
  119. double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a4b3ebfcbe0d9b6a7e0b39e50d2895510">azimuth</a> () const</td></tr>
  120. <tr class="memdesc:a4b3ebfcbe0d9b6a7e0b39e50d2895510"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the azimuth. <br /></td></tr>
  121. <tr class="separator:a4b3ebfcbe0d9b6a7e0b39e50d2895510"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a69cf76a959e4417038b4e2684d307847"><td class="memItemLeft" align="right" valign="top"><a id="a69cf76a959e4417038b4e2684d307847"></a>
  123. double &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a69cf76a959e4417038b4e2684d307847">rRadius</a> ()</td></tr>
  124. <tr class="memdesc:a69cf76a959e4417038b4e2684d307847"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the radius. <br /></td></tr>
  125. <tr class="separator:a69cf76a959e4417038b4e2684d307847"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:ae509330927d54dbc7cf65fae42083fce"><td class="memItemLeft" align="right" valign="top"><a id="ae509330927d54dbc7cf65fae42083fce"></a>
  127. double &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#ae509330927d54dbc7cf65fae42083fce">rAzimuth</a> ()</td></tr>
  128. <tr class="memdesc:ae509330927d54dbc7cf65fae42083fce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the azimuth. <br /></td></tr>
  129. <tr class="separator:ae509330927d54dbc7cf65fae42083fce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:a31ae2f4d6fad44f51ad5e7444a7f21fe"><td class="memItemLeft" align="right" valign="top"><a id="a31ae2f4d6fad44f51ad5e7444a7f21fe"></a>
  131. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a31ae2f4d6fad44f51ad5e7444a7f21fe">setRadius</a> (double)</td></tr>
  132. <tr class="memdesc:a31ae2f4d6fad44f51ad5e7444a7f21fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the radius to radius. <br /></td></tr>
  133. <tr class="separator:a31ae2f4d6fad44f51ad5e7444a7f21fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a32c6c64510fce3e087d332305b4aca9e"><td class="memItemLeft" align="right" valign="top"><a id="a32c6c64510fce3e087d332305b4aca9e"></a>
  135. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a32c6c64510fce3e087d332305b4aca9e">setAzimuth</a> (double)</td></tr>
  136. <tr class="memdesc:a32c6c64510fce3e087d332305b4aca9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the atimuth to atimuth. <br /></td></tr>
  137. <tr class="separator:a32c6c64510fce3e087d332305b4aca9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:affeb7998198d3dfdbb409896199b535d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#affeb7998198d3dfdbb409896199b535d">operator==</a> (const <a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> &amp;) const</td></tr>
  139. <tr class="memdesc:affeb7998198d3dfdbb409896199b535d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare 2 points. <a href="class_qwt_point_polar.html#affeb7998198d3dfdbb409896199b535d">More...</a><br /></td></tr>
  140. <tr class="separator:affeb7998198d3dfdbb409896199b535d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:a929856ff791cc8cbb985489058ece4ef"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a929856ff791cc8cbb985489058ece4ef">operator!=</a> (const <a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> &amp;) const</td></tr>
  142. <tr class="separator:a929856ff791cc8cbb985489058ece4ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:aab6516a84d4e0a5850f26e4dbaaad0c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#aab6516a84d4e0a5850f26e4dbaaad0c8">normalized</a> () const</td></tr>
  144. <tr class="separator:aab6516a84d4e0a5850f26e4dbaaad0c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. </table>
  146. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  147. <div class="textblock"><p>A point in polar coordinates. </p>
  148. <p>In polar coordinates a point is determined by an angle and a distance. See <a href="http://en.wikipedia.org/wiki/Polar_coordinate_system">http://en.wikipedia.org/wiki/Polar_coordinate_system</a> </p>
  149. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  150. <a id="a365875acf86a9f052e12784b5f2f7d44"></a>
  151. <h2 class="memtitle"><span class="permalink"><a href="#a365875acf86a9f052e12784b5f2f7d44">&#9670;&nbsp;</a></span>QwtPointPolar() <span class="overload">[1/3]</span></h2>
  152. <div class="memitem">
  153. <div class="memproto">
  154. <table class="mlabels">
  155. <tr>
  156. <td class="mlabels-left">
  157. <table class="memname">
  158. <tr>
  159. <td class="memname">QwtPointPolar::QwtPointPolar </td>
  160. <td>(</td>
  161. <td class="paramname"></td><td>)</td>
  162. <td></td>
  163. </tr>
  164. </table>
  165. </td>
  166. <td class="mlabels-right">
  167. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  168. </tr>
  169. </table>
  170. </div><div class="memdoc">
  171. <p>Constructs a null point, with a radius and azimuth set to 0.0. </p><dl class="section see"><dt>See also</dt><dd>QPointF::isNull() </dd></dl>
  172. </div>
  173. </div>
  174. <a id="af1c77f9730d441937e52ff5beee04975"></a>
  175. <h2 class="memtitle"><span class="permalink"><a href="#af1c77f9730d441937e52ff5beee04975">&#9670;&nbsp;</a></span>QwtPointPolar() <span class="overload">[2/3]</span></h2>
  176. <div class="memitem">
  177. <div class="memproto">
  178. <table class="mlabels">
  179. <tr>
  180. <td class="mlabels-left">
  181. <table class="memname">
  182. <tr>
  183. <td class="memname">QwtPointPolar::QwtPointPolar </td>
  184. <td>(</td>
  185. <td class="paramtype">double&#160;</td>
  186. <td class="paramname"><em>azimuth</em>, </td>
  187. </tr>
  188. <tr>
  189. <td class="paramkey"></td>
  190. <td></td>
  191. <td class="paramtype">double&#160;</td>
  192. <td class="paramname"><em>radius</em>&#160;</td>
  193. </tr>
  194. <tr>
  195. <td></td>
  196. <td>)</td>
  197. <td></td><td></td>
  198. </tr>
  199. </table>
  200. </td>
  201. <td class="mlabels-right">
  202. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  203. </tr>
  204. </table>
  205. </div><div class="memdoc">
  206. <p>Constructs a point with coordinates specified by radius and azimuth.</p>
  207. <dl class="params"><dt>Parameters</dt><dd>
  208. <table class="params">
  209. <tr><td class="paramname">azimuth</td><td>Azimuth </td></tr>
  210. <tr><td class="paramname">radius</td><td>Radius </td></tr>
  211. </table>
  212. </dd>
  213. </dl>
  214. </div>
  215. </div>
  216. <a id="a269241ca9f94f641063fe896cdd77165"></a>
  217. <h2 class="memtitle"><span class="permalink"><a href="#a269241ca9f94f641063fe896cdd77165">&#9670;&nbsp;</a></span>QwtPointPolar() <span class="overload">[3/3]</span></h2>
  218. <div class="memitem">
  219. <div class="memproto">
  220. <table class="memname">
  221. <tr>
  222. <td class="memname">QwtPointPolar::QwtPointPolar </td>
  223. <td>(</td>
  224. <td class="paramtype">const QPointF &amp;&#160;</td>
  225. <td class="paramname"><em>p</em></td><td>)</td>
  226. <td></td>
  227. </tr>
  228. </table>
  229. </div><div class="memdoc">
  230. <p>Convert and assign values from a point in Cartesian coordinates</p>
  231. <dl class="params"><dt>Parameters</dt><dd>
  232. <table class="params">
  233. <tr><td class="paramname">p</td><td>Point in Cartesian coordinates </td></tr>
  234. </table>
  235. </dd>
  236. </dl>
  237. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_point_polar.html#a8cd4f93356a8a8c07400c3ad9ff1b560">setPoint()</a>, <a class="el" href="class_qwt_point_polar.html#a678cbfb29627d537aaf2d15c1802460d">toPoint()</a> </dd></dl>
  238. </div>
  239. </div>
  240. <h2 class="groupheader">Member Function Documentation</h2>
  241. <a id="aab6516a84d4e0a5850f26e4dbaaad0c8"></a>
  242. <h2 class="memtitle"><span class="permalink"><a href="#aab6516a84d4e0a5850f26e4dbaaad0c8">&#9670;&nbsp;</a></span>normalized()</h2>
  243. <div class="memitem">
  244. <div class="memproto">
  245. <table class="memname">
  246. <tr>
  247. <td class="memname"><a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> QwtPointPolar::normalized </td>
  248. <td>(</td>
  249. <td class="paramname"></td><td>)</td>
  250. <td> const</td>
  251. </tr>
  252. </table>
  253. </div><div class="memdoc">
  254. <p>Normalize radius and azimuth</p>
  255. <p>When the radius is &lt; 0.0 it is set to 0.0. The azimuth is a value &gt;= 0.0 and &lt; 2 * M_PI.</p>
  256. <dl class="section return"><dt>Returns</dt><dd>Normalized point </dd></dl>
  257. </div>
  258. </div>
  259. <a id="a929856ff791cc8cbb985489058ece4ef"></a>
  260. <h2 class="memtitle"><span class="permalink"><a href="#a929856ff791cc8cbb985489058ece4ef">&#9670;&nbsp;</a></span>operator!=()</h2>
  261. <div class="memitem">
  262. <div class="memproto">
  263. <table class="memname">
  264. <tr>
  265. <td class="memname">bool QwtPointPolar::operator!= </td>
  266. <td>(</td>
  267. <td class="paramtype">const <a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> &amp;&#160;</td>
  268. <td class="paramname"><em>other</em></td><td>)</td>
  269. <td> const</td>
  270. </tr>
  271. </table>
  272. </div><div class="memdoc">
  273. <p>Compare 2 points</p>
  274. <p>Two points are equal to each other if radius and azimuth-coordinates are the same. Points are not equal, when the azimuth differs, but other.azimuth() == <a class="el" href="class_qwt_point_polar.html#a4b3ebfcbe0d9b6a7e0b39e50d2895510" title="Returns the azimuth.">azimuth()</a> % (2 * PI).</p>
  275. <dl class="section return"><dt>Returns</dt><dd>True if the point is not equal to other; otherwise return false. </dd></dl>
  276. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_point_polar.html#aab6516a84d4e0a5850f26e4dbaaad0c8">normalized()</a> </dd></dl>
  277. </div>
  278. </div>
  279. <a id="affeb7998198d3dfdbb409896199b535d"></a>
  280. <h2 class="memtitle"><span class="permalink"><a href="#affeb7998198d3dfdbb409896199b535d">&#9670;&nbsp;</a></span>operator==()</h2>
  281. <div class="memitem">
  282. <div class="memproto">
  283. <table class="memname">
  284. <tr>
  285. <td class="memname">bool QwtPointPolar::operator== </td>
  286. <td>(</td>
  287. <td class="paramtype">const <a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> &amp;&#160;</td>
  288. <td class="paramname"><em>other</em></td><td>)</td>
  289. <td> const</td>
  290. </tr>
  291. </table>
  292. </div><div class="memdoc">
  293. <p>Compare 2 points. </p>
  294. <p>Two points are equal to each other if radius and azimuth-coordinates are the same. Points are not equal, when the azimuth differs, but other.azimuth() == <a class="el" href="class_qwt_point_polar.html#a4b3ebfcbe0d9b6a7e0b39e50d2895510" title="Returns the azimuth.">azimuth()</a> % (2 * PI).</p>
  295. <dl class="section return"><dt>Returns</dt><dd>True if the point is equal to other; otherwise return false.</dd></dl>
  296. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_point_polar.html#aab6516a84d4e0a5850f26e4dbaaad0c8">normalized()</a> </dd></dl>
  297. </div>
  298. </div>
  299. <a id="a8cd4f93356a8a8c07400c3ad9ff1b560"></a>
  300. <h2 class="memtitle"><span class="permalink"><a href="#a8cd4f93356a8a8c07400c3ad9ff1b560">&#9670;&nbsp;</a></span>setPoint()</h2>
  301. <div class="memitem">
  302. <div class="memproto">
  303. <table class="memname">
  304. <tr>
  305. <td class="memname">void QwtPointPolar::setPoint </td>
  306. <td>(</td>
  307. <td class="paramtype">const QPointF &amp;&#160;</td>
  308. <td class="paramname"><em>p</em></td><td>)</td>
  309. <td></td>
  310. </tr>
  311. </table>
  312. </div><div class="memdoc">
  313. <p>Convert and assign values from a point in Cartesian coordinates </p><dl class="params"><dt>Parameters</dt><dd>
  314. <table class="params">
  315. <tr><td class="paramname">p</td><td>Point in Cartesian coordinates </td></tr>
  316. </table>
  317. </dd>
  318. </dl>
  319. </div>
  320. </div>
  321. <a id="a678cbfb29627d537aaf2d15c1802460d"></a>
  322. <h2 class="memtitle"><span class="permalink"><a href="#a678cbfb29627d537aaf2d15c1802460d">&#9670;&nbsp;</a></span>toPoint()</h2>
  323. <div class="memitem">
  324. <div class="memproto">
  325. <table class="memname">
  326. <tr>
  327. <td class="memname">QPointF QwtPointPolar::toPoint </td>
  328. <td>(</td>
  329. <td class="paramname"></td><td>)</td>
  330. <td> const</td>
  331. </tr>
  332. </table>
  333. </div><div class="memdoc">
  334. <p>Convert and return values in Cartesian coordinates</p>
  335. <dl class="section return"><dt>Returns</dt><dd>Converted point in Cartesian coordinates</dd></dl>
  336. <dl class="section note"><dt>Note</dt><dd>Invalid or null points will be returned as QPointF(0.0, 0.0) </dd></dl>
  337. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_point_polar.html#a3e0d9a46b8af16335866583074b72129" title="Returns true if radius() &gt;= 0.0.">isValid()</a>, <a class="el" href="class_qwt_point_polar.html#a56afb57bde562399ff68043fd9251ebe" title="Returns true if radius() &gt;= 0.0.">isNull()</a> </dd></dl>
  338. </div>
  339. </div>
  340. </div><!-- contents -->
  341. </div><!-- doc-content -->
  342. <!-- start footer part -->
  343. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  344. <ul>
  345. <li class="navelem"><a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a></li>
  346. <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  347. </ul>
  348. </div>
  349. </body>
  350. </html>