aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLMISC_1_1CPolygon2D.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_1CPolygon2D.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNLMISC_1_1CPolygon2D.html')
-rw-r--r--docs/doxygen/nel/classNLMISC_1_1CPolygon2D.html840
1 files changed, 840 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLMISC_1_1CPolygon2D.html b/docs/doxygen/nel/classNLMISC_1_1CPolygon2D.html
new file mode 100644
index 00000000..65cae9cc
--- /dev/null
+++ b/docs/doxygen/nel/classNLMISC_1_1CPolygon2D.html
@@ -0,0 +1,840 @@
+<!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::CPolygon2D Class Reference</h1>A 2d convex polygon.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="polygon_8h-source.html">polygon.h</a>&gt;</code>
+<p>
+<a href="classNLMISC_1_1CPolygon2D-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="classNLMISC_1_1CVector2f.html">CVector2f</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPolygon2D.html#s0">TVec2fVect</a></td></tr>
+<tr><td nowrap align=right valign=top>typedef std::pair&lt; <a class="el" href="memory__common_8h.html#a14">sint</a>, <a class="el" href="memory__common_8h.html#a14">sint</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPolygon2D.html#s1">TRaster</a></td></tr>
+<tr><td nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="classNLMISC_1_1CPolygon2D.html#s1">TRaster</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPolygon2D.html#s2">TRasterVect</a></td></tr>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPolygon2D.html#a0">CPolygon2D</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>default ctor.</em> <a href="#a0">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_1CPolygon2D.html#a1">CPolygon2D</a> (const <a class="el" href="classNLMISC_1_1CPolygon.html">CPolygon</a> &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, const <a class="el" href="classNLMISC_1_1CMatrix.html">CMatrix</a> &amp;projMat=<a class="el" href="classNLMISC_1_1CMatrix.html#p0">CMatrix::Identity</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Build a 2D polygon from this 3D polygon, by using the given projection matrix The x and y components of projected vertices are used to create the 2D polygon.</em> <a href="#a1">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_1CPolygon2D.html#a2">CPolygon2D</a> (const <a class="el" href="classNLMISC_1_1CTriangle.html">CTriangle</a> &amp;tri, const <a class="el" href="classNLMISC_1_1CMatrix.html">CMatrix</a> &amp;projMat=<a class="el" href="classNLMISC_1_1CMatrix.html#p0">CMatrix::Identity</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Build a 2D polygon from the given triangle, by using the given projection matrix The x and y components of projected vertices are used to create the 2D polygon.</em> <a href="#a2">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_1CPolygon2D.html#a3">isConvex</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Check wether this polygon is convex;.</em> <a href="#a3">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_1CPolygon2D.html#a4">buildConvexHull</a> (CPolygon2D &amp;dest) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Build a convex hull from this polygon.</em> <a href="#a4">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_1CPolygon2D.html#a5">getBestTriplet</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> &amp;index0, <a class="el" href="memory__common_8h.html#a15">uint</a> &amp;index1, <a class="el" href="memory__common_8h.html#a15">uint</a> &amp;index2)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the best triplet of vector. e.g the triplet that has the best surface.</em> <a href="#a5">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_1CPolygon2D.html#a6">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Serial this polygon.</em> <a href="#a6">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_1CPolygon2D.html#a7">computeBorders</a> (<a class="el" href="classNLMISC_1_1CPolygon2D.html#s2">TRasterVect</a> &amp;borders, <a class="el" href="memory__common_8h.html#a14">sint</a> &amp;minimumY)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Compute the borders of this poly with sub-pixel accuracy.</em> <a href="#a7">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_1CPolygon2D.html#a8">intersect</a> (const CPolygon2D &amp;other) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Test wether this polygon intersect another convex polygon. Currently not optimized.</em> <a href="#a8">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_1CPolygon2D.html#a9">contains</a> (const <a class="el" href="classNLMISC_1_1CVector2f.html">CVector2f</a> &amp;p) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Check wether a point is contained by this poly.</em> <a href="#a9">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_1CPolygon2D.html#a10">getNonNullSeg</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> &amp;seg) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the index of a segment of this poly that is a non null segment.</em> <a href="#a10">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_1CPolygon2D.html#a11">getLineEquation</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>, float &amp;a, float &amp;b, float &amp;c) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get a line equation of the seg starting at the given index.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CPolygon2D.html#s0">TVec2fVect</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPolygon2D.html#m0">Vertices</a></td></tr>
+<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPolygon2D.html#c0">sumDPAgainstLine</a> (float a, float b, float c) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sum the dot product of this poly vertices against a plane.</em> <a href="#c0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="classNLMISC_1_1CVector2f.html">CVector2f</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPolygon2D.html#c1">getSegRef0</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get ref to the first vertex that start at index.</em> <a href="#c1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="classNLMISC_1_1CVector2f.html">CVector2f</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CPolygon2D.html#c2">getSegRef1</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>) const</td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A 2d convex polygon.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8h-source.html#l00126">126</a> of file <a class="el" href="polygon_8h-source.html">polygon.h</a>.<hr><h2>Member Typedef Documentation</h2>
+<a name="s1" doxytag="NLMISC::CPolygon2D::TRaster"></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"> typedef std::pair&lt;<a class="el" href="memory__common_8h.html#a14">sint</a>, <a class="el" href="memory__common_8h.html#a14">sint</a>&gt; NLMISC::CPolygon2D::TRaster
+ </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="polygon_8h-source.html#l00160">160</a> of file <a class="el" href="polygon_8h-source.html">polygon.h</a>. </td>
+ </tr>
+</table>
+<a name="s2" doxytag="NLMISC::CPolygon2D::TRasterVect"></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"> typedef std::vector&lt;<a class="el" href="classNLMISC_1_1CPolygon2D.html#s1">TRaster</a>&gt; NLMISC::CPolygon2D::TRasterVect
+ </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="polygon_8h-source.html#l00161">161</a> of file <a class="el" href="polygon_8h-source.html">polygon.h</a>.
+<p>
+Referenced by <a class="el" href="water__model_8cpp-source.html#l00364">NL3D::CWaterRenderObs::traverse</a>. </td>
+ </tr>
+</table>
+<a name="s0" doxytag="NLMISC::CPolygon2D::TVec2fVect"></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"> typedef std::vector&lt;<a class="el" href="classNLMISC_1_1CVector2f.html">CVector2f</a>&gt; NLMISC::CPolygon2D::TVec2fVect
+ </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="polygon_8h-source.html#l00129">129</a> of file <a class="el" href="polygon_8h-source.html">polygon.h</a>.
+<p>
+Referenced by <a class="el" href="polygon_8cpp-source.html#l01075">computeBorders</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NLMISC::CPolygon2D::CPolygon2D"></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::CPolygon2D::CPolygon2D </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>
+default ctor.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8h-source.html#l00133">133</a> of file <a class="el" href="polygon_8h-source.html">polygon.h</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NLMISC::CPolygon2D::CPolygon2D"></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::CPolygon2D::CPolygon2D </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CPolygon.html">CPolygon</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CMatrix.html">CMatrix</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>projMat</em> = <a class="el" href="classNLMISC_1_1CMatrix.html#p0">CMatrix::Identity</a></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>
+Build a 2D polygon from this 3D polygon, by using the given projection matrix The x and y components of projected vertices are used to create the 2D polygon.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l00785">785</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, and <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NLMISC::CPolygon2D::CPolygon2D"></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::CPolygon2D::CPolygon2D </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CTriangle.html">CTriangle</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>tri</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CMatrix.html">CMatrix</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>projMat</em> = <a class="el" href="classNLMISC_1_1CMatrix.html#p0">CMatrix::Identity</a></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>
+Build a 2D polygon from the given triangle, by using the given projection matrix The x and y components of projected vertices are used to create the 2D polygon.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l01363">1363</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a4" doxytag="NLMISC::CPolygon2D::buildConvexHull"></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::CPolygon2D::buildConvexHull </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CPolygon2D &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>dest</em> </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>
+Build a convex hull from this polygon.
+<p>
+The result poly is ordered, so it can also be used to order a convex poly given its set of vertices. NB: require this != &amp;dest
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l00836">836</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="opcode__register_8cpp-source.html#l00036">NLAISCRIPT::l</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NLMISC::CPolygon2D::computeBorders"></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::CPolygon2D::computeBorders </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CPolygon2D.html#s2">TRasterVect</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>borders</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>minimumY</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>
+Compute the borders of this poly with sub-pixel accuracy.
+<p>
+No clipping is performed. Only points exactly inside or exactly on the left border of the polygon are kept. The output is in a vector of sint pairs. minimumY is filled with the minimum y value of the poly. Each pairs gives [xmin, xmax] for the current segment. if xmin &gt; xmax, then no point is valid for this segment. Otherwise, all points from x = xmin (included) to x = xmax (included) are valids.
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l01075">1075</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="polygon_8cpp-source.html#l01057">NLMISC::Next</a>, <a class="el" href="polygon_8cpp-source.html#l01067">NLMISC::Prev</a>, <a class="el" href="polygon_8cpp-source.html#l01003">NLMISC::ScanEdge</a>, <a class="el" href="polygon_8h-source.html#l00129">TVec2fVect</a>, and <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>.
+<p>
+Referenced by <a class="el" href="water__model_8cpp-source.html#l00364">NL3D::CWaterRenderObs::traverse</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NLMISC::CPolygon2D::contains"></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::CPolygon2D::contains </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector2f.html">CVector2f</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</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Check wether a point is contained by this poly.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l01331">1331</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="polygon_8cpp-source.html#l01279">getLineEquation</a>, <a class="el" href="polygon_8cpp-source.html#l01245">getNonNullSeg</a>, <a class="el" href="polygon_8h-source.html#l00190">getSegRef0</a>, <a class="el" href="polygon_8h-source.html#l00194">getSegRef1</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NLMISC::CPolygon2D::getBestTriplet"></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::CPolygon2D::getBestTriplet </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>index0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>index1</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>index2</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>
+get the best triplet of vector. e.g the triplet that has the best surface.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l00967">967</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="a11" doxytag="NLMISC::CPolygon2D::getLineEquation"></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::CPolygon2D::getLineEquation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>index</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>a</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>b</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c</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>
+Get a line equation of the seg starting at the given index.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l01279">1279</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="polygon_8h-source.html#l00190">getSegRef0</a>, <a class="el" href="polygon_8h-source.html#l00194">getSegRef1</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>, <a class="el" href="vector__2f_8h-source.html#l00052">NLMISC::CVector2f::x</a>, and <a class="el" href="vector__2f_8h-source.html#l00052">NLMISC::CVector2f::y</a>.
+<p>
+Referenced by <a class="el" href="polygon_8cpp-source.html#l01331">contains</a>, and <a class="el" href="polygon_8cpp-source.html#l01292">intersect</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NLMISC::CPolygon2D::getNonNullSeg"></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::CPolygon2D::getNonNullSeg </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>seg</em> </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 index of a segment of this poly that is a non null segment.
+<p>
+<dl compact><dt><b>
+Returns: </b><dd>
+true if such a segment was found </dl>
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l01245">1245</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>.
+<p>
+Referenced by <a class="el" href="polygon_8cpp-source.html#l01331">contains</a>, and <a class="el" href="polygon_8cpp-source.html#l01292">intersect</a>. </td>
+ </tr>
+</table>
+<a name="c1" doxytag="NLMISC::CPolygon2D::getSegRef0"></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"> const <a class="el" href="classNLMISC_1_1CVector2f.html">CVector2f</a>&amp; NLMISC::CPolygon2D::getSegRef0 </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>index</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get ref to the first vertex that start at index.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8h-source.html#l00190">190</a> of file <a class="el" href="polygon_8h-source.html">polygon.h</a>.
+<p>
+References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>.
+<p>
+Referenced by <a class="el" href="polygon_8cpp-source.html#l01331">contains</a>, <a class="el" href="polygon_8cpp-source.html#l01279">getLineEquation</a>, and <a class="el" href="polygon_8cpp-source.html#l01292">intersect</a>. </td>
+ </tr>
+</table>
+<a name="c2" doxytag="NLMISC::CPolygon2D::getSegRef1"></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"> const <a class="el" href="classNLMISC_1_1CVector2f.html">CVector2f</a>&amp; NLMISC::CPolygon2D::getSegRef1 </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>index</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, private]</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="polygon_8h-source.html#l00194">194</a> of file <a class="el" href="polygon_8h-source.html">polygon.h</a>.
+<p>
+References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>.
+<p>
+Referenced by <a class="el" href="polygon_8cpp-source.html#l01331">contains</a>, <a class="el" href="polygon_8cpp-source.html#l01279">getLineEquation</a>, and <a class="el" href="polygon_8cpp-source.html#l01292">intersect</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NLMISC::CPolygon2D::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"> bool NLMISC::CPolygon2D::intersect </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CPolygon2D &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>other</em> </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>
+Test wether this polygon intersect another convex polygon. Currently not optimized.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l01292">1292</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="polygon_8cpp-source.html#l01279">getLineEquation</a>, <a class="el" href="polygon_8cpp-source.html#l01245">getNonNullSeg</a>, <a class="el" href="polygon_8h-source.html#l00190">getSegRef0</a>, <a class="el" href="polygon_8h-source.html#l00194">getSegRef1</a>, <a class="el" href="opcode__register_8cpp-source.html#l00036">NLAISCRIPT::l</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="polygon_8cpp-source.html#l01232">sumDPAgainstLine</a>, and <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>.
+<p>
+Referenced by <a class="el" href="zone__lighter_8cpp-source.html#l03205">NL3D::CZoneLighter::computeTileFlagsForPositionTowardWater</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NLMISC::CPolygon2D::isConvex"></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::CPolygon2D::isConvex </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>
+Check wether this polygon is convex;.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l00798">798</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+References <a class="el" href="polygon_8h-source.html#l00130">Vertices</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NLMISC::CPolygon2D::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::CPolygon2D::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::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> throw (<a class="el" href="structNLMISC_1_1EStream.html">NLMISC::EStream</a>)</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Serial this polygon.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l00959">959</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>. </td>
+ </tr>
+</table>
+<a name="c0" doxytag="NLMISC::CPolygon2D::sumDPAgainstLine"></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::CPolygon2D::sumDPAgainstLine </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 class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sum the dot product of this poly vertices against a plane.
+<p>
+
+<p>
+Definition at line <a class="el" href="polygon_8cpp-source.html#l01232">1232</a> of file <a class="el" href="polygon_8cpp-source.html">polygon.cpp</a>.
+<p>
+Referenced by <a class="el" href="polygon_8cpp-source.html#l01292">intersect</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="m0" doxytag="NLMISC::CPolygon2D::Vertices"></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_1CPolygon2D.html#s0">TVec2fVect</a> NLMISC::CPolygon2D::Vertices
+ </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="polygon_8h-source.html#l00130">130</a> of file <a class="el" href="polygon_8h-source.html">polygon.h</a>.
+<p>
+Referenced by <a class="el" href="polygon_8cpp-source.html#l00836">buildConvexHull</a>, <a class="el" href="water__shape_8cpp-source.html#l00396">NL3D::CWaterShape::computeBBox</a>, <a class="el" href="polygon_8cpp-source.html#l01075">computeBorders</a>, <a class="el" href="zone__lighter_8cpp-source.html#l03205">NL3D::CZoneLighter::computeTileFlagsForPositionTowardWater</a>, <a class="el" href="polygon_8cpp-source.html#l01331">contains</a>, <a class="el" href="polygon_8cpp-source.html#l00785">CPolygon2D</a>, <a class="el" href="polygon_8cpp-source.html#l01279">getLineEquation</a>, <a class="el" href="polygon_8cpp-source.html#l01245">getNonNullSeg</a>, <a class="el" href="polygon_8h-source.html#l00190">getSegRef0</a>, <a class="el" href="polygon_8h-source.html#l00194">getSegRef1</a>, <a class="el" href="water__shape_8cpp-source.html#l00595">NL3D::CWaterShape::getShapeInWorldSpace</a>, <a class="el" href="polygon_8cpp-source.html#l01292">intersect</a>, <a class="el" href="polygon_8cpp-source.html#l00798">isConvex</a>, <a class="el" href="water__shape_8cpp-source.html#l00387">NL3D::CWaterShape::setShape</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="polygon_8h-source.html">polygon.h</a><li><a class="el" href="polygon_8cpp-source.html">polygon.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>