aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02763.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/a02763.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02763.html346
1 files changed, 346 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02763.html b/docs/doxygen/nel/a02763.html
new file mode 100644
index 00000000..3247e426
--- /dev/null
+++ b/docs/doxygen/nel/a02763.html
@@ -0,0 +1,346 @@
+<!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::CLineColorUV 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::CLineColorUV Class Reference</h1><code>#include &lt;<a class="el" href="a05760.html">geom_ext.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLMISC::CLineColorUV:
+<p><center><img src="a02763.png" usemap="#NLMISC::CLineColorUV_map" border="0" alt=""></center>
+<map name="NLMISC::CLineColorUV_map">
+<area href="a02759.html" alt="NLMISC::CLine" shape="rect" coords="0,0,146,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A line with 2 color and 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#l00106">106</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="a02763.html#NLMISC_1_1CLineColorUVa0">CLineColorUV</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NLMISC_1_1CLineColorUVa0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02763.html">CLineColorUV</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02763.html#NLMISC_1_1CLineColorUVa1">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="a03337.html">CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02763.html#NLMISC_1_1CLineColorUVo0">Color0</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02763.html#NLMISC_1_1CLineColorUVo1">Color1</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="a02763.html#NLMISC_1_1CLineColorUVo2">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="a02763.html#NLMISC_1_1CLineColorUVo3">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_1CLineColorUVa0" doxytag="NLMISC::CLineColorUV::CLineColorUV" ></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::CLineColorUV::CLineColorUV </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#l00115">115</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+<div class="fragment"><pre>00115 {}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CLineColorUVa1" doxytag="NLMISC::CLineColorUV::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="a02763.html">CLineColorUV</a>&amp; NLMISC::CLineColorUV::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#l00117">117</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+<div class="fragment"><pre>00118 {
+00119 *((<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>;
+00120 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00121 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineUVa2" doxytag="NLMISC::CLineColorUV::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_1CLineColorUVo0" doxytag="NLMISC::CLineColorUV::Color0" ></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="a03337.html">CRGBA</a> <a class="el" href="a02763.html#NLMISC_1_1CLineColorUVo0">NLMISC::CLineColorUV::Color0</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#l00109">109</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+Referenced by <a class="el" href="a05657.html#l00553">NL3D::CDriverUser::drawLine()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineColorUVo1" doxytag="NLMISC::CLineColorUV::Color1" ></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="a03337.html">CRGBA</a> <a class="el" href="a02763.html#NLMISC_1_1CLineColorUVo1">NLMISC::CLineColorUV::Color1</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#l00109">109</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+Referenced by <a class="el" href="a05657.html#l00553">NL3D::CDriverUser::drawLine()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineColorUVo2" doxytag="NLMISC::CLineColorUV::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="a02763.html#NLMISC_1_1CLineColorUVo2">NLMISC::CLineColorUV::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#l00110">110</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+Referenced by <a class="el" href="a05657.html#l00553">NL3D::CDriverUser::drawLine()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineColorUVo3" doxytag="NLMISC::CLineColorUV::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="a02763.html#NLMISC_1_1CLineColorUVo3">NLMISC::CLineColorUV::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#l00110">110</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+Referenced by <a class="el" href="a05657.html#l00553">NL3D::CDriverUser::drawLine()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineUVo2" doxytag="NLMISC::CLineColorUV::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::CLineColorUV::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:20 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>