aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02293.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/a02293.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02293.html396
1 files changed, 396 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02293.html b/docs/doxygen/nel/a02293.html
new file mode 100644
index 00000000..0ebd27d7
--- /dev/null
+++ b/docs/doxygen/nel/a02293.html
@@ -0,0 +1,396 @@
+<!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: TemplateNL3D::CBSPTree&lt; T &gt; 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>NL3D::CBSPTree&lt; T &gt; Class Template Reference</h1><code>#include &lt;<a class="el" href="a05503.html">bsp_tree.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<h3>template&lt;class T&gt;<br>
+ class NL3D::CBSPTree&lt; T &gt;</h3>
+
+class: <a class="el" href="a02293.html">CBSPTree</a>.<p>
+A template <a class="el" href="a02293.html">CBSPTree</a>.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05503.html#l00051">51</a> of file <a class="el" href="a05503.html">bsp_tree.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02293.html#NL3D_1_1CBSPTreea0">CBSPTree</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor, use axes XZ. <a href="#NL3D_1_1CBSPTreea0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02293.html#NL3D_1_1CBSPTreea1">getNbNode</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>T&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02293.html#NL3D_1_1CBSPTreea2">getSelection</a> (<a class="el" href="a04558.html#a10">sint32</a> i)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02293.html#NL3D_1_1CBSPTreea3">insert</a> (<a class="el" href="a03616.html">NLMISC::CTriangle</a> &amp;tri, T &amp;<a class="el" href="a04223.html#a658">value</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02293.html#NL3D_1_1CBSPTreea4">select</a> (<a class="el" href="a03128.html">CVector</a> &amp;v1, <a class="el" href="a03128.html">CVector</a> &amp;v2)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02293.html#NL3D_1_1CBSPTreea5">~CBSPTree</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dtor. <a href="#NL3D_1_1CBSPTreea5"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02294.html">CBSPNode</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02294.html">CBSPNode</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02293.html#NL3D_1_1CBSPTreer1">_Selection</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CBSPTreea0" doxytag="NL3D::CBSPTree::CBSPTree" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02293.html">NL3D::CBSPTree</a>&lt; T &gt;::<a class="el" href="a02293.html">CBSPTree</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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default constructor, use axes XZ.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05503.html#l00253">253</a> of file <a class="el" href="a05503.html">bsp_tree.h</a>.
+<p>
+References <a class="el" href="a05503.html#l00072">NL3D::CBSPTree&lt; T &gt;::_Selection</a>.
+<p>
+<div class="fragment"><pre>00253 : <a class="code" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a>(NULL)
+00254 {
+00255 <a class="code" href="a02293.html#NL3D_1_1CBSPTreer1">_Selection</a>.reserve( 64 );
+00256 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CBSPTreea5" doxytag="NL3D::CBSPTree::~CBSPTree" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02293.html">NL3D::CBSPTree</a>&lt; T &gt;::~<a class="el" href="a02293.html">CBSPTree</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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+dtor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05503.html#l00258">258</a> of file <a class="el" href="a05503.html">bsp_tree.h</a>.
+<p>
+References <a class="el" href="a05503.html#l00243">NL3D::CBSPTree&lt; T &gt;::_Root</a>.
+<p>
+<div class="fragment"><pre>00259 {
+00260 <span class="keywordflow">if</span>( <a class="code" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a> != NULL )
+00261 <span class="keyword">delete</span> <a class="code" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a>;
+00262 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CBSPTreea1" doxytag="NL3D::CBSPTree::getNbNode" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a02293.html">NL3D::CBSPTree</a>&lt; T &gt;::getNbNode </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>
+
+<p>
+Definition at line <a class="el" href="a05503.html#l00295">295</a> of file <a class="el" href="a05503.html">bsp_tree.h</a>.
+<p>
+References <a class="el" href="a05503.html#l00243">NL3D::CBSPTree&lt; T &gt;::_Root</a>, <a class="el" href="a05503.html#l00163">NL3D::CBSPTree&lt; T &gt;::CBSPNode::getNbNode()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00296 {
+00297 <span class="keywordflow">return</span> <a class="code" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a>-&gt;<a class="code" href="a02294.html#NL3D_1_1CBSPTree_1_1CBSPNodea1">getNbNode</a>();
+00298 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CBSPTreea2" doxytag="NL3D::CBSPTree::getSelection" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> T <a class="el" href="a02293.html">NL3D::CBSPTree</a>&lt; T &gt;::getSelection </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>i</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="a05503.html#l00290">290</a> of file <a class="el" href="a05503.html">bsp_tree.h</a>.
+<p>
+References <a class="el" href="a05503.html#l00072">NL3D::CBSPTree&lt; T &gt;::_Selection</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00291 {
+00292 <span class="keywordflow">return</span> <a class="code" href="a02293.html#NL3D_1_1CBSPTreer1">_Selection</a>[i]-&gt;Value;
+00293 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CBSPTreea3" doxytag="NL3D::CBSPTree::insert" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a02293.html">NL3D::CBSPTree</a>&lt; T &gt;::insert </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03616.html">NLMISC::CTriangle</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>tri</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>T &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>value</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="a05503.html#l00270">270</a> of file <a class="el" href="a05503.html">bsp_tree.h</a>.
+<p>
+References <a class="el" href="a05503.html#l00243">NL3D::CBSPTree&lt; T &gt;::_Root</a>, and <a class="el" href="a05503.html#l00101">NL3D::CBSPTree&lt; T &gt;::CBSPNode::insert()</a>.
+<p>
+<div class="fragment"><pre>00271 {
+00272 <span class="keywordflow">if</span>( <a class="code" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a> == NULL )
+00273 <a class="code" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a> = <span class="keyword">new</span> CBSPNode( tri, val );
+00274 <span class="keywordflow">else</span>
+00275 <a class="code" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a>-&gt;<a class="code" href="a02294.html#NL3D_1_1CBSPTree_1_1CBSPNodea2">insert</a>( tri, val );
+00276 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CBSPTreea4" doxytag="NL3D::CBSPTree::select" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a02293.html">NL3D::CBSPTree</a>&lt; T &gt;::select </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>v1</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>v2</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="a05503.html#l00278">278</a> of file <a class="el" href="a05503.html">bsp_tree.h</a>.
+<p>
+References <a class="el" href="a05503.html#l00243">NL3D::CBSPTree&lt; T &gt;::_Root</a>, <a class="el" href="a05503.html#l00072">NL3D::CBSPTree&lt; T &gt;::_Selection</a>, <a class="el" href="a05503.html#l00174">NL3D::CBSPTree&lt; T &gt;::CBSPNode::select()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00279 {
+00280 <a class="code" href="a02293.html#NL3D_1_1CBSPTreer1">_Selection</a>.clear();
+00281 <span class="keywordflow">if</span>( <a class="code" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a> != NULL )
+00282 {
+00283 <a class="code" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a>-&gt;<a class="code" href="a02294.html#NL3D_1_1CBSPTree_1_1CBSPNodea3">select</a>( _Selection, v1, v2 );
+00284 <span class="keywordflow">return</span> <a class="code" href="a02293.html#NL3D_1_1CBSPTreer1">_Selection</a>.size();
+00285 }
+00286 <span class="keywordflow">else</span>
+00287 <span class="keywordflow">return</span> 0;
+00288 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CBSPTreer0" doxytag="NL3D::CBSPTree::_Root" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02294.html">CBSPNode</a>* <a class="el" href="a02293.html">NL3D::CBSPTree</a>&lt; T &gt;::<a class="el" href="a02293.html#NL3D_1_1CBSPTreer0">_Root</a><code> [private]</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="a05503.html#l00243">243</a> of file <a class="el" href="a05503.html">bsp_tree.h</a>.
+<p>
+Referenced by <a class="el" href="a05503.html#l00295">NL3D::CBSPTree&lt; T &gt;::getNbNode()</a>, <a class="el" href="a05503.html#l00270">NL3D::CBSPTree&lt; T &gt;::insert()</a>, <a class="el" href="a05503.html#l00278">NL3D::CBSPTree&lt; T &gt;::select()</a>, and <a class="el" href="a05503.html#l00258">NL3D::CBSPTree&lt; T &gt;::~CBSPTree()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CBSPTreer1" doxytag="NL3D::CBSPTree::_Selection" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;<a class="el" href="a02294.html">CBSPNode</a>*&gt; <a class="el" href="a02293.html">NL3D::CBSPTree</a>&lt; T &gt;::<a class="el" href="a02293.html#NL3D_1_1CBSPTreer1">_Selection</a><code> [private]</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="a05503.html#l00072">72</a> of file <a class="el" href="a05503.html">bsp_tree.h</a>.
+<p>
+Referenced by <a class="el" href="a05503.html#l00253">NL3D::CBSPTree&lt; T &gt;::CBSPTree()</a>, <a class="el" href="a05503.html#l00290">NL3D::CBSPTree&lt; T &gt;::getSelection()</a>, and <a class="el" href="a05503.html#l00278">NL3D::CBSPTree&lt; T &gt;::select()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a05503.html">bsp_tree.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:44:41 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>