aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLMISC_1_1CPlane.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/classNLMISC_1_1CPlane.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/classNLMISC_1_1CPlane.html1052
1 files changed, 1052 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLMISC_1_1CPlane.html b/docs/doxygen/nel/classNLMISC_1_1CPlane.html
new file mode 100644
index 00000000..fed6b79b
--- /dev/null
+++ b/docs/doxygen/nel/classNLMISC_1_1CPlane.html
@@ -0,0 +1,1052 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NLMISC::CPlane Class Reference</h1>Class <a class="el" href="classNLMISC_1_1CPlane.html">CPlane</a>.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="plane_8h-source.html">plane.h</a>&gt;</code>
+<p>
+<a href="classNLMISC_1_1CPlane-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Object.</div></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z304_0">CPlane</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor that does nothing.</em> <a href="#z304_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z304_1">CPlane</a> (float _a, float _b, float _c, float _d)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor .</em> <a href="#z304_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z304_2">CPlane</a> (const CPlane &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a368">v</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Copy Constructor.</em> <a href="#z304_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Construction/Get.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z305_0">make</a> (const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;normal, const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;pos)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Make a plane with a normal and a vertex.</em> <a href="#z305_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z305_1">make</a> (const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p0, const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p1, const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p2)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Make a plane with 3 vertices.</em> <a href="#z305_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">CVector</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z305_2">getNormal</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the normal vector of the plane.</em> <a href="#z305_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z305_3">normalize</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Normalize the plane, such that <a class="el" href="classNLMISC_1_1CPlane.html#z305_2">getNormal</a>() return a normalized vector.</em> <a href="#z305_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CPlane&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z305_4">normed</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return the normalized version of a plane.</em> <a href="#z305_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Projection / clipping.</div></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z306_0">distance</a> (const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the distance of p from the plane.</em> <a href="#z306_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z306_1">operator *</a> (const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return plane*vector.</em> <a href="#z306_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">CVector</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z306_2">intersect</a> (const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p0, const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p1) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Intersect a line onto a plane. p1 is returned if line // to plane.</em> <a href="#z306_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">CVector</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z306_3">project</a> (const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p0) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Project a point onto a plane.</em> <a href="#z306_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z306_4">clipSegmentBack</a> (<a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p0, <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p1) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Clip a segment onto a plane.</em> <a href="#z306_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z306_5">clipSegmentFront</a> (<a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p0, <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;p1) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Clip a segment onto a plane.</em> <a href="#z306_5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z306_6">clipPolygonBack</a> (<a class="el" href="classNLMISC_1_1CVector.html">CVector</a> <a class="el" href="driver__opengl__extension__def_8h.html#a404">in</a>[], <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> out[], <a class="el" href="memory__common_8h.html#a14">sint</a> nIn) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Clip a polygon by a plane.</em> <a href="#z306_6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z306_7">clipPolygonFront</a> (<a class="el" href="classNLMISC_1_1CVector.html">CVector</a> <a class="el" href="driver__opengl__extension__def_8h.html#a404">in</a>[], <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> out[], <a class="el" href="memory__common_8h.html#a14">sint</a> nIn) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Clip a polygon by a plane.</em> <a href="#z306_7">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">normal inversion</div></td></tr>
+<tr><td nowrap align=right valign=top>CPlane&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z307_0">inverted</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the inverted version of this plane (same position, but inverted normal).</em> <a href="#z307_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z307_1">invert</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>invert this plane (same position, but inverted normal).</em> <a href="#z307_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Misc</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#z308_0">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">IStream</a> &amp;f)</td></tr>
+<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#m0">a</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#m1">b</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#m2">c</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPlane.html#m3">d</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Class <a class="el" href="classNLMISC_1_1CPlane.html">CPlane</a>.
+<p>
+a 3D Plane.
+<p>
+A vector v is said "front" of a plane p if p*v&gt;0.
+<p>
+A "front segment" or a "front polygon" have all their vertices in front of the plane. <dl compact><dt><b>
+Author: </b><dd>
+Lionel Berenguier , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2000 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="plane_8h-source.html#l00049">49</a> of file <a class="el" href="plane_8h-source.html">plane.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="z304_0" doxytag="NLMISC::CPlane::CPlane"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CPlane::CPlane </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+Constructor that does nothing.
+<p>
+
+<p>
+Definition at line <a class="el" href="plane_8h-source.html#l00059">59</a> of file <a class="el" href="plane_8h-source.html">plane.h</a>.
+<p>
+Referenced by <a class="el" href="plane_8h-source.html#l00063">CPlane</a>, <a class="el" href="plane__inline_8h-source.html#l00040">distance</a>, <a class="el" href="plane_8cpp-source.html#l00154">inverted</a>, and <a class="el" href="plane__inline_8h-source.html#l00081">normed</a>. </td>
+ </tr>
+</table>
+<a name="z304_1" doxytag="NLMISC::CPlane::CPlane"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CPlane::CPlane </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>_a</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>_b</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>_c</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>_d</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>
+Constructor .
+<p>
+
+<p>
+Definition at line <a class="el" href="plane_8h-source.html#l00061">61</a> of file <a class="el" href="plane_8h-source.html">plane.h</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00052">a</a>, <a class="el" href="plane_8h-source.html#l00052">b</a>, <a class="el" href="plane_8h-source.html#l00052">c</a>, and <a class="el" href="plane_8h-source.html#l00052">d</a>. </td>
+ </tr>
+</table>
+<a name="z304_2" doxytag="NLMISC::CPlane::CPlane"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CPlane::CPlane </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CPlane &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>v</em> </td>
+ <td class="md" valign="top">)&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>
+Copy Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="plane_8h-source.html#l00063">63</a> of file <a class="el" href="plane_8h-source.html">plane.h</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00052">a</a>, <a class="el" href="plane_8h-source.html#l00052">b</a>, <a class="el" href="plane_8h-source.html#l00052">c</a>, <a class="el" href="plane_8h-source.html#l00059">CPlane</a>, <a class="el" href="plane_8h-source.html#l00052">d</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="z306_6" doxytag="NLMISC::CPlane::clipPolygonBack"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NLMISC::CPlane::clipPolygonBack </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">CVector</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>in</em>[], </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLMISC_1_1CVector.html">CVector</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>out</em>[], </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nIn</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Clip a polygon by a plane.
+<p>
+The "back polygon" is returned. Nb: Out must be allocated to nIn+1 (at less). <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>in</em>&nbsp;</td><td>
+the input polygon </td></tr>
+<tr><td valign=top><em>out</em>&nbsp;</td><td>
+the clipped back polygon </td></tr>
+<tr><td valign=top><em>nIn</em>&nbsp;</td><td>
+number of vertices of input polygon </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+number of vertices of out. 0 is returned if In polygon entirely front, or if nIn&lt;=2. </dl>
+<p>
+Definition at line <a class="el" href="plane_8cpp-source.html#l00097">97</a> of file <a class="el" href="plane_8cpp-source.html">plane.cpp</a>.
+<p>
+References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00818">in</a>, <a class="el" href="plane__inline_8h-source.html#l00051">intersect</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>. </td>
+ </tr>
+</table>
+<a name="z306_7" doxytag="NLMISC::CPlane::clipPolygonFront"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NLMISC::CPlane::clipPolygonFront </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">CVector</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>in</em>[], </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLMISC_1_1CVector.html">CVector</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>out</em>[], </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nIn</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Clip a polygon by a plane.
+<p>
+The "front polygon" is returned. Nb: Out must be allocated to nIn+1 (at less). <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>in</em>&nbsp;</td><td>
+the input polygon </td></tr>
+<tr><td valign=top><em>out</em>&nbsp;</td><td>
+the clipped front polygon </td></tr>
+<tr><td valign=top><em>nIn</em>&nbsp;</td><td>
+number of vertices of input polygon </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+number of vertices of out. 0 is returned if In polygon entirely back, or if nIn&lt;=2. </dl>
+<p>
+Definition at line <a class="el" href="plane_8cpp-source.html#l00125">125</a> of file <a class="el" href="plane_8cpp-source.html">plane.cpp</a>.
+<p>
+References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00818">in</a>, <a class="el" href="plane__inline_8h-source.html#l00051">intersect</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>.
+<p>
+Referenced by <a class="el" href="cube__grid_8h-source.html#l00337">NL3D::CCubeGrid::project</a>. </td>
+ </tr>
+</table>
+<a name="z306_4" doxytag="NLMISC::CPlane::clipSegmentBack"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLMISC::CPlane::clipSegmentBack </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>p0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>p1</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Clip a segment onto a plane.
+<p>
+The "back segment" is written in (p1,p2). If segment is entirely "front", (p1,p2) is not modified. <dl compact><dt><b>
+Returns: </b><dd>
+false if segment entirely front, or true. </dl><dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNLMISC_1_1CPlane.html#z306_5">clipSegmentFront</a>() </dl>
+<p>
+Definition at line <a class="el" href="plane_8cpp-source.html#l00054">54</a> of file <a class="el" href="plane_8cpp-source.html">plane.cpp</a>. </td>
+ </tr>
+</table>
+<a name="z306_5" doxytag="NLMISC::CPlane::clipSegmentFront"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLMISC::CPlane::clipSegmentFront </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>p0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>p1</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Clip a segment onto a plane.
+<p>
+The "front segment" is written in (p1,p2). If segment is entirely "back", (p1,p2) is not modified. <dl compact><dt><b>
+Returns: </b><dd>
+false if segment entirely back, or true. </dl><dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNLMISC_1_1CPlane.html#z306_4">clipSegmentBack</a>() </dl>
+<p>
+Definition at line <a class="el" href="plane_8cpp-source.html#l00074">74</a> of file <a class="el" href="plane_8cpp-source.html">plane.cpp</a>. </td>
+ </tr>
+</table>
+<a name="z306_0" doxytag="NLMISC::CPlane::distance"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NLMISC::CPlane::distance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the distance of p from the plane.
+<p>
+Hence, the result is &gt;=0. Since the plane normal may not be normalized, <a class="el" href="classNLMISC_1_1CPlane.html#z306_0">distance</a>() compute the distance with the normalized normal of plane. If you are sure that your plane has a normalized normal, it is much faster to do a <code>fabs(p*v)</code>.
+<p>
+Definition at line <a class="el" href="plane__inline_8h-source.html#l00040">40</a> of file <a class="el" href="plane__inline_8h-source.html">plane_inline.h</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00059">CPlane</a>, <a class="el" href="plane__inline_8h-source.html#l00081">normed</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td>
+ </tr>
+</table>
+<a name="z305_2" doxytag="NLMISC::CPlane::getNormal"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> NLMISC::CPlane::getNormal </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the normal vector of the plane.
+<p>
+Since the normal of the plane may not be normalized (if setuped without <a class="el" href="classNLMISC_1_1CPlane.html#z305_0">make</a>()), the returned normal may NOT be normalized.
+<p>
+Definition at line <a class="el" href="plane__inline_8h-source.html#l00035">35</a> of file <a class="el" href="plane__inline_8h-source.html">plane_inline.h</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00052">a</a>, <a class="el" href="plane_8h-source.html#l00052">b</a>, and <a class="el" href="plane_8h-source.html#l00052">c</a>.
+<p>
+Referenced by <a class="el" href="plane__inline_8h-source.html#l00068">normalize</a>, <a class="el" href="ps__zone_8cpp-source.html#l01267">NL3D::CPSZoneRectangle::performMotion</a>, <a class="el" href="ps__zone_8cpp-source.html#l00527">NL3D::CPSZoneDisc::performMotion</a>, <a class="el" href="ps__zone_8cpp-source.html#l00211">NL3D::CPSZonePlane::performMotion</a>, and <a class="el" href="plane__inline_8h-source.html#l00062">project</a>. </td>
+ </tr>
+</table>
+<a name="z306_2" doxytag="NLMISC::CPlane::intersect"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> NLMISC::CPlane::intersect </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>p0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>p1</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>
+Intersect a line onto a plane. p1 is returned if line // to plane.
+<p>
+
+<p>
+Definition at line <a class="el" href="plane__inline_8h-source.html#l00051">51</a> of file <a class="el" href="plane__inline_8h-source.html">plane_inline.h</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00052">a</a>, and <a class="el" href="plane_8h-source.html#l00052">b</a>.
+<p>
+Referenced by <a class="el" href="plane_8cpp-source.html#l00097">clipPolygonBack</a>, <a class="el" href="plane_8cpp-source.html#l00125">clipPolygonFront</a>, <a class="el" href="plane__inline_8h-source.html#l00062">project</a>, <a class="el" href="cube__grid_8h-source.html#l00337">NL3D::CCubeGrid::project</a>, and <a class="el" href="cube__grid_8h-source.html#l00253">NL3D::CCubeGrid::select</a>. </td>
+ </tr>
+</table>
+<a name="z307_1" doxytag="NLMISC::CPlane::invert"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CPlane::invert </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+invert this plane (same position, but inverted normal).
+<p>
+
+<p>
+Definition at line <a class="el" href="plane_8cpp-source.html#l00160">160</a> of file <a class="el" href="plane_8cpp-source.html">plane.cpp</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00052">a</a>, <a class="el" href="plane_8h-source.html#l00052">b</a>, <a class="el" href="plane_8h-source.html#l00052">c</a>, and <a class="el" href="plane_8h-source.html#l00052">d</a>. </td>
+ </tr>
+</table>
+<a name="z307_0" doxytag="NLMISC::CPlane::inverted"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CPlane NLMISC::CPlane::inverted </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the inverted version of this plane (same position, but inverted normal).
+<p>
+
+<p>
+Definition at line <a class="el" href="plane_8cpp-source.html#l00154">154</a> of file <a class="el" href="plane_8cpp-source.html">plane.cpp</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00052">a</a>, <a class="el" href="plane_8h-source.html#l00052">b</a>, <a class="el" href="plane_8h-source.html#l00052">c</a>, <a class="el" href="plane_8h-source.html#l00059">CPlane</a>, and <a class="el" href="plane_8h-source.html#l00052">d</a>. </td>
+ </tr>
+</table>
+<a name="z305_1" doxytag="NLMISC::CPlane::make"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CPlane::make </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>p0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>p1</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>p2</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>
+Make a plane with 3 vertices.
+<p>
+NB: the plane normal is normalized by <a class="el" href="classNLMISC_1_1CPlane.html#z305_0">make</a>().
+<p>
+Definition at line <a class="el" href="plane_8cpp-source.html#l00044">44</a> of file <a class="el" href="plane_8cpp-source.html">plane.cpp</a>.
+<p>
+References <a class="el" href="plane_8cpp-source.html#l00036">make</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td>
+ </tr>
+</table>
+<a name="z305_0" doxytag="NLMISC::CPlane::make"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CPlane::make </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>normal</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos</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>
+Make a plane with a normal and a vertex.
+<p>
+NB: the plane normal is normalized by <a class="el" href="classNLMISC_1_1CPlane.html#z305_0">make</a>().
+<p>
+Definition at line <a class="el" href="plane_8cpp-source.html#l00036">36</a> of file <a class="el" href="plane_8cpp-source.html">plane.cpp</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00052">a</a>, <a class="el" href="plane_8h-source.html#l00052">b</a>, <a class="el" href="plane_8h-source.html#l00052">c</a>, <a class="el" href="plane_8h-source.html#l00052">d</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>.
+<p>
+Referenced by <a class="el" href="cube__grid_8h-source.html#l00172">NL3D::CCubeGrid::insert</a>, <a class="el" href="plane_8cpp-source.html#l00044">make</a>, <a class="el" href="heat__haze_8cpp-source.html#l00051">NL3D::CHeatHaze::performHeatHaze</a>, <a class="el" href="ps__zone_8cpp-source.html#l01267">NL3D::CPSZoneRectangle::performMotion</a>, <a class="el" href="ps__zone_8cpp-source.html#l00527">NL3D::CPSZoneDisc::performMotion</a>, <a class="el" href="ps__zone_8cpp-source.html#l00211">NL3D::CPSZonePlane::performMotion</a>, <a class="el" href="cube__grid_8h-source.html#l00253">NL3D::CCubeGrid::select</a>, <a class="el" href="quad__tree_8h-source.html#l00817">NL3D::CQuadTree::selectRay</a>, <a class="el" href="quad__tree_8h-source.html#l00848">NL3D::CQuadTree::selectSegment</a>, and <a class="el" href="water__model_8cpp-source.html#l00364">NL3D::CWaterRenderObs::traverse</a>. </td>
+ </tr>
+</table>
+<a name="z305_3" doxytag="NLMISC::CPlane::normalize"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CPlane::normalize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+Normalize the plane, such that <a class="el" href="classNLMISC_1_1CPlane.html#z305_2">getNormal</a>() return a normalized vector.
+<p>
+
+<p>
+Definition at line <a class="el" href="plane__inline_8h-source.html#l00068">68</a> of file <a class="el" href="plane__inline_8h-source.html">plane_inline.h</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00052">a</a>, <a class="el" href="plane_8h-source.html#l00052">b</a>, <a class="el" href="plane_8h-source.html#l00052">c</a>, <a class="el" href="plane_8h-source.html#l00052">d</a>, and <a class="el" href="plane__inline_8h-source.html#l00035">getNormal</a>. </td>
+ </tr>
+</table>
+<a name="z305_4" doxytag="NLMISC::CPlane::normed"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CPlane NLMISC::CPlane::normed </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the normalized version of a plane.
+<p>
+<dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNLMISC_1_1CPlane.html#z305_3">normalize</a>() </dl>
+<p>
+Definition at line <a class="el" href="plane__inline_8h-source.html#l00081">81</a> of file <a class="el" href="plane__inline_8h-source.html">plane_inline.h</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00059">CPlane</a>.
+<p>
+Referenced by <a class="el" href="plane__inline_8h-source.html#l00040">distance</a>. </td>
+ </tr>
+</table>
+<a name="z306_1" doxytag="NLMISC::CPlane::operator *"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NLMISC::CPlane::operator * </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return plane*vector.
+<p>
+
+<p>
+Definition at line <a class="el" href="plane__inline_8h-source.html#l00046">46</a> of file <a class="el" href="plane__inline_8h-source.html">plane_inline.h</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00052">a</a>, <a class="el" href="plane_8h-source.html#l00052">b</a>, <a class="el" href="plane_8h-source.html#l00052">c</a>, and <a class="el" href="plane_8h-source.html#l00052">d</a>. </td>
+ </tr>
+</table>
+<a name="z306_3" doxytag="NLMISC::CPlane::project"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> NLMISC::CPlane::project </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>p0</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Project a point onto a plane.
+<p>
+
+<p>
+Definition at line <a class="el" href="plane__inline_8h-source.html#l00062">62</a> of file <a class="el" href="plane__inline_8h-source.html">plane_inline.h</a>.
+<p>
+References <a class="el" href="plane__inline_8h-source.html#l00035">getNormal</a>, and <a class="el" href="plane__inline_8h-source.html#l00051">intersect</a>. </td>
+ </tr>
+</table>
+<a name="z308_0" doxytag="NLMISC::CPlane::serial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CPlane::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>f</em> </td>
+ <td class="md" valign="top">)&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="plane_8h-source.html#l00155">155</a> of file <a class="el" href="plane_8h-source.html">plane.h</a>.
+<p>
+References <a class="el" href="plane_8h-source.html#l00052">a</a>, <a class="el" href="plane_8h-source.html#l00052">b</a>, <a class="el" href="plane_8h-source.html#l00052">c</a>, and <a class="el" href="plane_8h-source.html#l00052">d</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="m0" doxytag="NLMISC::CPlane::a"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NLMISC::CPlane::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="plane_8h-source.html#l00052">52</a> of file <a class="el" href="plane_8h-source.html">plane.h</a>.
+<p>
+Referenced by <a class="el" href="plane_8h-source.html#l00061">CPlane</a>, <a class="el" href="plane__inline_8h-source.html#l00035">getNormal</a>, <a class="el" href="plane__inline_8h-source.html#l00051">intersect</a>, <a class="el" href="plane_8cpp-source.html#l00160">invert</a>, <a class="el" href="plane_8cpp-source.html#l00154">inverted</a>, <a class="el" href="plane_8cpp-source.html#l00036">make</a>, <a class="el" href="plane__inline_8h-source.html#l00068">normalize</a>, <a class="el" href="plane__inline_8h-source.html#l00046">operator *</a>, <a class="el" href="heat__haze_8cpp-source.html#l00051">NL3D::CHeatHaze::performHeatHaze</a>, and <a class="el" href="plane_8h-source.html#l00155">serial</a>. </td>
+ </tr>
+</table>
+<a name="m1" doxytag="NLMISC::CPlane::b"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NLMISC::CPlane::b
+ </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="plane_8h-source.html#l00052">52</a> of file <a class="el" href="plane_8h-source.html">plane.h</a>.
+<p>
+Referenced by <a class="el" href="plane_8h-source.html#l00061">CPlane</a>, <a class="el" href="plane__inline_8h-source.html#l00035">getNormal</a>, <a class="el" href="plane__inline_8h-source.html#l00051">intersect</a>, <a class="el" href="plane_8cpp-source.html#l00160">invert</a>, <a class="el" href="plane_8cpp-source.html#l00154">inverted</a>, <a class="el" href="plane_8cpp-source.html#l00036">make</a>, <a class="el" href="plane__inline_8h-source.html#l00068">normalize</a>, <a class="el" href="plane__inline_8h-source.html#l00046">operator *</a>, and <a class="el" href="plane_8h-source.html#l00155">serial</a>. </td>
+ </tr>
+</table>
+<a name="m2" doxytag="NLMISC::CPlane::c"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NLMISC::CPlane::c
+ </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="plane_8h-source.html#l00052">52</a> of file <a class="el" href="plane_8h-source.html">plane.h</a>.
+<p>
+Referenced by <a class="el" href="plane_8h-source.html#l00061">CPlane</a>, <a class="el" href="plane__inline_8h-source.html#l00035">getNormal</a>, <a class="el" href="plane_8cpp-source.html#l00160">invert</a>, <a class="el" href="plane_8cpp-source.html#l00154">inverted</a>, <a class="el" href="plane_8cpp-source.html#l00036">make</a>, <a class="el" href="plane__inline_8h-source.html#l00068">normalize</a>, <a class="el" href="plane__inline_8h-source.html#l00046">operator *</a>, <a class="el" href="heat__haze_8cpp-source.html#l00051">NL3D::CHeatHaze::performHeatHaze</a>, and <a class="el" href="plane_8h-source.html#l00155">serial</a>. </td>
+ </tr>
+</table>
+<a name="m3" doxytag="NLMISC::CPlane::d"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NLMISC::CPlane::d
+ </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="plane_8h-source.html#l00052">52</a> of file <a class="el" href="plane_8h-source.html">plane.h</a>.
+<p>
+Referenced by <a class="el" href="plane_8h-source.html#l00061">CPlane</a>, <a class="el" href="plane_8cpp-source.html#l00160">invert</a>, <a class="el" href="plane_8cpp-source.html#l00154">inverted</a>, <a class="el" href="plane_8cpp-source.html#l00036">make</a>, <a class="el" href="plane__inline_8h-source.html#l00068">normalize</a>, <a class="el" href="plane__inline_8h-source.html#l00046">operator *</a>, <a class="el" href="heat__haze_8cpp-source.html#l00051">NL3D::CHeatHaze::performHeatHaze</a>, <a class="el" href="plane_8h-source.html#l00155">serial</a>, and <a class="el" href="water__model_8cpp-source.html#l00364">NL3D::CWaterRenderObs::traverse</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="plane_8h-source.html">plane.h</a><li><a class="el" href="plane__inline_8h-source.html">plane_inline.h</a><li><a class="el" href="plane_8cpp-source.html">plane.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>