aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02762.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/a02762.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a02762.html')
-rw-r--r--docs/doxygen/nel/a02762.html290
1 files changed, 290 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02762.html b/docs/doxygen/nel/a02762.html
new file mode 100644
index 00000000..be5cacbb
--- /dev/null
+++ b/docs/doxygen/nel/a02762.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::CLineColor 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::CLineColor Class Reference</h1><code>#include &lt;<a class="el" href="a05760.html">geom_ext.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLMISC::CLineColor:
+<p><center><img src="a02762.png" usemap="#NLMISC::CLineColor_map" border="0" alt=""></center>
+<map name="NLMISC::CLineColor_map">
+<area href="a02759.html" alt="NLMISC::CLine" shape="rect" coords="0,0,129,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A line with 2 color. <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#l00054">54</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="a02762.html#NLMISC_1_1CLineColora0">CLineColor</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NLMISC_1_1CLineColora0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02762.html">CLineColor</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02762.html#NLMISC_1_1CLineColora1">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="a02762.html#NLMISC_1_1CLineColoro0">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="a02762.html#NLMISC_1_1CLineColoro1">Color1</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_1CLineColora0" doxytag="NLMISC::CLineColor::CLineColor" ></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::CLineColor::CLineColor </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#l00062">62</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+<div class="fragment"><pre>00062 {}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CLineColora1" doxytag="NLMISC::CLineColor::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="a02762.html">CLineColor</a>&amp; NLMISC::CLineColor::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#l00064">64</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+<div class="fragment"><pre>00065 {
+00066 *((<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>;
+00067 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00068 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineUVa2" doxytag="NLMISC::CLineColor::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_1CLineColoro0" doxytag="NLMISC::CLineColor::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="a02762.html#NLMISC_1_1CLineColoro0">NLMISC::CLineColor::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#l00057">57</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+Referenced by <a class="el" href="a05657.html#l00519">NL3D::CDriverUser::drawLine()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineColoro1" doxytag="NLMISC::CLineColor::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="a02762.html#NLMISC_1_1CLineColoro1">NLMISC::CLineColor::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#l00057">57</a> of file <a class="el" href="a05760.html">geom_ext.h</a>.
+<p>
+Referenced by <a class="el" href="a05657.html#l00519">NL3D::CDriverUser::drawLine()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CLineUVo2" doxytag="NLMISC::CLineColor::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::CLineColor::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:13 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>