aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/class_NLMISC__CVector.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/class_NLMISC__CVector.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/class_NLMISC__CVector.html')
-rw-r--r--docs/doxygen/nel/class_NLMISC__CVector.html1410
1 files changed, 1410 insertions, 0 deletions
diff --git a/docs/doxygen/nel/class_NLMISC__CVector.html b/docs/doxygen/nel/class_NLMISC__CVector.html
new file mode 100644
index 00000000..603dbe74
--- /dev/null
+++ b/docs/doxygen/nel/class_NLMISC__CVector.html
@@ -0,0 +1,1410 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.2 on Thu May 24 22:37:41 2001 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NLMISC::CVector Class Reference</h1>A 3D vector of float.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="vector_h-source.html">vector.h</a>&gt;</code>
+<p>
+Collaboration diagram for NLMISC::CVector:<p><center><img src="class_NLMISC__CVector_coll_graph.gif" border="0" usemap="#NLMISC::CVector_coll_map" alt="Collaboration graph"></center>
+<map name="NLMISC::CVector_coll_map">
+</map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_NLMISC__CVector-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a28">asString</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the contents as a printable string "x y z".</em> <a href="#a28">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Object.</div></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a0">CVector</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor wich do nothing.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a1">CVector</a> (float _x, float _y, float _z)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor .</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a2">CVector</a> (const CVector &amp;v)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Copy Constructor.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Base Maths.</div></td></tr>
+<tr><td nowrap align=right valign=top>CVector&amp;&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a3">operator+=</a> (const CVector &amp;v)</td></tr>
+<tr><td nowrap align=right valign=top>CVector&amp;&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a4">operator-=</a> (const CVector &amp;v)</td></tr>
+<tr><td nowrap align=right valign=top>CVector&amp;&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a5">operator *=</a> (float f)</td></tr>
+<tr><td nowrap align=right valign=top>CVector&amp;&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a6">operator/=</a> (float f)</td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a7">operator+</a> (const CVector &amp;v) const</td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a8">operator-</a> (const CVector &amp;v) const</td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a9">operator *</a> (float f) const</td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a10">operator/</a> (float f) const</td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a11">operator-</a> () const</td></tr>
+<tr><td colspan="2"><div class="groupHeader">Advanced Maths.</div></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a12">operator *</a> (const CVector &amp;v) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Dot product.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a13">operator^</a> (const CVector &amp;v) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Cross product.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a14">norm</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the norm of the vector.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a15">sqrnorm</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the square of the norm of the vector.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a16">normalize</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Normalize the vector.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a17">normed</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the vector normalized.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Misc.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a18">set</a> (float _x, float _y, float _z)</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a19">operator==</a> (const CVector &amp;v) const</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a20">operator!=</a> (const CVector &amp;v) const</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a21">isNull</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a22">operator&lt;</a> (const CVector &amp;v) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This operator is here just for map/set insertion(no meaning). comparison order is x,y,z.</em> <a href="#a22">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a23">sphericToCartesian</a> (float r, float theta,float phi)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Setup the vector with spheric coordinates.</em> <a href="#a23">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a24">cartesianToSpheric</a> (float &amp;r, float &amp;theta,float &amp;phi) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the sphreic coordinates of the vector.</em> <a href="#a24">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a25">minof</a> (const CVector &amp;a, const CVector &amp;b)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set all vector x/y/z as minimum of a/b x/y/z (respectively).</em> <a href="#a25">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a26">maxof</a> (const CVector &amp;a, const CVector &amp;b)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set all vector x/y/z as maximum of a/b x/y/z (respectively).</em> <a href="#a26">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#a27">serial</a> (<a class="el" href="class_NLMISC__IStream.html">IStream</a> &amp;f)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>serial.</em> <a href="#a27">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#m0">x</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#m1">y</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#m2">z</a></td></tr>
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>const CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#p0">Null</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Null vector (0,0,0).</em> <a href="#p0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#p1">I</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>I vector (1,0,0).</em> <a href="#p1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#p2">J</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>J vector (0,1,0).</em> <a href="#p2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#p3">K</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>K vector (0,0,1).</em> <a href="#p3">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="class_NLMISC__CVector.html#l0">operator *</a> (float f, const CVector &amp;v0)</td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A 3D vector of float.
+<p>
+<dl compact><dt>
+<b>Author(s): </b><dd>
+ Lionel Berenguier , Nevrax France </dl><dl compact><dt>
+<b>Date: </b><dd>
+ 2000 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="vector_h-source.html#l00046">46</a> of file <a class="el" href="vector_h-source.html">vector.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NLMISC::CVector::CVector"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NLMISC::CVector::CVector (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [inline]</code>
+ </b></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="vector_h-source.html#l00065">65</a> of file <a class="el" href="vector_h-source.html">vector.h</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NLMISC::CVector::CVector"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NLMISC::CVector::CVector (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>_x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>_y</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>_z</em>&nbsp;)<code> [inline]</code>
+ </b></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="vector_h-source.html#l00067">67</a> of file <a class="el" href="vector_h-source.html">vector.h</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NLMISC::CVector::CVector"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NLMISC::CVector::CVector (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>v</em>&nbsp;)<code> [inline]</code>
+ </b></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="vector_h-source.html#l00069">69</a> of file <a class="el" href="vector_h-source.html">vector.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a28" doxytag="NLMISC::CVector::asString"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+string NLMISC::CVector::asString (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the contents as a printable string "x y z".
+<p>
+
+<p>
+Definition at line <a class="el" href="vector_cpp-source.html#l00044">44</a> of file <a class="el" href="vector_cpp-source.html">vector.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a24" doxytag="NLMISC::CVector::cartesianToSpheric"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLMISC::CVector::cartesianToSpheric (
+ </b></td>
+ <td valign="bottom"><b>
+float &amp; <em>r</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>theta</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>phi</em>&nbsp;) const<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the sphreic coordinates of the vector.
+<p>
+See <a class="el" href="class_NLMISC__CVector.html#a23">sphericToCartesian</a>() to know coordinates conventions. <dl compact><dt>
+<b>See also: </b><dd>
+ <a class="el" href="class_NLMISC__CVector.html#a23">sphericToCartesian</a>() </dl>
+<p>
+Definition at line <a class="el" href="vector_inline_h-source.html#l00161">161</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a21" doxytag="NLMISC::CVector::isNull"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NLMISC::CVector::isNull (
+ </b></td>
+ <td valign="bottom"><b>
+) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00148">148</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a26" doxytag="NLMISC::CVector::maxof"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLMISC::CVector::maxof (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>a</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const CVector &amp; <em>b</em>&nbsp;)<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00192">192</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a25" doxytag="NLMISC::CVector::minof"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLMISC::CVector::minof (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>a</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const CVector &amp; <em>b</em>&nbsp;)<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00186">186</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a14" doxytag="NLMISC::CVector::norm"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+float NLMISC::CVector::norm (
+ </b></td>
+ <td valign="bottom"><b>
+) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00115">115</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>.
+<p>
+Referenced by <a class="el" href="retriever_instance_cpp-source.html#l00125">NLPACS::CRetrieverInstance::link</a>(). </td>
+ </tr>
+</table>
+<a name="a16" doxytag="NLMISC::CVector::normalize"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLMISC::CVector::normalize (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00119">119</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>.
+<p>
+Referenced by <a class="el" href="agent_3dvector_h-source.html#l00153">NLAIAGENT::IVector::unit</a>(). </td>
+ </tr>
+</table>
+<a name="a17" doxytag="NLMISC::CVector::normed"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector NLMISC::CVector::normed (
+ </b></td>
+ <td valign="bottom"><b>
+) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00125">125</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a12" doxytag="NLMISC::CVector::operator *"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+float NLMISC::CVector::operator * (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>v</em>&nbsp;) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00097">97</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NLMISC::CVector::operator *"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector NLMISC::CVector::operator * (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>f</em>&nbsp;) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00075">75</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NLMISC::CVector::operator *="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector &amp; NLMISC::CVector::operator *= (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>f</em>&nbsp;)<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00054">54</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a20" doxytag="NLMISC::CVector::operator!="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NLMISC::CVector::operator!= (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>v</em>&nbsp;) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00144">144</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NLMISC::CVector::operator+"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector NLMISC::CVector::operator+ (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>v</em>&nbsp;) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00065">65</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NLMISC::CVector::operator+="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector &amp; NLMISC::CVector::operator+= (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>v</em>&nbsp;)<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00040">40</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a11" doxytag="NLMISC::CVector::operator-"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector NLMISC::CVector::operator- (
+ </b></td>
+ <td valign="bottom"><b>
+) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00084">84</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NLMISC::CVector::operator-"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector NLMISC::CVector::operator- (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>v</em>&nbsp;) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00070">70</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NLMISC::CVector::operator-="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector &amp; NLMISC::CVector::operator-= (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>v</em>&nbsp;)<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00047">47</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NLMISC::CVector::operator/"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector NLMISC::CVector::operator/ (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>f</em>&nbsp;) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00080">80</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NLMISC::CVector::operator/="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector &amp; NLMISC::CVector::operator/= (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>f</em>&nbsp;)<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00061">61</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a22" doxytag="NLMISC::CVector::operator<"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NLMISC::CVector::operator&lt; (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>v</em>&nbsp;) const<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This operator is here just for map/set insertion(no meaning). comparison order is x,y,z.
+<p>
+
+<p>
+Definition at line <a class="el" href="vector_inline_h-source.html#l00152">152</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a19" doxytag="NLMISC::CVector::operator=="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NLMISC::CVector::operator== (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>v</em>&nbsp;) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00140">140</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a13" doxytag="NLMISC::CVector::operator^"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector NLMISC::CVector::operator^ (
+ </b></td>
+ <td valign="bottom"><b>
+const CVector &amp; <em>v</em>&nbsp;) const<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Cross product.
+<p>
+compute the cross product *this ^ v.
+<p>
+Definition at line <a class="el" href="vector_inline_h-source.html#l00101">101</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a27" doxytag="NLMISC::CVector::serial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLMISC::CVector::serial (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="class_NLMISC__IStream.html">IStream</a> &amp; <em>f</em>&nbsp;)<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00198">198</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a18" doxytag="NLMISC::CVector::set"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLMISC::CVector::set (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>_x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>_y</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>_z</em>&nbsp;)<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00136">136</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a23" doxytag="NLMISC::CVector::sphericToCartesian"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLMISC::CVector::sphericToCartesian (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>r</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>theta</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>phi</em>&nbsp;)<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Setup the vector with spheric coordinates.
+<p>
+sphericToCartesian(1,0,0) build the I vector ((1,0,0)). the formula is: <br>
+ x= r*cos(theta)*cos(phi) <br>
+ y= r*sin(theta)*cos(phi) <br>
+ z= r*sin(phi) <br>
+ <dl compact><dt>
+<b>See also: </b><dd>
+ <a class="el" href="class_NLMISC__CVector.html#a24">cartesianToSpheric</a>() </dl>
+<p>
+Definition at line <a class="el" href="vector_inline_h-source.html#l00175">175</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<a name="a15" doxytag="NLMISC::CVector::sqrnorm"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+float NLMISC::CVector::sqrnorm (
+ </b></td>
+ <td valign="bottom"><b>
+) const<code> [inline]</code>
+ </b></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="vector_inline_h-source.html#l00111">111</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a name="l0" doxytag="NLMISC::CVector::operator *"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CVector operator * (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>f</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const CVector &amp; <em>v</em>&nbsp;)<code> [friend]</code>
+ </b></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="vector_inline_h-source.html#l00088">88</a> of file <a class="el" href="vector_inline_h-source.html">vector_inline.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="p1" doxytag="NLMISC::CVector::I"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const CVector NLMISC::CVector::I<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+I vector (1,0,0).
+<p>
+
+<p>
+Definition at line <a class="el" href="vector_h-source.html#l00055">55</a> of file <a class="el" href="vector_h-source.html">vector.h</a>. </td>
+ </tr>
+</table>
+<a name="p2" doxytag="NLMISC::CVector::J"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const CVector NLMISC::CVector::J<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+J vector (0,1,0).
+<p>
+
+<p>
+Definition at line <a class="el" href="vector_h-source.html#l00057">57</a> of file <a class="el" href="vector_h-source.html">vector.h</a>. </td>
+ </tr>
+</table>
+<a name="p3" doxytag="NLMISC::CVector::K"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const CVector NLMISC::CVector::K<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+K vector (0,0,1).
+<p>
+
+<p>
+Definition at line <a class="el" href="vector_h-source.html#l00059">59</a> of file <a class="el" href="vector_h-source.html">vector.h</a>. </td>
+ </tr>
+</table>
+<a name="p0" doxytag="NLMISC::CVector::Null"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const CVector NLMISC::CVector::Null<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Null vector (0,0,0).
+<p>
+
+<p>
+Definition at line <a class="el" href="vector_h-source.html#l00053">53</a> of file <a class="el" href="vector_h-source.html">vector.h</a>. </td>
+ </tr>
+</table>
+<a name="m0" doxytag="NLMISC::CVector::x"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+float NLMISC::CVector::x
+ </b></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="vector_h-source.html#l00049">49</a> of file <a class="el" href="vector_h-source.html">vector.h</a>. </td>
+ </tr>
+</table>
+<a name="m1" doxytag="NLMISC::CVector::y"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+float NLMISC::CVector::y
+ </b></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="vector_h-source.html#l00049">49</a> of file <a class="el" href="vector_h-source.html">vector.h</a>. </td>
+ </tr>
+</table>
+<a name="m2" doxytag="NLMISC::CVector::z"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+float NLMISC::CVector::z
+ </b></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="vector_h-source.html#l00049">49</a> of file <a class="el" href="vector_h-source.html">vector.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="vector_h-source.html">vector.h</a><li><a class="el" href="vector_inline_h-source.html">vector_inline.h</a><li><a class="el" href="vector_cpp-source.html">vector.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>