<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DFNgen: computationalGeometry.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DFNgen
   &#160;<span id="projectnumber">2.0</span>
   </div>
   <div id="projectbrief">DFN Model Generator</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('computational_geometry_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">computationalGeometry.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="computational_geometry_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef _computationalGeometry_h_</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define _computationalGeometry_h_</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="structures_8h.html">structures.h</a>&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;fstream&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="keywordtype">void</span> <a class="code" href="computational_geometry_8h.html#ace23b489a120bc6d6407f7e08e1e009d">createBoundingBox</a>(<span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;newPoly);</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="keywordtype">void</span> <a class="code" href="computational_geometry_8h.html#a68c9aa4c8a1d635c5a662c94722bd19f">printBoundingBox</a>(<span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;newPoly);</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="computational_geometry_8h.html#a8f29f7390c5415ae171ee96d38ff858f">checkBoundingBox</a>(<span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;poly1, <span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;poly2);</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">struct </span><a class="code" href="struct_int_points.html">IntPoints</a> <a class="code" href="computational_geometry_8h.html#a415bf8d3cbc3ccbdf9c8f7bbff35bc96">findIntersections</a>(short &amp;flag, <span class="keyword">struct </span><a class="code" href="struct_poly.html">Poly</a> &amp;poly1, <span class="keyword">struct </span><a class="code" href="struct_poly.html">Poly</a> &amp;poly2);</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keywordtype">int</span> <a class="code" href="computational_geometry_8h.html#a7ada98067054623a6bcc19ab19403682">FRAM</a>(<span class="keyword">struct</span> <a class="code" href="struct_int_points.html">IntPoints</a> &amp;intPts,<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count, std::vector&lt;IntPoints&gt; &amp;intPtsList, <span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;newPoly, <span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;poly2, <span class="keyword">struct</span> <a class="code" href="struct_stats.html">Stats</a> &amp;pstats, std::vector&lt;TriplePtTempData&gt; &amp;tempData, std::vector&lt;Point&gt; &amp;triplePoints, std::vector&lt;IntPoints&gt; &amp;tempIntPts);</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keywordtype">int</span> <a class="code" href="computational_geometry_8h.html#aff243280740a51cada5c0dd94021fb66">intersectionChecking</a>(<span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;newPoly, std::vector&lt;Poly&gt; &amp;acceptedPoly, std::vector&lt;IntPoints&gt; &amp;intpts, <span class="keyword">struct</span> <a class="code" href="struct_stats.html">Stats</a> &amp;pstats, std::vector&lt;Point&gt; &amp;triplePoints);</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keywordtype">double</span> <a class="code" href="computational_geometry_8h.html#a5e3e0a14f3ad58c314ce2e6a29b03fa2">pointToLineSeg</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> *point,<span class="keyword">const</span> <span class="keywordtype">double</span> *line);</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keywordtype">double</span> <a class="code" href="computational_geometry_8h.html#a5e3e0a14f3ad58c314ce2e6a29b03fa2">pointToLineSeg</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a> &amp;point, <span class="keyword">const</span> <span class="keywordtype">double</span> *line);</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="computational_geometry_8h.html#a63cb49a89f3b90a72aea7b6a24548633">checkDistanceFromNodes</a>(<span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;poly, <a class="code" href="struct_int_points.html">IntPoints</a> &amp;intPts, <span class="keywordtype">double</span> minSize, <a class="code" href="struct_stats.html">Stats</a> &amp;pstats);</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="computational_geometry_8h.html#adf34efb0050985566dfb41f51967680f">checkCloseEdge</a>(<a class="code" href="struct_poly.html">Poly</a> &amp;poly1, <a class="code" href="struct_int_points.html">IntPoints</a> &amp;intPts, <span class="keywordtype">double</span> shrinkLimit, <a class="code" href="struct_stats.html">Stats</a> &amp;pstats);</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keywordtype">double</span> <a class="code" href="computational_geometry_8h.html#a5edbf5558b99624dfb90275aa07ba149">lineSegToLineSeg</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> *line1, <span class="keyword">const</span> <span class="keywordtype">double</span> *line2, <a class="code" href="struct_point.html">Point</a> &amp;pt);</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keywordtype">double</span> <a class="code" href="computational_geometry_8h.html#a545f45434dcbd126c6ff994b9ec2588b">lineSegToLineSegSep</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> *line1, <span class="keyword">const</span> <span class="keywordtype">double</span> *line2);</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<a class="code" href="struct_point.html">Point</a> <a class="code" href="computational_geometry_8h.html#a9eb32a7555c136fb7960f9f13db70004">lineIntersection3D</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> *p1, <span class="keywordtype">double</span> *v1, <span class="keyword">const</span> <span class="keywordtype">double</span> *p2, <span class="keywordtype">double</span> *v2);</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="computational_geometry_8h.html#ae7560d107886d705a36d1efaee8b8cc8">checkDistIntPtsEdge</a>(<span class="keyword">struct</span> PointList &amp;tmpPoints, <span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;newPoly, <span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;poly2);</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keywordtype">void</span> <a class="code" href="computational_geometry_8h.html#a0de7b2e0479ef51bf9a286b09f2b53e1">applyRotation2D</a>(<span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;newPoly, <span class="keywordtype">float</span> angle);</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keywordtype">void</span> <a class="code" href="computational_geometry_8h.html#a0d5da6b9c8dc5c9193e7ea07d2ba466e">applyRotation3D</a>(<span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;newPoly, <span class="keywordtype">double</span> *<a class="code" href="struct_poly.html#a4b92c8fd93db07ccb928298defab1651">normal</a>);</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keywordtype">void</span> <a class="code" href="computational_geometry_8h.html#a3098cccf29c7a47d2eae661b0f545224">translate</a>(<a class="code" href="struct_poly.html">Poly</a> &amp;newPoly, <span class="keywordtype">double</span> *<a class="code" href="struct_poly.html#ac93df10849f4916e195a899d2ba55485">translation</a>);</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keywordtype">int</span> <a class="code" href="computational_geometry_8h.html#a237899188f8ca6cf74a2da890cd13868">checkForTripleIntersections</a>(<a class="code" href="struct_int_points.html">IntPoints</a> &amp;intPts,<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count,std::vector&lt;IntPoints&gt; &amp;intPtsList, <a class="code" href="struct_poly.html">Poly</a> &amp;newPoly, <a class="code" href="struct_poly.html">Poly</a> &amp;poly2, std::vector&lt;TriplePtTempData&gt; &amp;tempData, std::vector&lt;Point&gt; &amp;triplePoints);</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">struct </span><a class="code" href="struct_int_points.html">IntPoints</a> <a class="code" href="computational_geometry_8h.html#a06628fbaa79aad7eec7a74c5341e77bd">polyAndIntersection_RotationToXY</a>(struct <a class="code" href="struct_int_points.html">IntPoints</a> &amp;intersection, <a class="code" href="struct_poly.html">Poly</a> &amp;newPoly, std::vector&lt;Point&gt; &amp;triplePoints, std::vector&lt;Point&gt; &amp;tempTripPts);</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keywordtype">double</span> *<a class="code" href="computational_geometry_8h.html#a8aaea6ef9d977f6d7d571d45ace1ad5d">rotationMatrix</a>(<span class="keywordtype">double</span> *normalA, <span class="keywordtype">double</span> *normalB);</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="computational_geometry_8h.html#a69f93a65c39c49d1b705fad32f790e98">shrinkIntersection</a>(<a class="code" href="struct_int_points.html">IntPoints</a> &amp;intPts, <span class="keywordtype">double</span> *edge, <span class="keywordtype">double</span> shrinkLimit, <span class="keywordtype">double</span> firstNodeMinDist, <span class="keywordtype">double</span> minDist);</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="computational_geometry_8h.html#ac1228db3b0fb85b1a5233b1fb78edd4a">checkDistToOldIntersections</a>(std::vector&lt;IntPoints&gt; &amp;intPtsList, <a class="code" href="struct_int_points.html">IntPoints</a> &amp;intPts, <a class="code" href="struct_poly.html">Poly</a> &amp;poly2, <span class="keywordtype">double</span> minDistance);</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="computational_geometry_8h.html#a4c94ffa2818f164dbda3f1cb6f0fb9a8">checkDistToNewIntersections</a>(std::vector&lt;IntPoints&gt; &amp;tempIntPts, <a class="code" href="struct_int_points.html">IntPoints</a> &amp;intpts,  std::vector&lt;TriplePtTempData&gt; &amp;tempTripPts, <span class="keywordtype">double</span> minDistance);</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="computational_geometry_8h.html#add63aa632ee4353bfb401e7a470c6153">PointOnLineSeg</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a> &amp;pt, <span class="keyword">const</span> <span class="keywordtype">double</span> *line);</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="computational_geometry_8h.html#add63aa632ee4353bfb401e7a470c6153">PointOnLineSeg</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> *pt, <span class="keyword">const</span> <span class="keywordtype">double</span> *line);      </div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="ttc" id="computational_geometry_8h_html_a06628fbaa79aad7eec7a74c5341e77bd"><div class="ttname"><a href="computational_geometry_8h.html#a06628fbaa79aad7eec7a74c5341e77bd">polyAndIntersection_RotationToXY</a></div><div class="ttdeci">struct IntPoints polyAndIntersection_RotationToXY(struct IntPoints &amp;intersection, Poly &amp;newPoly, std::vector&lt; Point &gt; &amp;triplePoints, std::vector&lt; Point &gt; &amp;tempTripPts)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00207">computationalGeometry.cpp:207</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a3098cccf29c7a47d2eae661b0f545224"><div class="ttname"><a href="computational_geometry_8h.html#a3098cccf29c7a47d2eae661b0f545224">translate</a></div><div class="ttdeci">void translate(Poly &amp;newPoly, double *translation)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00047">computationalGeometry.cpp:47</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a5edbf5558b99624dfb90275aa07ba149"><div class="ttname"><a href="computational_geometry_8h.html#a5edbf5558b99624dfb90275aa07ba149">lineSegToLineSeg</a></div><div class="ttdeci">double lineSegToLineSeg(const double *line1, const double *line2, Point &amp;pt)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l01338">computationalGeometry.cpp:1338</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a415bf8d3cbc3ccbdf9c8f7bbff35bc96"><div class="ttname"><a href="computational_geometry_8h.html#a415bf8d3cbc3ccbdf9c8f7bbff35bc96">findIntersections</a></div><div class="ttdeci">struct IntPoints findIntersections(short &amp;flag, struct Poly &amp;poly1, struct Poly &amp;poly2)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00399">computationalGeometry.cpp:399</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a4c94ffa2818f164dbda3f1cb6f0fb9a8"><div class="ttname"><a href="computational_geometry_8h.html#a4c94ffa2818f164dbda3f1cb6f0fb9a8">checkDistToNewIntersections</a></div><div class="ttdeci">bool checkDistToNewIntersections(std::vector&lt; IntPoints &gt; &amp;tempIntPts, IntPoints &amp;intpts, std::vector&lt; TriplePtTempData &gt; &amp;tempTripPts, double minDistance)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00712">computationalGeometry.cpp:712</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a68c9aa4c8a1d635c5a662c94722bd19f"><div class="ttname"><a href="computational_geometry_8h.html#a68c9aa4c8a1d635c5a662c94722bd19f">printBoundingBox</a></div><div class="ttdeci">void printBoundingBox(struct Poly &amp;newPoly)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00365">computationalGeometry.cpp:365</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a9eb32a7555c136fb7960f9f13db70004"><div class="ttname"><a href="computational_geometry_8h.html#a9eb32a7555c136fb7960f9f13db70004">lineIntersection3D</a></div><div class="ttdeci">Point lineIntersection3D(const double *p1, double *v1, const double *p2, double *v2)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l01302">computationalGeometry.cpp:1302</a></div></div>
<div class="ttc" id="struct_poly_html"><div class="ttname"><a href="struct_poly.html">Poly</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00012">structures.h:12</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a545f45434dcbd126c6ff994b9ec2588b"><div class="ttname"><a href="computational_geometry_8h.html#a545f45434dcbd126c6ff994b9ec2588b">lineSegToLineSegSep</a></div><div class="ttdeci">double lineSegToLineSegSep(const double *line1, const double *line2)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l01389">computationalGeometry.cpp:1389</a></div></div>
<div class="ttc" id="struct_point_html"><div class="ttname"><a href="struct_point.html">Point</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00111">structures.h:111</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a5e3e0a14f3ad58c314ce2e6a29b03fa2"><div class="ttname"><a href="computational_geometry_8h.html#a5e3e0a14f3ad58c314ce2e6a29b03fa2">pointToLineSeg</a></div><div class="ttdeci">double pointToLineSeg(const double *point, const double *line)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l01054">computationalGeometry.cpp:1054</a></div></div>
<div class="ttc" id="structures_8h_html"><div class="ttname"><a href="structures_8h.html">structures.h</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_ae7560d107886d705a36d1efaee8b8cc8"><div class="ttname"><a href="computational_geometry_8h.html#ae7560d107886d705a36d1efaee8b8cc8">checkDistIntPtsEdge</a></div><div class="ttdeci">bool checkDistIntPtsEdge(struct PointList &amp;tmpPoints, struct Poly &amp;newPoly, struct Poly &amp;poly2)</div></div>
<div class="ttc" id="computational_geometry_8h_html_a237899188f8ca6cf74a2da890cd13868"><div class="ttname"><a href="computational_geometry_8h.html#a237899188f8ca6cf74a2da890cd13868">checkForTripleIntersections</a></div><div class="ttdeci">int checkForTripleIntersections(IntPoints &amp;intPts, unsigned int count, std::vector&lt; IntPoints &gt; &amp;intPtsList, Poly &amp;newPoly, Poly &amp;poly2, std::vector&lt; TriplePtTempData &gt; &amp;tempData, std::vector&lt; Point &gt; &amp;triplePoints)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l01412">computationalGeometry.cpp:1412</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a69f93a65c39c49d1b705fad32f790e98"><div class="ttname"><a href="computational_geometry_8h.html#a69f93a65c39c49d1b705fad32f790e98">shrinkIntersection</a></div><div class="ttdeci">bool shrinkIntersection(IntPoints &amp;intPts, double *edge, double shrinkLimit, double firstNodeMinDist, double minDist)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00770">computationalGeometry.cpp:770</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a0d5da6b9c8dc5c9193e7ea07d2ba466e"><div class="ttname"><a href="computational_geometry_8h.html#a0d5da6b9c8dc5c9193e7ea07d2ba466e">applyRotation3D</a></div><div class="ttdeci">void applyRotation3D(struct Poly &amp;newPoly, double *normal)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00147">computationalGeometry.cpp:147</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_adf34efb0050985566dfb41f51967680f"><div class="ttname"><a href="computational_geometry_8h.html#adf34efb0050985566dfb41f51967680f">checkCloseEdge</a></div><div class="ttdeci">bool checkCloseEdge(Poly &amp;poly1, IntPoints &amp;intPts, double shrinkLimit, Stats &amp;pstats)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l01197">computationalGeometry.cpp:1197</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_ace23b489a120bc6d6407f7e08e1e009d"><div class="ttname"><a href="computational_geometry_8h.html#ace23b489a120bc6d6407f7e08e1e009d">createBoundingBox</a></div><div class="ttdeci">void createBoundingBox(struct Poly &amp;newPoly)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00322">computationalGeometry.cpp:322</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a7ada98067054623a6bcc19ab19403682"><div class="ttname"><a href="computational_geometry_8h.html#a7ada98067054623a6bcc19ab19403682">FRAM</a></div><div class="ttdeci">int FRAM(struct IntPoints &amp;intPts, unsigned int count, std::vector&lt; IntPoints &gt; &amp;intPtsList, struct Poly &amp;newPoly, struct Poly &amp;poly2, struct Stats &amp;pstats, std::vector&lt; TriplePtTempData &gt; &amp;tempData, std::vector&lt; Point &gt; &amp;triplePoints, std::vector&lt; IntPoints &gt; &amp;tempIntPts)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00607">computationalGeometry.cpp:607</a></div></div>
<div class="ttc" id="struct_int_points_html"><div class="ttname"><a href="struct_int_points.html">IntPoints</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00132">structures.h:132</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a8f29f7390c5415ae171ee96d38ff858f"><div class="ttname"><a href="computational_geometry_8h.html#a8f29f7390c5415ae171ee96d38ff858f">checkBoundingBox</a></div><div class="ttdeci">bool checkBoundingBox(struct Poly &amp;poly1, struct Poly &amp;poly2)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00379">computationalGeometry.cpp:379</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_aff243280740a51cada5c0dd94021fb66"><div class="ttname"><a href="computational_geometry_8h.html#aff243280740a51cada5c0dd94021fb66">intersectionChecking</a></div><div class="ttdeci">int intersectionChecking(struct Poly &amp;newPoly, std::vector&lt; Poly &gt; &amp;acceptedPoly, std::vector&lt; IntPoints &gt; &amp;intpts, struct Stats &amp;pstats, std::vector&lt; Point &gt; &amp;triplePoints)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00870">computationalGeometry.cpp:870</a></div></div>
<div class="ttc" id="struct_stats_html"><div class="ttname"><a href="struct_stats.html">Stats</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00277">structures.h:277</a></div></div>
<div class="ttc" id="struct_poly_html_a4b92c8fd93db07ccb928298defab1651"><div class="ttname"><a href="struct_poly.html#a4b92c8fd93db07ccb928298defab1651">Poly::normal</a></div><div class="ttdeci">double normal[3]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00055">structures.h:55</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a63cb49a89f3b90a72aea7b6a24548633"><div class="ttname"><a href="computational_geometry_8h.html#a63cb49a89f3b90a72aea7b6a24548633">checkDistanceFromNodes</a></div><div class="ttdeci">bool checkDistanceFromNodes(struct Poly &amp;poly, IntPoints &amp;intPts, double minSize, Stats &amp;pstats)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l01022">computationalGeometry.cpp:1022</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_add63aa632ee4353bfb401e7a470c6153"><div class="ttname"><a href="computational_geometry_8h.html#add63aa632ee4353bfb401e7a470c6153">PointOnLineSeg</a></div><div class="ttdeci">bool PointOnLineSeg(const Point &amp;pt, const double *line)</div></div>
<div class="ttc" id="computational_geometry_8h_html_a0de7b2e0479ef51bf9a286b09f2b53e1"><div class="ttname"><a href="computational_geometry_8h.html#a0de7b2e0479ef51bf9a286b09f2b53e1">applyRotation2D</a></div><div class="ttdeci">void applyRotation2D(struct Poly &amp;newPoly, float angle)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00024">computationalGeometry.cpp:24</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_ac1228db3b0fb85b1a5233b1fb78edd4a"><div class="ttname"><a href="computational_geometry_8h.html#ac1228db3b0fb85b1a5233b1fb78edd4a">checkDistToOldIntersections</a></div><div class="ttdeci">bool checkDistToOldIntersections(std::vector&lt; IntPoints &gt; &amp;intPtsList, IntPoints &amp;intPts, Poly &amp;poly2, double minDistance)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00680">computationalGeometry.cpp:680</a></div></div>
<div class="ttc" id="computational_geometry_8h_html_a8aaea6ef9d977f6d7d571d45ace1ad5d"><div class="ttname"><a href="computational_geometry_8h.html#a8aaea6ef9d977f6d7d571d45ace1ad5d">rotationMatrix</a></div><div class="ttdeci">double * rotationMatrix(double *normalA, double *normalB)</div><div class="ttdef"><b>Definition:</b> <a href="computational_geometry_8cpp_source.html#l00073">computationalGeometry.cpp:73</a></div></div>
<div class="ttc" id="struct_poly_html_ac93df10849f4916e195a899d2ba55485"><div class="ttname"><a href="struct_poly.html#ac93df10849f4916e195a899d2ba55485">Poly::translation</a></div><div class="ttdeci">double translation[3]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00052">structures.h:52</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="computational_geometry_8h.html">computationalGeometry.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
