aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02259.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a02259.html')
-rw-r--r--docs/doxygen/nel/a02259.html331
1 files changed, 331 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02259.html b/docs/doxygen/nel/a02259.html
new file mode 100644
index 00000000..af86a1ff
--- /dev/null
+++ b/docs/doxygen/nel/a02259.html
@@ -0,0 +1,331 @@
+<!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: NL3D::CBezierPatch::CBezierCurve struct 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>NL3D::CBezierPatch::CBezierCurve Struct Reference</h1><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>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurvea0">get</a> (<a class="el" href="a03128.html">CVector</a> &amp;a, <a class="el" href="a03128.html">CVector</a> &amp;b, <a class="el" href="a03128.html">CVector</a> &amp;c, <a class="el" href="a03128.html">CVector</a> &amp;d)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurvea1">set</a> (const <a class="el" href="a03128.html">CVector</a> &amp;a, const <a class="el" href="a03128.html">CVector</a> &amp;b, const <a class="el" href="a03128.html">CVector</a> &amp;c, const <a class="el" href="a03128.html">CVector</a> &amp;d)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurvea2">subdivide</a> (<a class="el" href="a02259.html">CBezierCurve</a> &amp;left, <a class="el" href="a02259.html">CBezierCurve</a> &amp;right, float <a class="el" href="a04223.html#a627">t</a>)</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="a03128.html">CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo0">P0</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="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo1">P1</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="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo2">P2</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="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo3">P3</a></td></tr>
+
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CBezierPatch_1_1CBezierCurvea0" doxytag="NL3D::CBezierPatch::CBezierCurve::get" ></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 NL3D::CBezierPatch::CBezierCurve::get </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03128.html">CVector</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><a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>b</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>c</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>d</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="a05479.html#l00130">130</a> of file <a class="el" href="a05479.html">bezier_patch.h</a>.
+<p>
+References <a class="el" href="a05479.html#l00124">P0</a>, <a class="el" href="a05479.html#l00124">P1</a>, <a class="el" href="a05479.html#l00124">P2</a>, and <a class="el" href="a05479.html#l00124">P3</a>.
+<p>
+Referenced by <a class="el" href="a05478.html#l00391">NL3D::CBezierPatch::subdivideS()</a>, and <a class="el" href="a05478.html#l00422">NL3D::CBezierPatch::subdivideT()</a>.
+<p>
+<div class="fragment"><pre>00131 {
+00132 a= <a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo0">P0</a>; b= <a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo1">P1</a>; c= <a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo2">P2</a>; d= <a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo3">P3</a>;
+00133 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CBezierPatch_1_1CBezierCurvea1" doxytag="NL3D::CBezierPatch::CBezierCurve::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 NL3D::CBezierPatch::CBezierCurve::set </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>a</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>b</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>c</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>d</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="a05479.html#l00126">126</a> of file <a class="el" href="a05479.html">bezier_patch.h</a>.
+<p>
+References <a class="el" href="a05479.html#l00124">P0</a>, <a class="el" href="a05479.html#l00124">P1</a>, <a class="el" href="a05479.html#l00124">P2</a>, and <a class="el" href="a05479.html#l00124">P3</a>.
+<p>
+Referenced by <a class="el" href="a05478.html#l00391">NL3D::CBezierPatch::subdivideS()</a>, and <a class="el" href="a05478.html#l00422">NL3D::CBezierPatch::subdivideT()</a>.
+<p>
+<div class="fragment"><pre>00127 {
+00128 <a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo0">P0</a>= a; <a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo1">P1</a>= b; <a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo2">P2</a>= c; <a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo3">P3</a>= d;
+00129 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CBezierPatch_1_1CBezierCurvea2" doxytag="NL3D::CBezierPatch::CBezierCurve::subdivide" ></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 NL3D::CBezierPatch::CBezierCurve::subdivide </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02259.html">CBezierCurve</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>left</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02259.html">CBezierCurve</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>right</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>t</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></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="a05478.html#l00371">371</a> of file <a class="el" href="a05478.html">bezier_patch.cpp</a>.
+<p>
+References <a class="el" href="a05479.html#l00124">P0</a>, <a class="el" href="a05479.html#l00124">P1</a>, <a class="el" href="a05479.html#l00124">P2</a>, <a class="el" href="a05479.html#l00124">P3</a>, and <a class="el" href="a05646.html#l00985">t</a>.
+<p>
+Referenced by <a class="el" href="a05478.html#l00391">NL3D::CBezierPatch::subdivideS()</a>, and <a class="el" href="a05478.html#l00422">NL3D::CBezierPatch::subdivideT()</a>.
+<p>
+<div class="fragment"><pre>00372 {
+00373 <span class="keywordtype">float</span> t1= 1-<a class="code" href="a04223.html#a627">t</a>;
+00374
+00375 <span class="comment">// Subdivide the 2 curves.</span>
+00376 left.P0= <a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo0">P0</a>;
+00377 right.P3= <a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo3">P3</a>;
+00378
+00379 left.P1= t1*<a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo0">P0</a> + <a class="code" href="a04223.html#a627">t</a>*<a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo1">P1</a>;
+00380 right.P2= t1*<a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo2">P2</a> + <a class="code" href="a04223.html#a627">t</a>*<a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo3">P3</a>;
+00381 CVector middle12= t1*P1 + <a class="code" href="a04223.html#a627">t</a>*<a class="code" href="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo2">P2</a>;
+00382
+00383 left.P2= t1*left.P1 + <a class="code" href="a04223.html#a627">t</a>*middle12;
+00384 right.P1= t1*middle12 + <a class="code" href="a04223.html#a627">t</a>*right.P2;
+00385
+00386 left.P3= right.P0= t1*left.P2 + <a class="code" href="a04223.html#a627">t</a>*right.P1;
+00387 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CBezierPatch_1_1CBezierCurveo0" doxytag="NL3D::CBezierPatch::CBezierCurve::P0" ></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="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo0">NL3D::CBezierPatch::CBezierCurve::P0</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="a05479.html#l00124">124</a> of file <a class="el" href="a05479.html">bezier_patch.h</a>.
+<p>
+Referenced by <a class="el" href="a05479.html#l00130">get()</a>, <a class="el" href="a05479.html#l00126">set()</a>, and <a class="el" href="a05478.html#l00371">subdivide()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CBezierPatch_1_1CBezierCurveo1" doxytag="NL3D::CBezierPatch::CBezierCurve::P1" ></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="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo1">NL3D::CBezierPatch::CBezierCurve::P1</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="a05479.html#l00124">124</a> of file <a class="el" href="a05479.html">bezier_patch.h</a>.
+<p>
+Referenced by <a class="el" href="a05479.html#l00130">get()</a>, <a class="el" href="a05479.html#l00126">set()</a>, and <a class="el" href="a05478.html#l00371">subdivide()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CBezierPatch_1_1CBezierCurveo2" doxytag="NL3D::CBezierPatch::CBezierCurve::P2" ></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="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo2">NL3D::CBezierPatch::CBezierCurve::P2</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="a05479.html#l00124">124</a> of file <a class="el" href="a05479.html">bezier_patch.h</a>.
+<p>
+Referenced by <a class="el" href="a05479.html#l00130">get()</a>, <a class="el" href="a05479.html#l00126">set()</a>, and <a class="el" href="a05478.html#l00371">subdivide()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CBezierPatch_1_1CBezierCurveo3" doxytag="NL3D::CBezierPatch::CBezierCurve::P3" ></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="a02259.html#NL3D_1_1CBezierPatch_1_1CBezierCurveo3">NL3D::CBezierPatch::CBezierCurve::P3</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="a05479.html#l00124">124</a> of file <a class="el" href="a05479.html">bezier_patch.h</a>.
+<p>
+Referenced by <a class="el" href="a05479.html#l00130">get()</a>, <a class="el" href="a05479.html#l00126">set()</a>, and <a class="el" href="a05478.html#l00371">subdivide()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this struct was generated from the following files:<ul>
+<li><a class="el" href="a05479.html">bezier_patch.h</a><li><a class="el" href="a05478.html">bezier_patch.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:44:35 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>