aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03266.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a03266.html')
-rw-r--r--docs/doxygen/nel/a03266.html1162
1 files changed, 1162 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03266.html b/docs/doxygen/nel/a03266.html
new file mode 100644
index 00000000..71761cb1
--- /dev/null
+++ b/docs/doxygen/nel/a03266.html
@@ -0,0 +1,1162 @@
+<!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: NLPACS::CQuadBranch 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>NLPACS::CQuadBranch Class Reference</h1><code>#include &lt;<a class="el" href="a06478.html">surface_quad.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLPACS::CQuadBranch:
+<p><center><img src="a03266.png" usemap="#NLPACS::CQuadBranch_map" border="0" alt=""></center>
+<map name="NLPACS::CQuadBranch_map">
+<area href="a03267.html" alt="NLPACS::IQuadNode" shape="rect" coords="0,0,149,24">
+</map>
+<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom>{ <a class="el" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw3">NoChild</a> = 0,
+<a class="el" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw2">LeafChild</a>,
+<a class="el" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw1">BranchChild</a>
+ }</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="a03266.html#NLPACS_1_1CQuadBrancha0">addVertex</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;<a class="el" href="a04223.html#a576">v</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBrancha1">check</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBrancha2">CQuadBranch</a> (<a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a04223.html#a630">level</a>=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBrancha3">CQuadBranch</a> (const <a class="el" href="a03266.html">CQuadBranch</a> &amp;branch)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02156.html">NLMISC::CAABBox</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodea2">getBBox</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03267.html">IQuadNode</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBrancha5">getChild</a> (<a class="el" href="a04558.html#a15">uint</a> child) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodea4">getLevel</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodea5">getMaxHeight</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodea6">getMinHeight</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBrancha9">isLeaf</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03266.html">CQuadBranch</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBrancha10">operator=</a> (const <a class="el" href="a03266.html">CQuadBranch</a> &amp;branch)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBrancha11">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBrancha12">setChild</a> (<a class="el" href="a04558.html#a15">uint</a> child, <a class="el" href="a03267.html">IQuadNode</a> *node)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBrancha13">translate</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;translation)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBrancha14">~CQuadBranch</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Protected 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="a03266.html#NLPACS_1_1CQuadBranchb0">reduceChildren</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03267.html">IQuadNode</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a> [4]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodep0">_HalfSize</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodep1">_Level</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodep2">_MaxHeight</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodep3">_MaxThickness</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodep4">_MinHeight</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodep5">_XCenter</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNodep6">_YCenter</a></td></tr>
+
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNoden0">CQuadBranch</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03267.html#NLPACS_1_1IQuadNoden1">CQuadLeaf</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03266.html#NLPACS_1_1CQuadBranchn2">CSurfaceQuadTree</a></td></tr>
+
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NLPACS_1_1CQuadBranchw0" doxytag="NLPACS::CQuadBranch::@57" ></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"> anonymous enum
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<dl compact><dt><b>Enumeration values: </b></dt><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw3" doxytag="NoChild" ></a>NoChild</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw2" doxytag="LeafChild" ></a>LeafChild</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw1" doxytag="BranchChild" ></a>BranchChild</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06478.html#l00108">108</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+<div class="fragment"><pre>00109 {
+00110 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw3">NoChild</a> = 0,
+00111 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw2">LeafChild</a>,
+00112 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw1">BranchChild</a>
+00113 };
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha3" doxytag="NLPACS::CQuadBranch::CQuadBranch" ></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"> NLPACS::CQuadBranch::CQuadBranch </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03266.html">CQuadBranch</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>branch</em> </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>
+
+<p>
+Definition at line <a class="el" href="a06477.html#l00142">142</a> of file <a class="el" href="a06477.html">surface_quad.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00197">addVertex()</a>, <a class="el" href="a06477.html#l00147">operator=()</a>, and <a class="el" href="a06477.html#l00246">serial()</a>.
+<p>
+<div class="fragment"><pre>00142 : <a class="code" href="a03267.html">NLPACS::IQuadNode</a>(branch)
+00143 {
+00144 *<span class="keyword">this</span> = branch;
+00145 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha2" doxytag="NLPACS::CQuadBranch::CQuadBranch" ></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"> NLPACS::CQuadBranch::CQuadBranch </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>level</em> = 0 </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="a06478.html#l00125">125</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+References <a class="el" href="a06478.html#l00116">_Children</a>, <a class="el" href="a05646.html#l01013">level</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00125 : <a class="code" href="a03267.html#NLPACS_1_1IQuadNodeb0">IQuadNode</a>(level) { <a class="code" href="a04558.html#a15">uint</a> i; <span class="keywordflow">for</span> (i=0; i&lt;4; ++i) <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i] = NULL; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha14" doxytag="NLPACS::CQuadBranch::~CQuadBranch" ></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"> NLPACS::CQuadBranch::~<a class="el" href="a03266.html">CQuadBranch</a> </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>
+
+<p>
+Definition at line <a class="el" href="a06478.html#l00126">126</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+References <a class="el" href="a06478.html#l00116">_Children</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00126 { <a class="code" href="a04558.html#a15">uint</a> i; <span class="keywordflow">for</span> (i=0; i&lt;4; ++i) <span class="keyword">delete</span> <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i]; }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha0" doxytag="NLPACS::CQuadBranch::addVertex" ></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 NLPACS::CQuadBranch::addVertex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a03267.html#NLPACS_1_1IQuadNodea0">NLPACS::IQuadNode</a>.
+<p>
+Definition at line <a class="el" href="a06477.html#l00197">197</a> of file <a class="el" href="a06477.html">surface_quad.cpp</a>.
+<p>
+References <a class="el" href="a06478.html#l00116">_Children</a>, <a class="el" href="a06478.html#l00048">NLPACS::IQuadNode::_HalfSize</a>, <a class="el" href="a06478.html#l00044">NLPACS::IQuadNode::_MaxHeight</a>, <a class="el" href="a06478.html#l00046">NLPACS::IQuadNode::_MaxThickness</a>, <a class="el" href="a06478.html#l00044">NLPACS::IQuadNode::_MinHeight</a>, <a class="el" href="a06478.html#l00048">NLPACS::IQuadNode::_XCenter</a>, <a class="el" href="a06478.html#l00048">NLPACS::IQuadNode::_YCenter</a>, <a class="el" href="a06478.html#l00057">NLPACS::IQuadNode::addVertex()</a>, <a class="el" href="a06477.html#l00142">CQuadBranch()</a>, <a class="el" href="a06478.html#l00042">NLPACS::IQuadNode::CQuadLeaf</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05646.html#l00237">v</a>.
+<p>
+<div class="fragment"><pre>00198 {
+00199 IQuadNode::addVertex(v);
+00200 <a class="code" href="a04558.html#a15">uint</a> child;
+00201 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a576">v</a>.x &gt; <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep5">_XCenter</a>)
+00202 child = (<a class="code" href="a04223.html#a576">v</a>.y &gt; <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep6">_YCenter</a>) ? 2 : 1;
+00203 <span class="keywordflow">else</span>
+00204 child = (<a class="code" href="a04223.html#a576">v</a>.y &gt; <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep6">_YCenter</a>) ? 3 : 0;
+00205
+00206 <span class="keywordflow">if</span> (<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] == NULL)
+00207 {
+00208 <span class="keywordflow">if</span> (<a class="code" href="a03267.html#NLPACS_1_1IQuadNodep1">_Level</a> == 2)
+00209 {
+00210 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] = <span class="keyword">new</span> <a class="code" href="a03267.html#NLPACS_1_1IQuadNoden1">CQuadLeaf</a>(_Level-1);
+00211 }
+00212 <span class="keywordflow">else</span>
+00213 {
+00214 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] = <span class="keyword">new</span> <a class="code" href="a03266.html#NLPACS_1_1CQuadBrancha3">CQuadBranch</a>(_Level-1);
+00215 }
+00216
+00217 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;_MaxThickness = <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep3">_MaxThickness</a>;
+00218 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;_HalfSize = <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep0">_HalfSize</a>/2.0f;
+00219 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;_MinHeight = FLT_MAX;
+00220 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;_MaxHeight = -FLT_MAX;
+00221 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;_XCenter = <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep5">_XCenter</a>+<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;_HalfSize*((child == 1 || child == 2) ? 1.0f : -1.0f);
+00222 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;_YCenter = <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep6">_YCenter</a>+<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;_HalfSize*((child == 2 || child == 3) ? 1.0f : -1.0f);
+00223 }
+00224
+00225 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;addVertex(v);
+00226 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha1" doxytag="NLPACS::CQuadBranch::check" ></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"> bool NLPACS::CQuadBranch::check </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> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a03267.html#NLPACS_1_1IQuadNodea1">NLPACS::IQuadNode</a>.
+<p>
+Definition at line <a class="el" href="a06477.html#l00228">228</a> of file <a class="el" href="a06477.html">surface_quad.cpp</a>.
+<p>
+References <a class="el" href="a06478.html#l00116">_Children</a>, <a class="el" href="a06478.html#l00078">NLPACS::IQuadNode::check()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00229 {
+00230 <span class="keywordflow">if</span> (!IQuadNode::check())
+00231 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00232
+00233 <a class="code" href="a04558.html#a15">uint</a> child;
+00234 <span class="keywordflow">for</span> (child=0; child&lt;4; ++child)
+00235 <span class="keywordflow">if</span> (<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] != NULL &amp;&amp; !<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;check())
+00236 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00237 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00238 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodea2" doxytag="NLPACS::CQuadBranch::getBBox" ></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"> virtual <a class="el" href="a02156.html">NLMISC::CAABBox</a> NLPACS::IQuadNode::getBBox </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> const<code> [inline, virtual, inherited]</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="a06478.html#l00062">62</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+References <a class="el" href="a06478.html#l00048">NLPACS::IQuadNode::_HalfSize</a>, <a class="el" href="a06478.html#l00048">NLPACS::IQuadNode::_XCenter</a>, <a class="el" href="a06478.html#l00048">NLPACS::IQuadNode::_YCenter</a>, <a class="el" href="a05385.html#l00066">NLMISC::CAABBox::setCenter()</a>, and <a class="el" href="a05385.html#l00067">NLMISC::CAABBox::setHalfSize()</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00384">NLPACS::CSurfaceQuadTree::getInterpZ()</a>, and <a class="el" href="a06477.html#l00304">NLPACS::CSurfaceQuadTree::getLeaf()</a>.
+<p>
+<div class="fragment"><pre>00063 {
+00064 <a class="code" href="a02156.html">NLMISC::CAABBox</a> bbox;
+00065 bbox.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1902_1">setCenter</a>(<a class="code" href="a03128.html">NLMISC::CVector</a>(_XCenter, _YCenter, 0.0f));
+00066 bbox.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1902_2">setHalfSize</a>(<a class="code" href="a03128.html">NLMISC::CVector</a>(_HalfSize, _HalfSize, 10000.0f));
+00067 <span class="keywordflow">return</span> bbox;
+00068 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha5" doxytag="NLPACS::CQuadBranch::getChild" ></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"> const <a class="el" href="a03267.html">IQuadNode</a>* NLPACS::CQuadBranch::getChild </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>child</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a03267.html#NLPACS_1_1IQuadNodea3">NLPACS::IQuadNode</a>.
+<p>
+Definition at line <a class="el" href="a06478.html#l00129">129</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+References <a class="el" href="a06478.html#l00116">_Children</a>, <a class="el" href="a05622.html#l00154">nlerror</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00130 {
+00131 <span class="keywordflow">if</span> (child &gt; 3) <a class="code" href="a04199.html#a3">nlerror</a>(<span class="stringliteral">"Can't access child %d on the branch"</span>, child);
+00132 <span class="keywordflow">return</span> <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child];
+00133 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodea4" doxytag="NLPACS::CQuadBranch::getLevel" ></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"> virtual <a class="el" href="a04558.html#a7">uint8</a> NLPACS::IQuadNode::getLevel </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> const<code> [inline, virtual, inherited]</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="a06478.html#l00055">55</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00055 { <span class="keywordflow">return</span> <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep1">_Level</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodea5" doxytag="NLPACS::CQuadBranch::getMaxHeight" ></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"> virtual float NLPACS::IQuadNode::getMaxHeight </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> const<code> [inline, virtual, inherited]</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="a06478.html#l00054">54</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+References <a class="el" href="a06478.html#l00044">NLPACS::IQuadNode::_MaxHeight</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00123">NLPACS::CSurfaceQuadTree::compile()</a>, <a class="el" href="a05929.html#l01479">NLPACS::CLocalRetriever::getHeight()</a>, and <a class="el" href="a06477.html#l00174">reduceChildren()</a>.
+<p>
+<div class="fragment"><pre>00054 { <span class="keywordflow">return</span> <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep2">_MaxHeight</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodea6" doxytag="NLPACS::CQuadBranch::getMinHeight" ></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"> virtual float NLPACS::IQuadNode::getMinHeight </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> const<code> [inline, virtual, inherited]</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="a06478.html#l00053">53</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+References <a class="el" href="a06478.html#l00044">NLPACS::IQuadNode::_MinHeight</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00123">NLPACS::CSurfaceQuadTree::compile()</a>, <a class="el" href="a05929.html#l01479">NLPACS::CLocalRetriever::getHeight()</a>, and <a class="el" href="a06477.html#l00174">reduceChildren()</a>.
+<p>
+<div class="fragment"><pre>00053 { <span class="keywordflow">return</span> <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep4">_MinHeight</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha9" doxytag="NLPACS::CQuadBranch::isLeaf" ></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"> bool NLPACS::CQuadBranch::isLeaf </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> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a03267.html#NLPACS_1_1IQuadNodea7">NLPACS::IQuadNode</a>.
+<p>
+Definition at line <a class="el" href="a06478.html#l00128">128</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+<div class="fragment"><pre>00128 { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha10" doxytag="NLPACS::CQuadBranch::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="a03266.html">NLPACS::CQuadBranch</a> &amp; NLPACS::CQuadBranch::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03266.html">CQuadBranch</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>branch</em> </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>
+
+<p>
+Definition at line <a class="el" href="a06477.html#l00147">147</a> of file <a class="el" href="a06477.html">surface_quad.cpp</a>.
+<p>
+References <a class="el" href="a06478.html#l00116">_Children</a>, <a class="el" href="a06477.html#l00142">CQuadBranch()</a>, <a class="el" href="a06478.html#l00042">NLPACS::IQuadNode::CQuadLeaf</a>, <a class="el" href="a03267.html#NLPACS_1_1IQuadNodea7">NLPACS::IQuadNode::isLeaf()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00148 {
+00149 IQuadNode::operator=(branch);
+00150
+00151 <a class="code" href="a04558.html#a15">uint</a> child;
+00152 <span class="keywordflow">for</span> (child=0; child&lt;4; ++child)
+00153 {
+00154 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] = NULL;
+00155 <span class="keywordflow">if</span> (branch._Children[child] != NULL)
+00156 {
+00157 <span class="keywordflow">if</span> (branch._Children[child]-&gt;isLeaf())
+00158 {
+00159 <a class="code" href="a03267.html#NLPACS_1_1IQuadNoden1">CQuadLeaf</a> *newLeaf = <span class="keyword">new</span> <a class="code" href="a03267.html#NLPACS_1_1IQuadNoden1">CQuadLeaf</a>();
+00160 *newLeaf = *((CQuadLeaf *)(branch._Children[child]));
+00161 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] = newLeaf;
+00162 }
+00163 <span class="keywordflow">else</span>
+00164 {
+00165 <a class="code" href="a03266.html#NLPACS_1_1CQuadBrancha3">CQuadBranch</a> *newBranch = <span class="keyword">new</span> <a class="code" href="a03266.html#NLPACS_1_1CQuadBrancha3">CQuadBranch</a>();
+00166 *newBranch = *((CQuadBranch *)(branch._Children[child]));
+00167 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] = newBranch;
+00168 }
+00169 }
+00170 }
+00171 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00172 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBranchb0" doxytag="NLPACS::CQuadBranch::reduceChildren" ></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 NLPACS::CQuadBranch::reduceChildren </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> [protected]</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="a06477.html#l00174">174</a> of file <a class="el" href="a06477.html">surface_quad.cpp</a>.
+<p>
+References <a class="el" href="a06478.html#l00116">_Children</a>, <a class="el" href="a06478.html#l00042">NLPACS::IQuadNode::CQuadLeaf</a>, <a class="el" href="a06478.html#l00054">NLPACS::IQuadNode::getMaxHeight()</a>, <a class="el" href="a06478.html#l00053">NLPACS::IQuadNode::getMinHeight()</a>, <a class="el" href="a03267.html#NLPACS_1_1IQuadNodea7">NLPACS::IQuadNode::isLeaf()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00175 {
+00176 <a class="code" href="a04558.html#a15">uint</a> i;
+00177
+00178 <span class="keywordflow">for</span> (i=0; i&lt;4; ++i)
+00179 {
+00180 <span class="keywordflow">if</span> (<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i] != NULL &amp;&amp;
+00181 !<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i]-&gt;isLeaf() &amp;&amp;
+00182 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i]-&gt;getMaxHeight()-<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i]-&gt;getMinHeight() &lt;= <a class="code" href="a03267.html#NLPACS_1_1IQuadNodep3">_MaxThickness</a>)
+00183 {
+00184 <a class="code" href="a03267.html#NLPACS_1_1IQuadNoden1">CQuadLeaf</a> *leaf = <span class="keyword">new</span> <a class="code" href="a03267.html#NLPACS_1_1IQuadNoden1">CQuadLeaf</a>();
+00185 *((<a class="code" href="a03267.html#NLPACS_1_1IQuadNodeb0">IQuadNode</a> *)leaf) = *<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i];
+00186 <span class="keyword">delete</span> <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i];
+00187 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i] = leaf;
+00188 }
+00189 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i] != NULL &amp;&amp;
+00190 !<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i]-&gt;isLeaf())
+00191 {
+00192 ((<a class="code" href="a03266.html#NLPACS_1_1CQuadBrancha3">CQuadBranch</a> *)<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i])-&gt;reduceChildren();
+00193 }
+00194 }
+00195 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha11" doxytag="NLPACS::CQuadBranch::serial" ></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 NLPACS::CQuadBranch::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a03267.html#NLPACS_1_1IQuadNodea8">NLPACS::IQuadNode</a>.
+<p>
+Definition at line <a class="el" href="a06477.html#l00246">246</a> of file <a class="el" href="a06477.html">surface_quad.cpp</a>.
+<p>
+References <a class="el" href="a06478.html#l00116">_Children</a>, <a class="el" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw1">BranchChild</a>, <a class="el" href="a06477.html#l00142">CQuadBranch()</a>, <a class="el" href="a06478.html#l00042">NLPACS::IQuadNode::CQuadLeaf</a>, <a class="el" href="a03267.html#NLPACS_1_1IQuadNodea7">NLPACS::IQuadNode::isLeaf()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw2">LeafChild</a>, <a class="el" href="a05622.html#l00154">nlerror</a>, <a class="el" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw3">NoChild</a>, <a class="el" href="a06478.html#l00101">NLPACS::CQuadLeaf::serial()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00329">NLPACS::CSurfaceQuadTree::serial()</a>.
+<p>
+<div class="fragment"><pre>00247 {
+00248 IQuadNode::serial(f);
+00249
+00250 <a class="code" href="a04558.html#a15">uint</a> child;
+00251 <span class="keywordflow">for</span> (child=0; child&lt;4; ++child)
+00252 {
+00253 <a class="code" href="a04558.html#a7">uint8</a> childType = 0;
+00254
+00255 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+00256 {
+00257 <a class="code" href="a03267.html#NLPACS_1_1IQuadNoden1">CQuadLeaf</a> *leaf;
+00258 <a class="code" href="a03266.html#NLPACS_1_1CQuadBrancha3">CQuadBranch</a> *branch;
+00259 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(childType);
+00260 <span class="keywordflow">switch</span> (childType)
+00261 {
+00262 <span class="keywordflow">case</span> <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw3">NoChild</a>:
+00263 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] = NULL;
+00264 <span class="keywordflow">break</span>;
+00265 <span class="keywordflow">case</span> <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw2">LeafChild</a>:
+00266 leaf = <span class="keyword">new</span> <a class="code" href="a03267.html#NLPACS_1_1IQuadNoden1">CQuadLeaf</a>();
+00267 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] = leaf;
+00268 leaf-&gt;serial(f);
+00269 <span class="keywordflow">break</span>;
+00270 <span class="keywordflow">case</span> <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw1">BranchChild</a>:
+00271 branch = <span class="keyword">new</span> <a class="code" href="a03266.html#NLPACS_1_1CQuadBrancha3">CQuadBranch</a>();;
+00272 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] = branch;
+00273 branch-&gt;serial(f);
+00274 <span class="keywordflow">break</span>;
+00275 <span class="keywordflow">default</span>:
+00276 <a class="code" href="a04199.html#a3">nlerror</a>(<span class="stringliteral">"While serializing (read) CQuadBranch: unknown child type"</span>);
+00277 <span class="keywordflow">break</span>;
+00278 }
+00279 }
+00280 <span class="keywordflow">else</span>
+00281 {
+00282 <span class="keywordflow">if</span> (<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] == NULL)
+00283 {
+00284 childType = <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw3">NoChild</a>;
+00285 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(childType);
+00286 }
+00287 <span class="keywordflow">else</span>
+00288 {
+00289 childType = (<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child]-&gt;isLeaf()) ? <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw2">LeafChild</a> : <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchw0NLPACS_1_1CQuadBranchw1">BranchChild</a>;
+00290 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(childType);
+00291 _Children[child]-&gt;serial(f);
+00292 }
+00293 }
+00294 }
+00295 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha12" doxytag="NLPACS::CQuadBranch::setChild" ></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 NLPACS::CQuadBranch::setChild </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>child</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03267.html">IQuadNode</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>node</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="a06478.html#l00134">134</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+References <a class="el" href="a06478.html#l00116">_Children</a>, <a class="el" href="a05622.html#l00154">nlerror</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00135 {
+00136 <span class="keywordflow">if</span> (child &gt; 3) <a class="code" href="a04199.html#a3">nlerror</a>(<span class="stringliteral">"Can't set child %d on the branch"</span>, child);
+00137 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[child] = node;
+00138 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBrancha13" doxytag="NLPACS::CQuadBranch::translate" ></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 NLPACS::CQuadBranch::translate </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>translation</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a03267.html#NLPACS_1_1IQuadNodea9">NLPACS::IQuadNode</a>.
+<p>
+Definition at line <a class="el" href="a06478.html#l00142">142</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+References <a class="el" href="a06478.html#l00116">_Children</a>, <a class="el" href="a06478.html#l00070">NLPACS::IQuadNode::translate()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00143 {
+00144 IQuadNode::translate(translation);
+00145 <a class="code" href="a04558.html#a15">uint</a> i;
+00146 <span class="keywordflow">for</span> (i=0; i&lt;4; ++i)
+00147 <span class="keywordflow">if</span> (<a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i] != NULL)
+00148 <a class="code" href="a03266.html#NLPACS_1_1CQuadBranchp0">_Children</a>[i]-&gt;translate(translation);
+00149 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="NLPACS_1_1IQuadNoden0" doxytag="NLPACS::CQuadBranch::CQuadBranch" ></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"> friend class <a class="el" href="a03266.html">CQuadBranch</a><code> [friend, 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="a06478.html#l00043">43</a> of file <a class="el" href="a06478.html">surface_quad.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNoden1" doxytag="NLPACS::CQuadBranch::CQuadLeaf" ></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"> friend class <a class="el" href="a03288.html">CQuadLeaf</a><code> [friend, 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="a06478.html#l00042">42</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00197">addVertex()</a>, <a class="el" href="a06477.html#l00147">operator=()</a>, <a class="el" href="a06477.html#l00174">reduceChildren()</a>, and <a class="el" href="a06477.html#l00246">serial()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1CQuadBranchn2" doxytag="NLPACS::CQuadBranch::CSurfaceQuadTree" ></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"> friend class <a class="el" href="a03466.html">CSurfaceQuadTree</a><code> [friend]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a03267.html#NLPACS_1_1IQuadNoden2">NLPACS::IQuadNode</a>.
+<p>
+Definition at line <a class="el" href="a06478.html#l00119">119</a> of file <a class="el" href="a06478.html">surface_quad.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLPACS_1_1CQuadBranchp0" doxytag="NLPACS::CQuadBranch::_Children" ></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="a03267.html">IQuadNode</a>* <a class="el" href="a03266.html#NLPACS_1_1CQuadBranchp0">NLPACS::CQuadBranch::_Children</a>[4]<code> [protected]</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="a06478.html#l00116">116</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00197">addVertex()</a>, <a class="el" href="a06477.html#l00228">check()</a>, <a class="el" href="a06478.html#l00125">CQuadBranch()</a>, <a class="el" href="a06478.html#l00129">getChild()</a>, <a class="el" href="a06477.html#l00147">operator=()</a>, <a class="el" href="a06477.html#l00174">reduceChildren()</a>, <a class="el" href="a06477.html#l00246">serial()</a>, <a class="el" href="a06478.html#l00134">setChild()</a>, <a class="el" href="a06478.html#l00142">translate()</a>, and <a class="el" href="a06478.html#l00126">~CQuadBranch()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodep0" doxytag="NLPACS::CQuadBranch::_HalfSize" ></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="a03267.html#NLPACS_1_1IQuadNodep0">NLPACS::IQuadNode::_HalfSize</a><code> [protected, 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="a06478.html#l00048">48</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00197">addVertex()</a>, <a class="el" href="a06477.html#l00096">NLPACS::CSurfaceQuadTree::addVertex()</a>, <a class="el" href="a06478.html#l00062">NLPACS::IQuadNode::getBBox()</a>, and <a class="el" href="a06478.html#l00080">NLPACS::IQuadNode::serial()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodep1" doxytag="NLPACS::CQuadBranch::_Level" ></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="a04558.html#a7">uint8</a> <a class="el" href="a03267.html#NLPACS_1_1IQuadNodep1">NLPACS::IQuadNode::_Level</a><code> [protected, 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="a06478.html#l00047">47</a> of file <a class="el" href="a06478.html">surface_quad.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodep2" doxytag="NLPACS::CQuadBranch::_MaxHeight" ></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="a03267.html#NLPACS_1_1IQuadNodep2">NLPACS::IQuadNode::_MaxHeight</a><code> [protected, 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="a06478.html#l00044">44</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+Referenced by <a class="el" href="a06478.html#l00057">NLPACS::IQuadNode::addVertex()</a>, <a class="el" href="a06477.html#l00197">addVertex()</a>, <a class="el" href="a06477.html#l00096">NLPACS::CSurfaceQuadTree::addVertex()</a>, <a class="el" href="a06478.html#l00078">NLPACS::IQuadNode::check()</a>, <a class="el" href="a06478.html#l00054">NLPACS::IQuadNode::getMaxHeight()</a>, <a class="el" href="a06478.html#l00080">NLPACS::IQuadNode::serial()</a>, and <a class="el" href="a06478.html#l00070">NLPACS::IQuadNode::translate()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodep3" doxytag="NLPACS::CQuadBranch::_MaxThickness" ></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="a03267.html#NLPACS_1_1IQuadNodep3">NLPACS::IQuadNode::_MaxThickness</a><code> [protected, 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="a06478.html#l00046">46</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00197">addVertex()</a>, <a class="el" href="a06477.html#l00096">NLPACS::CSurfaceQuadTree::addVertex()</a>, and <a class="el" href="a06478.html#l00080">NLPACS::IQuadNode::serial()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodep4" doxytag="NLPACS::CQuadBranch::_MinHeight" ></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="a03267.html#NLPACS_1_1IQuadNodep4">NLPACS::IQuadNode::_MinHeight</a><code> [protected, 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="a06478.html#l00044">44</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+Referenced by <a class="el" href="a06478.html#l00057">NLPACS::IQuadNode::addVertex()</a>, <a class="el" href="a06477.html#l00197">addVertex()</a>, <a class="el" href="a06477.html#l00096">NLPACS::CSurfaceQuadTree::addVertex()</a>, <a class="el" href="a06478.html#l00078">NLPACS::IQuadNode::check()</a>, <a class="el" href="a06478.html#l00053">NLPACS::IQuadNode::getMinHeight()</a>, <a class="el" href="a06478.html#l00080">NLPACS::IQuadNode::serial()</a>, and <a class="el" href="a06478.html#l00070">NLPACS::IQuadNode::translate()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodep5" doxytag="NLPACS::CQuadBranch::_XCenter" ></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="a03267.html#NLPACS_1_1IQuadNodep5">NLPACS::IQuadNode::_XCenter</a><code> [protected, 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="a06478.html#l00048">48</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00197">addVertex()</a>, <a class="el" href="a06477.html#l00096">NLPACS::CSurfaceQuadTree::addVertex()</a>, <a class="el" href="a06478.html#l00062">NLPACS::IQuadNode::getBBox()</a>, <a class="el" href="a06477.html#l00384">NLPACS::CSurfaceQuadTree::getInterpZ()</a>, <a class="el" href="a06477.html#l00304">NLPACS::CSurfaceQuadTree::getLeaf()</a>, <a class="el" href="a06478.html#l00080">NLPACS::IQuadNode::serial()</a>, and <a class="el" href="a06478.html#l00070">NLPACS::IQuadNode::translate()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLPACS_1_1IQuadNodep6" doxytag="NLPACS::CQuadBranch::_YCenter" ></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="a03267.html#NLPACS_1_1IQuadNodep6">NLPACS::IQuadNode::_YCenter</a><code> [protected, 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="a06478.html#l00048">48</a> of file <a class="el" href="a06478.html">surface_quad.h</a>.
+<p>
+Referenced by <a class="el" href="a06477.html#l00197">addVertex()</a>, <a class="el" href="a06477.html#l00096">NLPACS::CSurfaceQuadTree::addVertex()</a>, <a class="el" href="a06478.html#l00062">NLPACS::IQuadNode::getBBox()</a>, <a class="el" href="a06477.html#l00384">NLPACS::CSurfaceQuadTree::getInterpZ()</a>, <a class="el" href="a06477.html#l00304">NLPACS::CSurfaceQuadTree::getLeaf()</a>, <a class="el" href="a06478.html#l00080">NLPACS::IQuadNode::serial()</a>, and <a class="el" href="a06478.html#l00070">NLPACS::IQuadNode::translate()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06478.html">surface_quad.h</a><li><a class="el" href="a06477.html">surface_quad.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:21:16 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>