File: point_8h.html

package info (click to toggle)
chromium-browser 37.0.2062.120-1~deb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,707,260 kB
  • sloc: cpp: 8,976,677; ansic: 3,473,199; python: 586,578; asm: 449,013; xml: 184,195; java: 142,924; sh: 118,496; perl: 81,467; makefile: 27,557; yacc: 10,506; objc: 8,886; tcl: 3,186; cs: 2,252; lex: 2,213; sql: 1,198; pascal: 1,170; lisp: 790; awk: 407; ruby: 155; php: 83; sed: 52; exp: 11
file content (181 lines) | stat: -rw-r--r-- 8,818 bytes parent folder | download | duplicates (9)
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
{{+bindTo:partials.standard_nacl_api}}
<h1>point.h File Reference</h1>
<div id="doxygen-ref">
{{- dummy div to appease doxygen -}}
  <div>
<!-- Generated by Doxygen 1.7.6.1 -->


</div>
<!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
Include dependency graph for point.h:</div>
<div class="dyncontent">
<div class="center"><img src="point_8h__incl.png" border="0" usemap="#point_8h" alt="" /></div>
<map name="point_8h" id="point_8h">
</map>
</div>
</div><h2>
Classes</h2><table class="memberdecls">

<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_point.html">pp::Point</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A 2 dimensional point with 0,0 being the upper-left starting coordinate.  <a href="classpp_1_1_point.html#details">More...</a><br /></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html">pp::FloatPoint</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.  <a href="classpp_1_1_float_point.html#details">More...</a><br /></td></tr>
</table><h2>
Namespaces</h2><table class="memberdecls">
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp.html">pp</a></td></tr>
</table><h2>
Functions</h2><table class="memberdecls">
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="point_8h.html#acdca90fb96f299839dcea8d836d6f92f">operator==</a> (const <a class="el" href="classpp_1_1_point.html">pp::Point</a> &amp;lhs, const <a class="el" href="classpp_1_1_point.html">pp::Point</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="point_8h.html#a49089c373eeebff274a723f7545b7680">operator!=</a> (const <a class="el" href="classpp_1_1_point.html">pp::Point</a> &amp;lhs, const <a class="el" href="classpp_1_1_point.html">pp::Point</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="point_8h.html#a59d82ac98ce35697fae48edd66a7fdba">operator==</a> (const <a class="el" href="classpp_1_1_float_point.html">pp::FloatPoint</a> &amp;lhs, const <a class="el" href="classpp_1_1_float_point.html">pp::FloatPoint</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="point_8h.html#a429594ae059c2956f538876c3c4e68c2">operator!=</a> (const <a class="el" href="classpp_1_1_float_point.html">pp::FloatPoint</a> &amp;lhs, const <a class="el" href="classpp_1_1_float_point.html">pp::FloatPoint</a> &amp;rhs)</td></tr>
</table>
<hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This file defines the API to create a 2 dimensional point. </p>
</div><hr /><h2>Function Documentation</h2>
<a class="anchor" id="a49089c373eeebff274a723f7545b7680"></a><!-- doxytag: member="point.h::operator!=" ref="a49089c373eeebff274a723f7545b7680" args="(const pp::Point &amp;lhs, const pp::Point &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_point.html">pp::Point</a> &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classpp_1_1_point.html">pp::Point</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Determines whether two Points have different coordinates. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">lhs</td><td>The Point on the left-hand side of the equation. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">rhs</td><td>The Point on the right-hand side of the equation.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the coordinates of lhs are equal to the coordinates of rhs, otherwise false. </dd></dl>
</div>
</div>
<a class="anchor" id="a429594ae059c2956f538876c3c4e68c2"></a><!-- doxytag: member="point.h::operator!=" ref="a429594ae059c2956f538876c3c4e68c2" args="(const pp::FloatPoint &amp;lhs, const pp::FloatPoint &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">pp::FloatPoint</a> &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">pp::FloatPoint</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Determines whether two Points have different coordinates. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">lhs</td><td>The Point on the left-hand side of the equation. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">rhs</td><td>The Point on the right-hand side of the equation.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the coordinates of lhs are equal to the coordinates of rhs, otherwise false. </dd></dl>
</div>
</div>
<a class="anchor" id="acdca90fb96f299839dcea8d836d6f92f"></a><!-- doxytag: member="point.h::operator==" ref="acdca90fb96f299839dcea8d836d6f92f" args="(const pp::Point &amp;lhs, const pp::Point &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_point.html">pp::Point</a> &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classpp_1_1_point.html">pp::Point</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Determines whether the x and y values of two Points are equal. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">lhs</td><td>The Point on the left-hand side of the equation. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">rhs</td><td>The Point on the right-hand side of the equation.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if they are equal, false if unequal. </dd></dl>
</div>
</div>
<a class="anchor" id="a59d82ac98ce35697fae48edd66a7fdba"></a><!-- doxytag: member="point.h::operator==" ref="a59d82ac98ce35697fae48edd66a7fdba" args="(const pp::FloatPoint &amp;lhs, const pp::FloatPoint &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">pp::FloatPoint</a> &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">pp::FloatPoint</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Determines whether the x and y values of two FloatPoints are equal. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">lhs</td><td>The Point on the left-hand side of the equation. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">rhs</td><td>The Point on the right-hand side of the equation.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if they are equal, false if unequal. </dd></dl>
</div>
</div>
</div><!-- contents -->
</div>
{{/partials.standard_nacl_api}}