diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02259.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02259.html | 331 |
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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <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 </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> &a, <a class="el" href="a03128.html">CVector</a> &b, <a class="el" href="a03128.html">CVector</a> &c, <a class="el" href="a03128.html">CVector</a> &d)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </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> &a, const <a class="el" href="a03128.html">CVector</a> &b, const <a class="el" href="a03128.html">CVector</a> &c, const <a class="el" href="a03128.html">CVector</a> &d)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </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> &left, <a class="el" href="a02259.html">CBezierCurve</a> &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> </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> </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> </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> </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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03128.html">CVector</a> & </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> & </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> & </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> & </td> + <td class="mdname" nowrap> <em>d</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> & </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> & </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> & </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> & </td> + <td class="mdname" nowrap> <em>d</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02259.html">CBezierCurve</a> & </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> & </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 </td> + <td class="mdname" nowrap> <em>t</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> + + </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> + + </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> + + </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> + + </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> |