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 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User's Guide: QwtPointPolar Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Qwt User's Guide
 <span id="projectnumber">6.1.4</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_qwt_point_polar.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="class_qwt_point_polar-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">QwtPointPolar Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A point in polar coordinates.
<a href="class_qwt_point_polar.html#details">More...</a></p>
<p><code>#include <<a class="el" href="qwt__point__polar_8h_source.html">qwt_point_polar.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a365875acf86a9f052e12784b5f2f7d44"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a365875acf86a9f052e12784b5f2f7d44">QwtPointPolar</a> ()</td></tr>
<tr class="separator:a365875acf86a9f052e12784b5f2f7d44"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af1c77f9730d441937e52ff5beee04975"><td class="memItemLeft" align="right" valign="top"> </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>
<tr class="separator:af1c77f9730d441937e52ff5beee04975"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae5cd7e8ab0505672748f779c9668fe29"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#ae5cd7e8ab0505672748f779c9668fe29">QwtPointPolar</a> (const <a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> &)</td></tr>
<tr class="separator:ae5cd7e8ab0505672748f779c9668fe29"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a269241ca9f94f641063fe896cdd77165"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a269241ca9f94f641063fe896cdd77165">QwtPointPolar</a> (const QPointF &)</td></tr>
<tr class="separator:a269241ca9f94f641063fe896cdd77165"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8cd4f93356a8a8c07400c3ad9ff1b560"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a8cd4f93356a8a8c07400c3ad9ff1b560">setPoint</a> (const QPointF &)</td></tr>
<tr class="separator:a8cd4f93356a8a8c07400c3ad9ff1b560"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a678cbfb29627d537aaf2d15c1802460d"><td class="memItemLeft" align="right" valign="top">QPointF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a678cbfb29627d537aaf2d15c1802460d">toPoint</a> () const</td></tr>
<tr class="separator:a678cbfb29627d537aaf2d15c1802460d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e0d9a46b8af16335866583074b72129"><td class="memItemLeft" align="right" valign="top"><a id="a3e0d9a46b8af16335866583074b72129"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a3e0d9a46b8af16335866583074b72129">isValid</a> () const</td></tr>
<tr class="memdesc:a3e0d9a46b8af16335866583074b72129"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if <a class="el" href="class_qwt_point_polar.html#a20a4dd477b5b204b080fed08aa04a7ce" title="Returns the radius. ">radius()</a> >= 0.0. <br /></td></tr>
<tr class="separator:a3e0d9a46b8af16335866583074b72129"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a56afb57bde562399ff68043fd9251ebe"><td class="memItemLeft" align="right" valign="top"><a id="a56afb57bde562399ff68043fd9251ebe"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a56afb57bde562399ff68043fd9251ebe">isNull</a> () const</td></tr>
<tr class="memdesc:a56afb57bde562399ff68043fd9251ebe"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if <a class="el" href="class_qwt_point_polar.html#a20a4dd477b5b204b080fed08aa04a7ce" title="Returns the radius. ">radius()</a> >= 0.0. <br /></td></tr>
<tr class="separator:a56afb57bde562399ff68043fd9251ebe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a20a4dd477b5b204b080fed08aa04a7ce"><td class="memItemLeft" align="right" valign="top"><a id="a20a4dd477b5b204b080fed08aa04a7ce"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a20a4dd477b5b204b080fed08aa04a7ce">radius</a> () const</td></tr>
<tr class="memdesc:a20a4dd477b5b204b080fed08aa04a7ce"><td class="mdescLeft"> </td><td class="mdescRight">Returns the radius. <br /></td></tr>
<tr class="separator:a20a4dd477b5b204b080fed08aa04a7ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b3ebfcbe0d9b6a7e0b39e50d2895510"><td class="memItemLeft" align="right" valign="top"><a id="a4b3ebfcbe0d9b6a7e0b39e50d2895510"></a>
double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a4b3ebfcbe0d9b6a7e0b39e50d2895510">azimuth</a> () const</td></tr>
<tr class="memdesc:a4b3ebfcbe0d9b6a7e0b39e50d2895510"><td class="mdescLeft"> </td><td class="mdescRight">Returns the azimuth. <br /></td></tr>
<tr class="separator:a4b3ebfcbe0d9b6a7e0b39e50d2895510"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a69cf76a959e4417038b4e2684d307847"><td class="memItemLeft" align="right" valign="top"><a id="a69cf76a959e4417038b4e2684d307847"></a>
double & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a69cf76a959e4417038b4e2684d307847">rRadius</a> ()</td></tr>
<tr class="memdesc:a69cf76a959e4417038b4e2684d307847"><td class="mdescLeft"> </td><td class="mdescRight">Returns the radius. <br /></td></tr>
<tr class="separator:a69cf76a959e4417038b4e2684d307847"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae509330927d54dbc7cf65fae42083fce"><td class="memItemLeft" align="right" valign="top"><a id="ae509330927d54dbc7cf65fae42083fce"></a>
double & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#ae509330927d54dbc7cf65fae42083fce">rAzimuth</a> ()</td></tr>
<tr class="memdesc:ae509330927d54dbc7cf65fae42083fce"><td class="mdescLeft"> </td><td class="mdescRight">Returns the azimuth. <br /></td></tr>
<tr class="separator:ae509330927d54dbc7cf65fae42083fce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a31ae2f4d6fad44f51ad5e7444a7f21fe"><td class="memItemLeft" align="right" valign="top"><a id="a31ae2f4d6fad44f51ad5e7444a7f21fe"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a31ae2f4d6fad44f51ad5e7444a7f21fe">setRadius</a> (double)</td></tr>
<tr class="memdesc:a31ae2f4d6fad44f51ad5e7444a7f21fe"><td class="mdescLeft"> </td><td class="mdescRight">Sets the radius to radius. <br /></td></tr>
<tr class="separator:a31ae2f4d6fad44f51ad5e7444a7f21fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32c6c64510fce3e087d332305b4aca9e"><td class="memItemLeft" align="right" valign="top"><a id="a32c6c64510fce3e087d332305b4aca9e"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a32c6c64510fce3e087d332305b4aca9e">setAzimuth</a> (double)</td></tr>
<tr class="memdesc:a32c6c64510fce3e087d332305b4aca9e"><td class="mdescLeft"> </td><td class="mdescRight">Sets the atimuth to atimuth. <br /></td></tr>
<tr class="separator:a32c6c64510fce3e087d332305b4aca9e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:affeb7998198d3dfdbb409896199b535d"><td class="memItemLeft" align="right" valign="top">bool </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> &) const</td></tr>
<tr class="memdesc:affeb7998198d3dfdbb409896199b535d"><td class="mdescLeft"> </td><td class="mdescRight">Compare 2 points. <a href="#affeb7998198d3dfdbb409896199b535d">More...</a><br /></td></tr>
<tr class="separator:affeb7998198d3dfdbb409896199b535d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a929856ff791cc8cbb985489058ece4ef"><td class="memItemLeft" align="right" valign="top">bool </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> &) const</td></tr>
<tr class="separator:a929856ff791cc8cbb985489058ece4ef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aab6516a84d4e0a5850f26e4dbaaad0c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#aab6516a84d4e0a5850f26e4dbaaad0c8">normalized</a> () const</td></tr>
<tr class="separator:aab6516a84d4e0a5850f26e4dbaaad0c8"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A point in polar coordinates. </p>
<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>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a365875acf86a9f052e12784b5f2f7d44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a365875acf86a9f052e12784b5f2f7d44">◆ </a></span>QwtPointPolar() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QwtPointPolar::QwtPointPolar </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<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>
</div>
</div>
<a id="af1c77f9730d441937e52ff5beee04975"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1c77f9730d441937e52ff5beee04975">◆ </a></span>QwtPointPolar() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QwtPointPolar::QwtPointPolar </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>azimuth</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>radius</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a point with coordinates specified by radius and azimuth.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">azimuth</td><td>Azimuth </td></tr>
<tr><td class="paramname">radius</td><td>Radius </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ae5cd7e8ab0505672748f779c9668fe29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5cd7e8ab0505672748f779c9668fe29">◆ </a></span>QwtPointPolar() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QwtPointPolar::QwtPointPolar </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a point using the values of the point specified. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Other point </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a269241ca9f94f641063fe896cdd77165"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a269241ca9f94f641063fe896cdd77165">◆ </a></span>QwtPointPolar() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QwtPointPolar::QwtPointPolar </td>
<td>(</td>
<td class="paramtype">const QPointF & </td>
<td class="paramname"><em>p</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert and assign values from a point in Cartesian coordinates</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p</td><td>Point in Cartesian coordinates </td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aab6516a84d4e0a5850f26e4dbaaad0c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab6516a84d4e0a5850f26e4dbaaad0c8">◆ </a></span>normalized()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> QwtPointPolar::normalized </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Normalize radius and azimuth</p>
<p>When the radius is < 0.0 it is set to 0.0. The azimuth is a value >= 0.0 and < 2 * M_PI.</p>
<dl class="section return"><dt>Returns</dt><dd>Normalized point </dd></dl>
</div>
</div>
<a id="a929856ff791cc8cbb985489058ece4ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a929856ff791cc8cbb985489058ece4ef">◆ </a></span>operator!=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QwtPointPolar::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare 2 points</p>
<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>
<dl class="section return"><dt>Returns</dt><dd>True if the point is not equal to other; otherwise return false. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_point_polar.html#aab6516a84d4e0a5850f26e4dbaaad0c8">normalized()</a> </dd></dl>
</div>
</div>
<a id="affeb7998198d3dfdbb409896199b535d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affeb7998198d3dfdbb409896199b535d">◆ </a></span>operator==()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QwtPointPolar::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare 2 points. </p>
<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>
<dl class="section return"><dt>Returns</dt><dd>True if the point is equal to other; otherwise return false.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_point_polar.html#aab6516a84d4e0a5850f26e4dbaaad0c8">normalized()</a> </dd></dl>
</div>
</div>
<a id="a8cd4f93356a8a8c07400c3ad9ff1b560"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cd4f93356a8a8c07400c3ad9ff1b560">◆ </a></span>setPoint()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPointPolar::setPoint </td>
<td>(</td>
<td class="paramtype">const QPointF & </td>
<td class="paramname"><em>p</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert and assign values from a point in Cartesian coordinates </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p</td><td>Point in Cartesian coordinates </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a678cbfb29627d537aaf2d15c1802460d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a678cbfb29627d537aaf2d15c1802460d">◆ </a></span>toPoint()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QPointF QwtPointPolar::toPoint </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert and return values in Cartesian coordinates</p>
<dl class="section return"><dt>Returns</dt><dd>Converted point in Cartesian coordinates</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Invalid or null points will be returned as QPointF(0.0, 0.0) </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_point_polar.html#a3e0d9a46b8af16335866583074b72129" title="Returns true if radius() >= 0.0. ">isValid()</a>, <a class="el" href="class_qwt_point_polar.html#a56afb57bde562399ff68043fd9251ebe" title="Returns true if radius() >= 0.0. ">isNull()</a> </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
</ul>
</div>
</body>
</html>
|