aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03659.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a03659.html1176
1 files changed, 1176 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03659.html b/docs/doxygen/nel/a03659.html
new file mode 100644
index 00000000..5f1ed4e2
--- /dev/null
+++ b/docs/doxygen/nel/a03659.html
@@ -0,0 +1,1176 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NLMISC::CVector2d class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NLMISC::CVector2d Class Reference</h1><code>#include &lt;<a class="el" href="a06675.html">vector_2d.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A 2D vector of double. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00048">48</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Object.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2053_0">CVector2d</a> (const <a class="el" href="a03660.html">CVector2f</a> &amp;<a class="el" href="a04223.html#a576">v</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor with a <a class="el" href="a03660.html">CVector2f</a>. <a href="#NLMISC_1_1CVector2dz2053_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2053_1">CVector2d</a> (const <a class="el" href="a03659.html">CVector2d</a> &amp;<a class="el" href="a04223.html#a576">v</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy Constructor. <a href="#NLMISC_1_1CVector2dz2053_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2053_2">CVector2d</a> (double _x, double _y)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor . <a href="#NLMISC_1_1CVector2dz2053_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2053_3">CVector2d</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor wich do nothing. <a href="#NLMISC_1_1CVector2dz2053_3"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Misc.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2059_0">isNull</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2059_1">maxof</a> (const <a class="el" href="a03659.html">CVector2d</a> &amp;a, const <a class="el" href="a03659.html">CVector2d</a> &amp;b)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set all vector x/y/z as maximum of a/b x/y/z (respectively). <a href="#NLMISC_1_1CVector2dz2059_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2059_2">minof</a> (const <a class="el" href="a03659.html">CVector2d</a> &amp;a, const <a class="el" href="a03659.html">CVector2d</a> &amp;b)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set all vector x/y/z as minimum of a/b x/y/z (respectively). <a href="#NLMISC_1_1CVector2dz2059_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2059_3">operator!=</a> (const <a class="el" href="a03659.html">CVector2d</a> &amp;<a class="el" href="a04223.html#a576">v</a>) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2059_4">operator==</a> (const <a class="el" href="a03659.html">CVector2d</a> &amp;<a class="el" href="a04223.html#a576">v</a>) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2059_5">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">serial. <a href="#NLMISC_1_1CVector2dz2059_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2059_6">set</a> (double _x, double _y)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Advanced Maths.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>double&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2057_0">norm</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the norm of the vector. <a href="#NLMISC_1_1CVector2dz2057_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2057_1">normalize</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Normalize the vector. <a href="#NLMISC_1_1CVector2dz2057_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2057_2">normed</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the vector normalized. <a href="#NLMISC_1_1CVector2dz2057_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>double&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2057_3">operator *</a> (const <a class="el" href="a03659.html">CVector2d</a> &amp;<a class="el" href="a04223.html#a576">v</a>) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dot product. <a href="#NLMISC_1_1CVector2dz2057_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>double&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2057_4">sqrnorm</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the square of the norm of the vector. <a href="#NLMISC_1_1CVector2dz2057_4"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Base Maths.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2055_0">operator *</a> (double f) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2055_1">operator *=</a> (double f)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2055_2">operator+</a> (const <a class="el" href="a03659.html">CVector2d</a> &amp;<a class="el" href="a04223.html#a576">v</a>) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2055_3">operator+=</a> (const <a class="el" href="a03659.html">CVector2d</a> &amp;<a class="el" href="a04223.html#a576">v</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2055_4">operator-</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2055_5">operator-</a> (const <a class="el" href="a03659.html">CVector2d</a> &amp;<a class="el" href="a04223.html#a576">v</a>) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2055_6">operator-=</a> (const <a class="el" href="a03659.html">CVector2d</a> &amp;<a class="el" href="a04223.html#a576">v</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2055_7">operator/</a> (double f) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dz2055_8">operator/=</a> (double f)</td></tr>
+
+<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>double&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2do0">x</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>double&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2do1">y</a></td></tr>
+
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03659.html">CVector2d</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03659.html#NLMISC_1_1CVector2dn0">operator *</a> (double f, const <a class="el" href="a03659.html">CVector2d</a> &amp;v0)</td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CVector2dz2053_3" doxytag="NLMISC::CVector2d::CVector2d" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CVector2d::CVector2d </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor wich do nothing.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00059">59</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+Referenced by <a class="el" href="a06675.html#l00077">operator *()</a>, <a class="el" href="a06675.html#l00075">operator+()</a>, <a class="el" href="a06675.html#l00076">operator-()</a>, and <a class="el" href="a06675.html#l00078">operator/()</a>.
+<p>
+<div class="fragment"><pre>00059 {}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2053_2" doxytag="NLMISC::CVector2d::CVector2d" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CVector2d::CVector2d </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">double&nbsp;</td>
+ <td class="mdname" nowrap> <em>_x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>_y</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor .
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00061">61</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00061 : <a class="code" href="a03659.html#NLMISC_1_1CVector2do0">x</a>(_x), <a class="code" href="a03659.html#NLMISC_1_1CVector2do1">y</a>(_y) {}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2053_1" doxytag="NLMISC::CVector2d::CVector2d" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CVector2d::CVector2d </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Copy Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00063">63</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00063 : <a class="code" href="a03659.html#NLMISC_1_1CVector2do0">x</a>(<a class="code" href="a04223.html#a576">v</a>.x), <a class="code" href="a03659.html#NLMISC_1_1CVector2do1">y</a>(<a class="code" href="a04223.html#a576">v</a>.y) {}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2053_0" doxytag="NLMISC::CVector2d::CVector2d" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CVector2d::CVector2d </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03660.html">CVector2f</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor with a <a class="el" href="a03660.html">CVector2f</a>.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00065">65</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00065 : <a class="code" href="a03659.html#NLMISC_1_1CVector2do0">x</a>(<a class="code" href="a04223.html#a576">v</a>.x), <a class="code" href="a03659.html#NLMISC_1_1CVector2do1">y</a>(<a class="code" href="a04223.html#a576">v</a>.y) {}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CVector2dz2059_0" doxytag="NLMISC::CVector2d::isNull" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLMISC::CVector2d::isNull </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00111">111</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00111 {<span class="keywordflow">return</span> <a class="code" href="a04223.html#a572">x</a>==0.0f &amp;&amp; <a class="code" href="a04223.html#a573">y</a>==0.0f;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2059_1" doxytag="NLMISC::CVector2d::maxof" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CVector2d::maxof </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>a</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>b</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set all vector x/y/z as maximum of a/b x/y/z (respectively).
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00119">119</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a06675.html#l00053">x</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a06675.html#l00053">y</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00120 {
+00121 <a class="code" href="a04223.html#a572">x</a>= std::max(a.x, b.x);
+00122 <a class="code" href="a04223.html#a573">y</a>= std::max(a.y, b.y);
+00123 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2059_2" doxytag="NLMISC::CVector2d::minof" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CVector2d::minof </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>a</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>b</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set all vector x/y/z as minimum of a/b x/y/z (respectively).
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00113">113</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05484.html#l00038">min</a>, <a class="el" href="a06675.html#l00053">x</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a06675.html#l00053">y</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00114 {
+00115 <a class="code" href="a04223.html#a572">x</a>= <a class="code" href="a04061.html#a0">std::min</a>(a.x, b.x);
+00116 <a class="code" href="a04223.html#a573">y</a>= <a class="code" href="a04061.html#a0">std::min</a>(a.y, b.y);
+00117 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2057_0" doxytag="NLMISC::CVector2d::norm" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> double NLMISC::CVector2d::norm </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the norm of the vector.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00087">87</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a06675.html#l00089">sqrnorm()</a>.
+<p>
+Referenced by <a class="el" href="a06675.html#l00091">normalize()</a>.
+<p>
+<div class="fragment"><pre>00087 {<span class="keywordflow">return</span> (<span class="keywordtype">double</span>)sqrt(<a class="code" href="a03659.html#NLMISC_1_1CVector2dz2057_4">sqrnorm</a>());}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2057_1" doxytag="NLMISC::CVector2d::normalize" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CVector2d::normalize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Normalize the vector.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00091">91</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a06675.html#l00087">norm()</a>.
+<p>
+<div class="fragment"><pre>00092 {
+00093 <span class="keywordtype">double</span> f= <a class="code" href="a03659.html#NLMISC_1_1CVector2dz2057_0">norm</a>();
+00094 <span class="keywordflow">if</span>(f&gt;0)
+00095 *<span class="keyword">this</span>/=f;
+00096 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2057_2" doxytag="NLMISC::CVector2d::normed" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a> NLMISC::CVector2d::normed </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the vector normalized.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00098">98</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00237">v</a>.
+<p>
+<div class="fragment"><pre>00099 {
+00100 <a class="code" href="a03659.html#NLMISC_1_1CVector2dz2053_3">CVector2d</a> <a class="code" href="a04223.html#a576">v</a>= *<span class="keyword">this</span>;
+00101 <a class="code" href="a04223.html#a576">v</a>.normalize();
+00102 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a576">v</a>;
+00103 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2057_3" doxytag="NLMISC::CVector2d::operator *" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> double NLMISC::CVector2d::operator * </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Dot product.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00085">85</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00085 {<span class="keywordflow">return</span> <a class="code" href="a04223.html#a572">x</a>*<a class="code" href="a04223.html#a576">v</a>.x + <a class="code" href="a04223.html#a573">y</a>*<a class="code" href="a04223.html#a576">v</a>.y;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2055_0" doxytag="NLMISC::CVector2d::operator *" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a> NLMISC::CVector2d::operator * </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">double&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00077">77</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a06675.html#l00059">CVector2d()</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00077 {<span class="keywordflow">return</span> <a class="code" href="a03659.html#NLMISC_1_1CVector2dz2053_3">CVector2d</a>(<a class="code" href="a04223.html#a572">x</a>*f, <a class="code" href="a04223.html#a573">y</a>*f);}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2055_1" doxytag="NLMISC::CVector2d::operator *=" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a>&amp; NLMISC::CVector2d::operator *= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">double&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00073">73</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00073 {<a class="code" href="a04223.html#a572">x</a>*=f; <a class="code" href="a04223.html#a573">y</a>*=f; <span class="keywordflow">return</span> *<span class="keyword">this</span>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2059_3" doxytag="NLMISC::CVector2d::operator!=" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLMISC::CVector2d::operator!= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00110">110</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00237">v</a>.
+<p>
+<div class="fragment"><pre>00110 {<span class="keywordflow">return</span> !(*<span class="keyword">this</span>==<a class="code" href="a04223.html#a576">v</a>);}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2055_2" doxytag="NLMISC::CVector2d::operator+" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a> NLMISC::CVector2d::operator+ </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00075">75</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a06675.html#l00059">CVector2d()</a>, <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00075 {<span class="keywordflow">return</span> <a class="code" href="a03659.html#NLMISC_1_1CVector2dz2053_3">CVector2d</a>(<a class="code" href="a04223.html#a572">x</a>+<a class="code" href="a04223.html#a576">v</a>.x, <a class="code" href="a04223.html#a573">y</a>+<a class="code" href="a04223.html#a576">v</a>.y);}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2055_3" doxytag="NLMISC::CVector2d::operator+=" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a>&amp; NLMISC::CVector2d::operator+= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00071">71</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00071 {<a class="code" href="a04223.html#a572">x</a>+=<a class="code" href="a04223.html#a576">v</a>.x; <a class="code" href="a04223.html#a573">y</a>+=<a class="code" href="a04223.html#a576">v</a>.y; <span class="keywordflow">return</span> *<span class="keyword">this</span>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2055_4" doxytag="NLMISC::CVector2d::operator-" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a> NLMISC::CVector2d::operator- </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00079">79</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a06675.html#l00059">CVector2d()</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00079 {<span class="keywordflow">return</span> <a class="code" href="a03659.html#NLMISC_1_1CVector2dz2053_3">CVector2d</a>(-<a class="code" href="a04223.html#a572">x</a>, -<a class="code" href="a04223.html#a573">y</a>);}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2055_5" doxytag="NLMISC::CVector2d::operator-" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a> NLMISC::CVector2d::operator- </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00076">76</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a06675.html#l00059">CVector2d()</a>, <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00076 {<span class="keywordflow">return</span> <a class="code" href="a03659.html#NLMISC_1_1CVector2dz2053_3">CVector2d</a>(<a class="code" href="a04223.html#a572">x</a>-<a class="code" href="a04223.html#a576">v</a>.x, <a class="code" href="a04223.html#a573">y</a>-<a class="code" href="a04223.html#a576">v</a>.y);}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2055_6" doxytag="NLMISC::CVector2d::operator-=" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a>&amp; NLMISC::CVector2d::operator-= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00072">72</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00072 {<a class="code" href="a04223.html#a572">x</a>-=<a class="code" href="a04223.html#a576">v</a>.x; <a class="code" href="a04223.html#a573">y</a>-=<a class="code" href="a04223.html#a576">v</a>.y; <span class="keywordflow">return</span> *<span class="keyword">this</span>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2055_7" doxytag="NLMISC::CVector2d::operator/" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a> NLMISC::CVector2d::operator/ </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">double&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00078">78</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a06675.html#l00059">CVector2d()</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00078 {<span class="keywordflow">return</span> <a class="code" href="a03659.html#NLMISC_1_1CVector2dz2053_3">CVector2d</a>(<a class="code" href="a04223.html#a572">x</a>/f, <a class="code" href="a04223.html#a573">y</a>/f);}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2055_8" doxytag="NLMISC::CVector2d::operator/=" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a>&amp; NLMISC::CVector2d::operator/= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">double&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00074">74</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00074 {<a class="code" href="a04223.html#a572">x</a>/=f; <a class="code" href="a04223.html#a573">y</a>/=f; <span class="keywordflow">return</span> *<span class="keyword">this</span>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2059_4" doxytag="NLMISC::CVector2d::operator==" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLMISC::CVector2d::operator== </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00109">109</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00109 {<span class="keywordflow">return</span> <a class="code" href="a04223.html#a572">x</a>==<a class="code" href="a04223.html#a576">v</a>.x &amp;&amp; <a class="code" href="a04223.html#a573">y</a>==<a class="code" href="a04223.html#a576">v</a>.y;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2059_5" doxytag="NLMISC::CVector2d::serial" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CVector2d::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+serial.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00125">125</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00125 {f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(<a class="code" href="a04223.html#a572">x</a>,<a class="code" href="a04223.html#a573">y</a>);}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2059_6" doxytag="NLMISC::CVector2d::set" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CVector2d::set </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">double&nbsp;</td>
+ <td class="mdname" nowrap> <em>_x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>_y</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00108">108</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00108 {<a class="code" href="a04223.html#a572">x</a>= _x; <a class="code" href="a04223.html#a573">y</a>=_y;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2dz2057_4" doxytag="NLMISC::CVector2d::sqrnorm" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> double NLMISC::CVector2d::sqrnorm </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the square of the norm of the vector.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00089">89</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+Referenced by <a class="el" href="a06675.html#l00087">norm()</a>, and <a class="el" href="a05664.html#l00394">NLPACS::CEdgeCollide::testEdgeMove()</a>.
+<p>
+<div class="fragment"><pre>00089 {<span class="keywordflow">return</span> <a class="code" href="a04223.html#a572">x</a>*<a class="code" href="a04223.html#a572">x</a> + <a class="code" href="a04223.html#a573">y</a>*<a class="code" href="a04223.html#a573">y</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CVector2dn0" doxytag="NLMISC::CVector2d::operator *" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03659.html">CVector2d</a> operator * </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">double&nbsp;</td>
+ <td class="mdname" nowrap> <em>f</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03659.html">CVector2d</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>v0</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [friend]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00134">134</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+<div class="fragment"><pre>00135 {
+00136 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a576">v</a>*f;
+00137 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CVector2do0" doxytag="NLMISC::CVector2d::x" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> double <a class="el" href="a03659.html#NLMISC_1_1CVector2do0">NLMISC::CVector2d::x</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00053">53</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+Referenced by <a class="el" href="a06675.html#l00119">maxof()</a>, <a class="el" href="a06675.html#l00113">minof()</a>, and <a class="el" href="a05664.html#l00394">NLPACS::CEdgeCollide::testEdgeMove()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CVector2do1" doxytag="NLMISC::CVector2d::y" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> double <a class="el" href="a03659.html#NLMISC_1_1CVector2do1">NLMISC::CVector2d::y</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06675.html#l00053">53</a> of file <a class="el" href="a06675.html">vector_2d.h</a>.
+<p>
+Referenced by <a class="el" href="a06675.html#l00119">maxof()</a>, <a class="el" href="a06675.html#l00113">minof()</a>, and <a class="el" href="a05664.html#l00394">NLPACS::CEdgeCollide::testEdgeMove()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a06675.html">vector_2d.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:41:47 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>