1 {{+bindTo:partials.standard_nacl_api}}
2 <h1>point.h File Reference
</h1>
4 {{- dummy div to appease doxygen -}}
6 <!-- Generated by Doxygen 1.7.6.1 -->
11 <div class=
"contents">
12 <div class=
"textblock"><div class=
"dynheader">
13 Include dependency graph for point.h:
</div>
14 <div class=
"dyncontent">
15 <div class=
"center"><img src=
"point_8h__incl.png" border=
"0" usemap=
"#point_8h" alt=
"" /></div>
16 <map name=
"point_8h" id=
"point_8h">
20 Classes
</h2><table class=
"memberdecls">
22 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">class
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classpp_1_1_point.html">pp::Point
</a></td></tr>
23 <tr><td class=
"mdescLeft"> </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>
24 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">class
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classpp_1_1_float_point.html">pp::FloatPoint
</a></td></tr>
25 <tr><td class=
"mdescLeft"> </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>
27 Namespaces
</h2><table class=
"memberdecls">
28 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">namespace
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"namespacepp.html">pp
</a></td></tr>
30 Functions
</h2><table class=
"memberdecls">
31 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </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> &lhs, const
<a class=
"el" href=
"classpp_1_1_point.html">pp::Point
</a> &rhs)
</td></tr>
32 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </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> &lhs, const
<a class=
"el" href=
"classpp_1_1_point.html">pp::Point
</a> &rhs)
</td></tr>
33 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </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> &lhs, const
<a class=
"el" href=
"classpp_1_1_float_point.html">pp::FloatPoint
</a> &rhs)
</td></tr>
34 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </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> &lhs, const
<a class=
"el" href=
"classpp_1_1_float_point.html">pp::FloatPoint
</a> &rhs)
</td></tr>
36 <hr /><a name=
"details" id=
"details"></a><h2>Detailed Description
</h2>
37 <div class=
"textblock"><p>This file defines the API to create a
2 dimensional point.
</p>
38 </div><hr /><h2>Function Documentation
</h2>
39 <a class=
"anchor" id=
"a49089c373eeebff274a723f7545b7680"></a><!-- doxytag: member="point.h::operator!=" ref="a49089c373eeebff274a723f7545b7680" args="(const pp::Point &lhs, const pp::Point &rhs)" -->
41 <div class=
"memproto">
42 <table class=
"memname">
44 <td class=
"memname">bool operator!=
</td>
46 <td class=
"paramtype">const
<a class=
"el" href=
"classpp_1_1_point.html">pp::Point
</a> & </td>
47 <td class=
"paramname"><em>lhs
</em>,
</td>
50 <td class=
"paramkey"></td>
52 <td class=
"paramtype">const
<a class=
"el" href=
"classpp_1_1_point.html">pp::Point
</a> & </td>
53 <td class=
"paramname"><em>rhs
</em> </td>
58 <td></td><td><code> [inline]
</code></td>
63 <p>Determines whether two Points have different coordinates.
</p>
64 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
65 <table class=
"params">
66 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">lhs
</td><td>The Point on the left-hand side of the equation.
</td></tr>
67 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">rhs
</td><td>The Point on the right-hand side of the equation.
</td></tr>
71 <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>
74 <a class=
"anchor" id=
"a429594ae059c2956f538876c3c4e68c2"></a><!-- doxytag: member="point.h::operator!=" ref="a429594ae059c2956f538876c3c4e68c2" args="(const pp::FloatPoint &lhs, const pp::FloatPoint &rhs)" -->
76 <div class=
"memproto">
77 <table class=
"memname">
79 <td class=
"memname">bool operator!=
</td>
81 <td class=
"paramtype">const
<a class=
"el" href=
"classpp_1_1_float_point.html">pp::FloatPoint
</a> & </td>
82 <td class=
"paramname"><em>lhs
</em>,
</td>
85 <td class=
"paramkey"></td>
87 <td class=
"paramtype">const
<a class=
"el" href=
"classpp_1_1_float_point.html">pp::FloatPoint
</a> & </td>
88 <td class=
"paramname"><em>rhs
</em> </td>
93 <td></td><td><code> [inline]
</code></td>
98 <p>Determines whether two Points have different coordinates.
</p>
99 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
100 <table class=
"params">
101 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">lhs
</td><td>The Point on the left-hand side of the equation.
</td></tr>
102 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">rhs
</td><td>The Point on the right-hand side of the equation.
</td></tr>
106 <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>
109 <a class=
"anchor" id=
"acdca90fb96f299839dcea8d836d6f92f"></a><!-- doxytag: member="point.h::operator==" ref="acdca90fb96f299839dcea8d836d6f92f" args="(const pp::Point &lhs, const pp::Point &rhs)" -->
110 <div class=
"memitem">
111 <div class=
"memproto">
112 <table class=
"memname">
114 <td class=
"memname">bool operator==
</td>
116 <td class=
"paramtype">const
<a class=
"el" href=
"classpp_1_1_point.html">pp::Point
</a> & </td>
117 <td class=
"paramname"><em>lhs
</em>,
</td>
120 <td class=
"paramkey"></td>
122 <td class=
"paramtype">const
<a class=
"el" href=
"classpp_1_1_point.html">pp::Point
</a> & </td>
123 <td class=
"paramname"><em>rhs
</em> </td>
128 <td></td><td><code> [inline]
</code></td>
133 <p>Determines whether the x and y values of two Points are equal.
</p>
134 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
135 <table class=
"params">
136 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">lhs
</td><td>The Point on the left-hand side of the equation.
</td></tr>
137 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">rhs
</td><td>The Point on the right-hand side of the equation.
</td></tr>
141 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>true if they are equal, false if unequal.
</dd></dl>
144 <a class=
"anchor" id=
"a59d82ac98ce35697fae48edd66a7fdba"></a><!-- doxytag: member="point.h::operator==" ref="a59d82ac98ce35697fae48edd66a7fdba" args="(const pp::FloatPoint &lhs, const pp::FloatPoint &rhs)" -->
145 <div class=
"memitem">
146 <div class=
"memproto">
147 <table class=
"memname">
149 <td class=
"memname">bool operator==
</td>
151 <td class=
"paramtype">const
<a class=
"el" href=
"classpp_1_1_float_point.html">pp::FloatPoint
</a> & </td>
152 <td class=
"paramname"><em>lhs
</em>,
</td>
155 <td class=
"paramkey"></td>
157 <td class=
"paramtype">const
<a class=
"el" href=
"classpp_1_1_float_point.html">pp::FloatPoint
</a> & </td>
158 <td class=
"paramname"><em>rhs
</em> </td>
163 <td></td><td><code> [inline]
</code></td>
168 <p>Determines whether the x and y values of two FloatPoints are equal.
</p>
169 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
170 <table class=
"params">
171 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">lhs
</td><td>The Point on the left-hand side of the equation.
</td></tr>
172 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">rhs
</td><td>The Point on the right-hand side of the equation.
</td></tr>
176 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>true if they are equal, false if unequal.
</dd></dl>
179 </div><!-- contents -->
181 {{/partials.standard_nacl_api}}