aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02764.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a02764.html')
-rw-r--r--docs/doxygen/nel/a02764.html290
1 files changed, 290 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02764.html b/docs/doxygen/nel/a02764.html
new file mode 100644
index 00000000..fc09ad4a
--- /dev/null
+++ b/docs/doxygen/nel/a02764.html
@@ -0,0 +1,290 @@
+<!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::CLineUV 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::CLineUV Class Reference</h1><code>#include &lt;<a class="el" href="a05760.html">geom_ext.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLMISC::CLineUV:
+<p><center><img src="a02764.png" usemap="#NLMISC::CLineUV_map" border="0" alt=""></center>
+<map name="NLMISC::CLineUV_map">
+<area href="a02759.html" alt="NLMISC::CLine" shape="rect" coords="0,0,115,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A line with 2 uvs. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2000 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05760.html#l00080">80</a> of file <a class="el" href="a05760.html">geom_ext.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 class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02764.html#NLMISC_1_1CLineUVa0">CLineUV</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NLMISC_1_1CLineUVa0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02764.html">CLineUV</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02764.html#NLMISC_1_1CLineUVa1">operator=</a> (const <a class="el" href="a02759.html">CLine</a> &amp;<a class="el" href="a04560.html#a2">line</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02759.html#NLMISC_1_1CLineUVa2">project</a> (const <a class="el" href="a03128.html">CVector</a> &amp;inV, <a class="el" href="a03128.html">CVector</a> &amp;outV)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Project a vector on this line. <a href="#NLMISC_1_1CLineUVa2"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03640.html">CUV</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02764.html#NLMISC_1_1CLineUVo0">Uv0</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03640.html">CUV</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02764.html#NLMISC_1_1CLineUVo1">Uv1</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02759.html#NLMISC_1_1CLineUVo2">V0</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02759.html#NLMISC_1_1CLineUVo3">V1</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CLineUVa0" doxytag="NLMISC::CLineUV::CLineUV" ></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::CLineUV::CLineUV </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.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05760.html#l00088">88</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+<div class="fragment"><pre>00088 {}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CLineUVa1" doxytag="NLMISC::CLineUV::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="a02764.html">CLineUV</a>&amp; NLMISC::CLineUV::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02759.html">CLine</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>line</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="a05760.html#l00090">90</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+<div class="fragment"><pre>00091 {
+00092 *((<a class="code" href="a02759.html#NLMISC_1_1CLinea1">CLine</a>*)<span class="keyword">this</span>)= <a class="code" href="a05377.html#a3">line</a>;
+00093 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00094 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineUVa2" doxytag="NLMISC::CLineUV::project" ></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::CLine::project </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>inV</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>outV</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Project a vector on this line.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05909.html#l00034">34</a> of file <a class="el" href="a05909.html">line.cpp</a>.
+<p>
+References <a class="el" href="a06682.html#l00111">NLMISC::CVector::sqrnorm()</a>.
+<p>
+<div class="fragment"><pre>00035 {
+00036 CVector seg = <a class="code" href="a02759.html#NLMISC_1_1CLineUVo3">V1</a> - <a class="code" href="a02759.html#NLMISC_1_1CLineUVo2">V0</a>;
+00037 <span class="keywordtype">float</span> n = seg.sqrnorm();
+00038 <span class="keywordflow">if</span> (n == 0.f)
+00039 {
+00040 outV = <a class="code" href="a02759.html#NLMISC_1_1CLineUVo2">V0</a>;
+00041 }
+00042 <span class="keywordflow">else</span>
+00043 {
+00044 <span class="keywordtype">float</span> dp = (inV - <a class="code" href="a02759.html#NLMISC_1_1CLineUVo2">V0</a>) * seg;
+00045 outV = <a class="code" href="a02759.html#NLMISC_1_1CLineUVo2">V0</a> + (dp / n) * seg;
+00046 }
+00047 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CLineUVo0" doxytag="NLMISC::CLineUV::Uv0" ></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="a03640.html">CUV</a> <a class="el" href="a02764.html#NLMISC_1_1CLineUVo0">NLMISC::CLineUV::Uv0</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="a05760.html#l00083">83</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+Referenced by <a class="el" href="a05657.html#l00536">NL3D::CDriverUser::drawLine()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineUVo1" doxytag="NLMISC::CLineUV::Uv1" ></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="a03640.html">CUV</a> <a class="el" href="a02764.html#NLMISC_1_1CLineUVo1">NLMISC::CLineUV::Uv1</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="a05760.html#l00083">83</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+Referenced by <a class="el" href="a05657.html#l00536">NL3D::CDriverUser::drawLine()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineUVo2" doxytag="NLMISC::CLineUV::V0" ></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="a03128.html">CVector</a> <a class="el" href="a02759.html#NLMISC_1_1CLineUVo2">NLMISC::CLine::V0</a><code> [inherited]</code>
+ </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="a05910.html#l00048">48</a> of file <a class="el" href="a05910.html">line.h</a>.
+<p>
+Referenced by <a class="el" href="a06246.html#l02038">NL3D::CPSLocatedBindable::displayIcon2d()</a>, and <a class="el" href="a05657.html#l00504">NL3D::CDriverUser::drawLine()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineUVo3" doxytag="NLMISC::CLineUV::V1" ></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="a03128.html">CVector</a> <a class="el" href="a02759.html#NLMISC_1_1CLineUVo3">NLMISC::CLine::V1</a><code> [inherited]</code>
+ </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="a05910.html#l00048">48</a> of file <a class="el" href="a05910.html">line.h</a>.
+<p>
+Referenced by <a class="el" href="a06246.html#l02038">NL3D::CPSLocatedBindable::displayIcon2d()</a>, and <a class="el" href="a05657.html#l00504">NL3D::CDriverUser::drawLine()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a05760.html">geom_ext.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:20:26 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>