411 lines
23 KiB
HTML
411 lines
23 KiB
HTML
<!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.11"/>
|
|
<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">
|
|
$(document).ready(initResizable);
|
|
$(window).load(resizeHeight);
|
|
</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>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</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.3</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</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">
|
|
$(document).ready(function(){initNavTree('class_qwt_point_polar.html','');});
|
|
</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#afac65de2dca25b0b6a6c5fb917fff424">azimuth</a>, double <a class="el" href="class_qwt_point_polar.html#ab629fcfb36f0f29df45b256c6bddf194">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:ab61dd4130840876c00d79c28ea534d06"><td class="memItemLeft" align="right" valign="top">QPointF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#ab61dd4130840876c00d79c28ea534d06">toPoint</a> () const </td></tr>
|
|
<tr class="separator:ab61dd4130840876c00d79c28ea534d06"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad1f8c93359d28322b6e3eeb9758a66f2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1f8c93359d28322b6e3eeb9758a66f2"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#ad1f8c93359d28322b6e3eeb9758a66f2">isValid</a> () const </td></tr>
|
|
<tr class="memdesc:ad1f8c93359d28322b6e3eeb9758a66f2"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if <a class="el" href="class_qwt_point_polar.html#ab629fcfb36f0f29df45b256c6bddf194" title="Returns the radius. ">radius()</a> >= 0.0. <br /></td></tr>
|
|
<tr class="separator:ad1f8c93359d28322b6e3eeb9758a66f2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a73d21f582ee5960011300598e17fab00"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a73d21f582ee5960011300598e17fab00"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#a73d21f582ee5960011300598e17fab00">isNull</a> () const </td></tr>
|
|
<tr class="memdesc:a73d21f582ee5960011300598e17fab00"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if <a class="el" href="class_qwt_point_polar.html#ab629fcfb36f0f29df45b256c6bddf194" title="Returns the radius. ">radius()</a> >= 0.0. <br /></td></tr>
|
|
<tr class="separator:a73d21f582ee5960011300598e17fab00"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab629fcfb36f0f29df45b256c6bddf194"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab629fcfb36f0f29df45b256c6bddf194"></a>
|
|
double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#ab629fcfb36f0f29df45b256c6bddf194">radius</a> () const </td></tr>
|
|
<tr class="memdesc:ab629fcfb36f0f29df45b256c6bddf194"><td class="mdescLeft"> </td><td class="mdescRight">Returns the radius. <br /></td></tr>
|
|
<tr class="separator:ab629fcfb36f0f29df45b256c6bddf194"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afac65de2dca25b0b6a6c5fb917fff424"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afac65de2dca25b0b6a6c5fb917fff424"></a>
|
|
double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#afac65de2dca25b0b6a6c5fb917fff424">azimuth</a> () const </td></tr>
|
|
<tr class="memdesc:afac65de2dca25b0b6a6c5fb917fff424"><td class="mdescLeft"> </td><td class="mdescRight">Returns the azimuth. <br /></td></tr>
|
|
<tr class="separator:afac65de2dca25b0b6a6c5fb917fff424"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a69cf76a959e4417038b4e2684d307847"><td class="memItemLeft" align="right" valign="top"><a class="anchor" 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 class="anchor" 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 class="anchor" 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 class="anchor" 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:af59f940ff7d63de71044a8bba6d749db"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#af59f940ff7d63de71044a8bba6d749db">operator==</a> (const <a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> &) const </td></tr>
|
|
<tr class="memdesc:af59f940ff7d63de71044a8bba6d749db"><td class="mdescLeft"> </td><td class="mdescRight">Compare 2 points. <a href="#af59f940ff7d63de71044a8bba6d749db">More...</a><br /></td></tr>
|
|
<tr class="separator:af59f940ff7d63de71044a8bba6d749db"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af85df99741e28fbe6bdee96df42fb448"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_point_polar.html#af85df99741e28fbe6bdee96df42fb448">operator!=</a> (const <a class="el" href="class_qwt_point_polar.html">QwtPointPolar</a> &) const </td></tr>
|
|
<tr class="separator:af85df99741e28fbe6bdee96df42fb448"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2544921fb33e7601444223572243ed6a"><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#a2544921fb33e7601444223572243ed6a">normalized</a> () const </td></tr>
|
|
<tr class="separator:a2544921fb33e7601444223572243ed6a"><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 class="anchor" id="a365875acf86a9f052e12784b5f2f7d44"></a>
|
|
<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 class="anchor" id="af1c77f9730d441937e52ff5beee04975"></a>
|
|
<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 class="anchor" id="ae5cd7e8ab0505672748f779c9668fe29"></a>
|
|
<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 class="anchor" id="a269241ca9f94f641063fe896cdd77165"></a>
|
|
<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#ab61dd4130840876c00d79c28ea534d06">toPoint()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a2544921fb33e7601444223572243ed6a"></a>
|
|
<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 class="anchor" id="af85df99741e28fbe6bdee96df42fb448"></a>
|
|
<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#afac65de2dca25b0b6a6c5fb917fff424" 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#a2544921fb33e7601444223572243ed6a">normalized()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af59f940ff7d63de71044a8bba6d749db"></a>
|
|
<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#afac65de2dca25b0b6a6c5fb917fff424" 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#a2544921fb33e7601444223572243ed6a">normalized()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8cd4f93356a8a8c07400c3ad9ff1b560"></a>
|
|
<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 class="anchor" id="ab61dd4130840876c00d79c28ea534d06"></a>
|
|
<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#ad1f8c93359d28322b6e3eeb9758a66f2" title="Returns true if radius() >= 0.0. ">isValid()</a>, <a class="el" href="class_qwt_point_polar.html#a73d21f582ee5960011300598e17fab00" 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.11 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|