aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02292.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a02292.html')
-rw-r--r--docs/doxygen/nel/a02292.html599
1 files changed, 599 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02292.html b/docs/doxygen/nel/a02292.html
new file mode 100644
index 00000000..c833c8df
--- /dev/null
+++ b/docs/doxygen/nel/a02292.html
@@ -0,0 +1,599 @@
+<!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: NLMISC::CBSPNode2v 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>NLMISC::CBSPNode2v Class 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>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2va0">CBSPNode2v</a> (const <a class="el" href="a03082.html">CPlane</a> &amp;plane, <a class="el" href="a03128.html">CVector</a> p0, <a class="el" href="a03128.html">CVector</a> p1, <a class="el" href="a04558.html#a15">uint</a> v0, <a class="el" href="a04558.html#a15">uint</a> v1)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2va1">CBSPNode2v</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2va2">insert</a> (<a class="el" href="a02292.html">CBSPNode2v</a> *node)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2va3">intersect</a> (const <a class="el" href="a03128.html">CVector</a> &amp;p0, const <a class="el" href="a03128.html">CVector</a> &amp;p1, <a class="el" href="a04558.html#a15">uint</a> v0, <a class="el" href="a04558.html#a15">uint</a> v1) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2va4">~CBSPNode2v</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="a02292.html">CBSPNode2v</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02292.html">CBSPNode2v</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo2">P0</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo3">P1</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02292.html">CBSPNode2v</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo4">Parent</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03082.html">CPlane</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo5">Plane</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo6">V0</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo7">V1</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CBSPNode2va1" doxytag="NLMISC::CBSPNode2v::CBSPNode2v" ></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"> NLMISC::CBSPNode2v::CBSPNode2v </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="a06190.html#l00198">198</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06190.html#l00219">insert()</a>.
+<p>
+<div class="fragment"><pre>00199 {
+00200 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a> = NULL;
+00201 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a> = NULL;
+00202 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBSPNode2va0" doxytag="NLMISC::CBSPNode2v::CBSPNode2v" ></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"> NLMISC::CBSPNode2v::CBSPNode2v </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03082.html">CPlane</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>plane</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>p0</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>p1</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>v0</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>v1</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="a06190.html#l00203">203</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a06190.html#l00331">V0</a>, and <a class="el" href="a06190.html#l00332">V1</a>.
+<p>
+<div class="fragment"><pre>00203 : <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo5">Plane</a> (plane), <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo2">P0</a> (p0), <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo3">P1</a> (p1)
+00204 {
+00205 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a> = NULL;
+00206 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a> = NULL;
+00207 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo4">Parent</a> = NULL;
+00208 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo6">V0</a> = v0;
+00209 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo7">V1</a> = v1;
+00210 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBSPNode2va4" doxytag="NLMISC::CBSPNode2v::~CBSPNode2v" ></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"> NLMISC::CBSPNode2v::~<a class="el" href="a02292.html">CBSPNode2v</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="a06190.html#l00211">211</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+<div class="fragment"><pre>00212 {
+00213 <span class="keywordflow">if</span> (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a>)
+00214 <span class="keyword">delete</span> <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a>;
+00215 <span class="keywordflow">if</span> (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a>)
+00216 <span class="keyword">delete</span> <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a>;
+00217 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CBSPNode2va2" doxytag="NLMISC::CBSPNode2v::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" nowrap valign="top"> void NLMISC::CBSPNode2v::insert </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02292.html">CBSPNode2v</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>node</em> </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="a06190.html#l00219">219</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="a06190.html#l00198">CBSPNode2v()</a>, <a class="el" href="a06172.html#l00051">NLMISC::CPlane::intersect()</a>, <a class="el" href="a06190.html#l00329">P0</a>, <a class="el" href="a06190.html#l00330">P1</a>, <a class="el" href="a06190.html#l00327">Parent</a>, <a class="el" href="a06190.html#l00328">Plane</a>, <a class="el" href="a06190.html#l00331">V0</a>, and <a class="el" href="a06190.html#l00332">V1</a>.
+<p>
+Referenced by <a class="el" href="a06190.html#l00392">NLMISC::CPolygon::toConvexPolygonsLocalAndBSP()</a>.
+<p>
+<div class="fragment"><pre>00220 {
+00221 <span class="comment">// Front ?</span>
+00222 <span class="keywordtype">bool</span> p0Front = (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo5">Plane</a> * node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo2">P0</a>) &gt; 0;
+00223 <span class="keywordtype">bool</span> p1Front = (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo5">Plane</a> * node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo3">P1</a>) &gt; 0;
+00224 <span class="keywordflow">if</span> (p0Front &amp;&amp; p1Front)
+00225 {
+00226 <span class="comment">// Front child ?</span>
+00227 <span class="keywordflow">if</span> (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a>)
+00228 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a>-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2va2">insert</a> (node);
+00229 <span class="keywordflow">else</span>
+00230 {
+00231 <span class="comment">// Link left</span>
+00232 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a> = node;
+00233 node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo4">Parent</a> = <span class="keyword">this</span>;
+00234 }
+00235 }
+00236 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((!p0Front) &amp;&amp; (!p1Front))
+00237 {
+00238 <span class="comment">// Back child ?</span>
+00239 <span class="keywordflow">if</span> (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a>)
+00240 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a>-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2va2">insert</a> (node);
+00241 <span class="keywordflow">else</span>
+00242 {
+00243 <span class="comment">// Link left</span>
+00244 <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a> = node;
+00245 node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo4">Parent</a> = <span class="keyword">this</span>;
+00246 }
+00247 }
+00248 <span class="keywordflow">else</span>
+00249 {
+00250 <span class="comment">// Split vertex</span>
+00251 CVector newVertex = <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo5">Plane</a>.intersect (node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo2">P0</a>, node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo3">P1</a>);
+00252
+00253 <span class="comment">// New node</span>
+00254 <a class="code" href="a02292.html">CBSPNode2v</a> *newNode = <span class="keyword">new</span> <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2va1">CBSPNode2v</a> (node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo5">Plane</a>, node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo2">P0</a>, newVertex, node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo6">V0</a>, node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo7">V1</a>);
+00255
+00256 <span class="comment">// Old node</span>
+00257 node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo2">P0</a> = newVertex;
+00258
+00259 <span class="comment">// Insert child</span>
+00260 CBSPNode2v **p0Parent;
+00261 CBSPNode2v **p1Parent;
+00262
+00263 <span class="comment">// Get insertion pointer</span>
+00264 <span class="keywordflow">if</span> (p0Front)
+00265 {
+00266 p0Parent = &amp;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a>;
+00267 p1Parent = &amp;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a>;
+00268 }
+00269 <span class="keywordflow">else</span>
+00270 {
+00271 p0Parent = &amp;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a>;
+00272 p1Parent = &amp;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a>;
+00273 }
+00274
+00275 <span class="comment">// Insert children</span>
+00276 <span class="keywordflow">if</span> (*p0Parent)
+00277 {
+00278 (*p0Parent)-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2va2">insert</a> (newNode);
+00279 }
+00280 <span class="keywordflow">else</span>
+00281 {
+00282 *p0Parent = newNode;
+00283 newNode-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo4">Parent</a> = <span class="keyword">this</span>;
+00284 }
+00285
+00286 <span class="comment">// Insert children</span>
+00287 <span class="keywordflow">if</span> (*p1Parent)
+00288 {
+00289 (*p1Parent)-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2va2">insert</a> (node);
+00290 }
+00291 <span class="keywordflow">else</span>
+00292 {
+00293 *p1Parent = node;
+00294 node-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo4">Parent</a> = <span class="keyword">this</span>;
+00295 }
+00296 }
+00297 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBSPNode2va3" doxytag="NLMISC::CBSPNode2v::intersect" ></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 NLMISC::CBSPNode2v::intersect </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>p0</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>p1</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>v0</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>v1</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<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="a06190.html#l00299">299</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a06190.html#l00331">V0</a>, and <a class="el" href="a06190.html#l00332">V1</a>.
+<p>
+Referenced by <a class="el" href="a06190.html#l00624">NLMISC::CPolygon::chain()</a>, and <a class="el" href="a06190.html#l00375">NLMISC::CPolygon::toConvexPolygonsDiagonal()</a>.
+<p>
+<div class="fragment"><pre>00300 {
+00301 <span class="comment">// Front ?</span>
+00302 <span class="keywordtype">bool</span> p0Front = (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo5">Plane</a> * p0) &gt; 0;
+00303 <span class="keywordtype">bool</span> p1Front = (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo5">Plane</a> * p1) &gt; 0;
+00304
+00305 <span class="keywordflow">if</span> (p0Front != p1Front)
+00306 <span class="keywordflow">if</span> ( (v0 != <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo6">V0</a>) &amp;&amp; (v0 != <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo7">V1</a>) &amp;&amp; (v1 != <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo6">V0</a>) &amp;&amp; (v1 != <a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo7">V1</a>) )
+00307 <span class="keywordflow">if</span> (CPolygon::toConvexPolygonsEdgeIntersect ((CVector2f) P0, (CVector2f) P1, (CVector2f) p0, (CVector2f) p1))
+00308 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00309
+00310 <span class="keywordflow">if</span> (p0Front || p1Front)
+00311 {
+00312 <span class="keywordflow">if</span> (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a>)
+00313 <span class="keywordflow">if</span> (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo1">Front</a>-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2va3">intersect</a> (p0, p1, v0, v1))
+00314 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00315 }
+00316
+00317 <span class="keywordflow">if</span> ((!p0Front) || (!p1Front))
+00318 {
+00319 <span class="keywordflow">if</span> (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a>)
+00320 <span class="keywordflow">if</span> (<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2vo0">Back</a>-&gt;<a class="code" href="a02292.html#NLMISC_1_1CBSPNode2va3">intersect</a> (p0, p1, v0, v1))
+00321 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00322 }
+00323
+00324 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00325 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CBSPNode2vo0" doxytag="NLMISC::CBSPNode2v::Back" ></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="a02292.html">CBSPNode2v</a>* <a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo0">NLMISC::CBSPNode2v::Back</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06190.html#l00327">327</a> of file <a class="el" href="a06190.html">polygon.cpp</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBSPNode2vo1" doxytag="NLMISC::CBSPNode2v::Front" ></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="a02292.html">CBSPNode2v</a> * <a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo1">NLMISC::CBSPNode2v::Front</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06190.html#l00327">327</a> of file <a class="el" href="a06190.html">polygon.cpp</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBSPNode2vo2" doxytag="NLMISC::CBSPNode2v::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="a02292.html#NLMISC_1_1CBSPNode2vo2">NLMISC::CBSPNode2v::P0</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06190.html#l00329">329</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06190.html#l00219">insert()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBSPNode2vo3" doxytag="NLMISC::CBSPNode2v::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="a02292.html#NLMISC_1_1CBSPNode2vo3">NLMISC::CBSPNode2v::P1</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06190.html#l00330">330</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06190.html#l00219">insert()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBSPNode2vo4" doxytag="NLMISC::CBSPNode2v::Parent" ></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="a02292.html">CBSPNode2v</a> * <a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo4">NLMISC::CBSPNode2v::Parent</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06190.html#l00327">327</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06190.html#l00219">insert()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBSPNode2vo5" doxytag="NLMISC::CBSPNode2v::Plane" ></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="a03082.html">CPlane</a> <a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo5">NLMISC::CBSPNode2v::Plane</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06190.html#l00328">328</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06190.html#l00219">insert()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBSPNode2vo6" doxytag="NLMISC::CBSPNode2v::V0" ></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#a15">uint</a> <a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo6">NLMISC::CBSPNode2v::V0</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06190.html#l00331">331</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06190.html#l00203">CBSPNode2v()</a>, <a class="el" href="a06190.html#l00219">insert()</a>, and <a class="el" href="a06190.html#l00299">intersect()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBSPNode2vo7" doxytag="NLMISC::CBSPNode2v::V1" ></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#a15">uint</a> <a class="el" href="a02292.html#NLMISC_1_1CBSPNode2vo7">NLMISC::CBSPNode2v::V1</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06190.html#l00332">332</a> of file <a class="el" href="a06190.html">polygon.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06190.html#l00203">CBSPNode2v()</a>, <a class="el" href="a06190.html#l00219">insert()</a>, and <a class="el" href="a06190.html#l00299">intersect()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a06190.html">polygon.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:05:36 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>