aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02703.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/a02703.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a02703.html')
-rw-r--r--docs/doxygen/nel/a02703.html254
1 files changed, 254 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02703.html b/docs/doxygen/nel/a02703.html
new file mode 100644
index 00000000..fe0fa7f9
--- /dev/null
+++ b/docs/doxygen/nel/a02703.html
@@ -0,0 +1,254 @@
+<!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::CLandscape::CBezierPatchZ 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::CLandscape::CBezierPatchZ Struct Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
+A Bezier patch of One value only. NB: unlike <a class="el" href="a02258.html">CBezierPatch</a>, layout is inverted on Y. (NB: same formulas...)
+<p>
+
+<p>
+Definition at line <a class="el" href="a05863.html#l00824">824</a> of file <a class="el" href="a05863.html">landscape.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>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZa0">eval</a> (float <a class="el" href="a04223.html#a626">s</a>, float <a class="el" href="a04223.html#a627">t</a>) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate. <a href="#NL3D_1_1CLandscape_1_1CBezierPatchZa0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZa1">makeInteriors</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">make default Interiors, according to Vertices and Tangents. <a href="#NL3D_1_1CLandscape_1_1CBezierPatchZa1"></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>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo0">Interiors</a> [4]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The interiors, ia,ib,ic,id. NB: interiors are points, not vectors. <a href="#NL3D_1_1CLandscape_1_1CBezierPatchZo0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">Tangents</a> [8]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The tangents ab, ba, bc, cb, cd, dc, da, ad. NB: tangents are points, not vectors. <a href="#NL3D_1_1CLandscape_1_1CBezierPatchZo1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo2">Vertices</a> [4]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The vertices a,b,c,d of the quad patch. <a href="#NL3D_1_1CLandscape_1_1CBezierPatchZo2"></a><br><br></td></tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CLandscape_1_1CBezierPatchZa0" doxytag="NL3D::CLandscape::CBezierPatchZ::eval" ></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"> float NL3D::CLandscape::CBezierPatchZ::eval </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap> <em>s</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"> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Evaluate.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05862.html#l02743">2743</a> of file <a class="el" href="a05862.html">landscape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05862.html#l02698">NL3D::CLandscape::getHeightFieldDeltaZ()</a>.
+<p>
+<div class="fragment"><pre>02744 {
+02745 <span class="keywordtype">float</span> p;
+02746
+02747 <span class="keywordtype">float</span> ps2 = ps * ps;
+02748 <span class="keywordtype">float</span> ps1 = 1.0f - ps;
+02749 <span class="keywordtype">float</span> ps12 = ps1 * ps1;
+02750 <span class="keywordtype">float</span> s0 = ps12 * ps1;
+02751 <span class="keywordtype">float</span> s1 = 3.0f * ps * ps12;
+02752 <span class="keywordtype">float</span> s2 = 3.0f * ps2 * ps1;
+02753 <span class="keywordtype">float</span> s3 = ps2 * ps;
+02754 <span class="keywordtype">float</span> pt2 = pt * pt;
+02755 <span class="keywordtype">float</span> pt1 = 1.0f - pt;
+02756 <span class="keywordtype">float</span> pt12 = pt1 * pt1;
+02757 <span class="keywordtype">float</span> t0 = pt12 * pt1;
+02758 <span class="keywordtype">float</span> t1 = 3.0f * pt * pt12;
+02759 <span class="keywordtype">float</span> t2 = 3.0f * pt2 * pt1;
+02760 <span class="keywordtype">float</span> t3 = pt2 * pt;
+02761
+02762 p = <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo2">Vertices</a>[0] * s0 * t0 +
+02763 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">Tangents</a>[7] * s1 * t0 +
+02764 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">Tangents</a>[6] * s2 * t0 +
+02765 Vertices[3] * s3 * t0;
+02766 p+= <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">Tangents</a>[0] * s0 * t1 +
+02767 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo0">Interiors</a>[0]* s1 * t1 +
+02768 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo0">Interiors</a>[3]* s2 * t1 +
+02769 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">Tangents</a>[5] * s3 * t1;
+02770 p+= <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">Tangents</a>[1] * s0 * t2 +
+02771 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo0">Interiors</a>[1]* s1 * t2 +
+02772 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo0">Interiors</a>[2]* s2 * t2 +
+02773 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">Tangents</a>[4] * s3 * t2;
+02774 p+= Vertices[1] * s0 * t3 +
+02775 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">Tangents</a>[2] * s1 * t3 +
+02776 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">Tangents</a>[3] * s2 * t3 +
+02777 Vertices[2] * s3 * t3;
+02778
+02779 <span class="keywordflow">return</span> p;
+02780 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscape_1_1CBezierPatchZa1" doxytag="NL3D::CLandscape::CBezierPatchZ::makeInteriors" ></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::CLandscape::CBezierPatchZ::makeInteriors </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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+make default Interiors, according to Vertices and Tangents.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05862.html#l02731">2731</a> of file <a class="el" href="a05862.html">landscape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05862.html#l02784">NL3D::CLandscape::setHeightField()</a>.
+<p>
+<div class="fragment"><pre>02732 {
+02733 <span class="keywordtype">float</span> &amp;a = <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo2">Vertices</a>[0];
+02734 <span class="keywordtype">float</span> &amp;b = Vertices[1];
+02735 <span class="keywordtype">float</span> &amp;c = Vertices[2];
+02736 <span class="keywordtype">float</span> &amp;d = Vertices[3];
+02737 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo0">Interiors</a>[0] = <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">Tangents</a>[7] + Tangents[0] - a;
+02738 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo0">Interiors</a>[1] = Tangents[1] + Tangents[2] - b;
+02739 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo0">Interiors</a>[2] = Tangents[3] + Tangents[4] - c;
+02740 <a class="code" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo0">Interiors</a>[3] = Tangents[5] + Tangents[6] - d;
+02741 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CLandscape_1_1CBezierPatchZo0" doxytag="NL3D::CLandscape::CBezierPatchZ::Interiors" ></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"> float <a class="el" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo0">NL3D::CLandscape::CBezierPatchZ::Interiors</a>[4]
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The interiors, ia,ib,ic,id. NB: interiors are points, not vectors.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05863.html#l00831">831</a> of file <a class="el" href="a05863.html">landscape.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscape_1_1CBezierPatchZo1" doxytag="NL3D::CLandscape::CBezierPatchZ::Tangents" ></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"> float <a class="el" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo1">NL3D::CLandscape::CBezierPatchZ::Tangents</a>[8]
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The tangents ab, ba, bc, cb, cd, dc, da, ad. NB: tangents are points, not vectors.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05863.html#l00829">829</a> of file <a class="el" href="a05863.html">landscape.h</a>.
+<p>
+Referenced by <a class="el" href="a05862.html#l02784">NL3D::CLandscape::setHeightField()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscape_1_1CBezierPatchZo2" doxytag="NL3D::CLandscape::CBezierPatchZ::Vertices" ></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"> float <a class="el" href="a02703.html#NL3D_1_1CLandscape_1_1CBezierPatchZo2">NL3D::CLandscape::CBezierPatchZ::Vertices</a>[4]
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The vertices a,b,c,d of the quad patch.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05863.html#l00827">827</a> of file <a class="el" href="a05863.html">landscape.h</a>.
+<p>
+Referenced by <a class="el" href="a05862.html#l02784">NL3D::CLandscape::setHeightField()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this struct was generated from the following files:<ul>
+<li><a class="el" href="a05863.html">landscape.h</a><li><a class="el" href="a05862.html">landscape.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:48:37 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>