<!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: debugFunctions.cpp 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('debug_functions_8cpp_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">debugFunctions.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="debug_functions_8cpp.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">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="debug_functions_8h.html">debugFunctions.h</a>&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="input_8h.html">input.h</a>&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="insert_shape_8h.html">insertShape.h</a>&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="debug_functions_8h.html#a4f0ed6c143ddc8cf487ce466d13e94ca">    9</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="debug_functions_8cpp.html#a4f0ed6c143ddc8cf487ce466d13e94ca">printAllPolys</a>(std::vector&lt;Poly&gt; &amp;acceptedPoly) {</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; acceptedPoly.size(); i++) {</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;\nPoly &quot;</span> &lt;&lt;i&lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    <a class="code" href="debug_functions_8cpp.html#a77317c191140e58c1ca12f2badadbc8b">printPolyData</a>(acceptedPoly[i]);</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    }</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;}</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="debug_functions_8h.html#abba64aa68fcfcd761ed2d6198fb8b960">   18</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="debug_functions_8cpp.html#a4d1de40ad00883bc7dd38aae2f4d1532">printAllTriplePts</a>(std::vector&lt;Point&gt; &amp;triplePoints) {</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;\nTriple Points:\n&quot;</span>;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; triplePoints.size(); i++) {</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        std::cout &lt;&lt; <span class="stringliteral">&quot;{&quot;</span> &lt;&lt;triplePoints[i].x&lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt;triplePoints[i].y&lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt;triplePoints[i].z&lt;&lt; <span class="stringliteral">&quot;}\n&quot;</span>;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    }</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;}</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="debug_functions_8h.html#addbeb5d1554c32eb404b585934d990a9">   29</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="debug_functions_8cpp.html#addbeb5d1554c32eb404b585934d990a9">printIntersectionData</a>(std::vector&lt;IntPoints&gt; &amp;intPts) {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;\nIntersections:\n&quot;</span>;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; intPts.size(); i++) {</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        std::cout &lt;&lt; <span class="stringliteral">&quot;Fractures: &quot;</span> &lt;&lt; intPts[i].fract1+1 &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt;intPts[i].fract2+1&lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        std::cout &lt;&lt; <span class="stringliteral">&quot;Line: {&quot;</span> &lt;&lt;intPts[i].x1&lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt;intPts[i].y1&lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt;intPts[i].z1</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;                  &lt;&lt; <span class="stringliteral">&quot;} {&quot;</span> &lt;&lt;intPts[i].x2&lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt;intPts[i].y2&lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt;intPts[i].z2&lt;&lt; <span class="stringliteral">&quot;}\n&quot;</span>;    </div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        std::cout &lt;&lt; <span class="stringliteral">&quot;Trip pts size = &quot;</span> &lt;&lt;intPts[i].triplePointsIdx.size()&lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;    </div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        std::cout &lt;&lt; <span class="stringliteral">&quot;Triple Pts Index: &quot;</span>;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> k = 0; k &lt; intPts[i].triplePointsIdx.size(); k++) {</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;            std::cout &lt;&lt;intPts[i].triplePointsIdx[k]&lt;&lt; <span class="stringliteral">&quot; &quot;</span>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        }</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        std::cout &lt;&lt; <span class="stringliteral">&quot;\n\n&quot;</span>;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    }</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;}</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="debug_functions_8h.html#ae8b00074675cdf130a4fee723286c393">   48</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="debug_functions_8cpp.html#a69689ef2c42fed006d33a76a6044ca7c">printGroupData</a>(<a class="code" href="struct_stats.html">Stats</a> &amp;pstats, std::vector&lt;Poly&gt; &amp;fractList) {</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="comment">//group number debug</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>.size(); i++) {</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;\nfracture group[&quot;</span> &lt;&lt; i &lt;&lt; <span class="stringliteral">&quot;]:\n&quot;</span>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;Group number = &quot;</span> &lt;&lt;pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[i].groupNum&lt;&lt;std::endl;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;List of Polys:\n&quot;</span>;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> k= 0; k&lt;pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[i].polyList.size(); k++) {</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;            std::cout &lt;&lt;pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[i].polyList[k] &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        </div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        }</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        std::cout &lt;&lt; <span class="stringliteral">&quot;\nintersections on poly:\n&quot;</span>;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> k= 0; k &lt; pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[i].polyList.size(); k++) {</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;            std::cout &lt;&lt; fractList[pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[i].polyList[k]].intersectionIndex.size() &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    std::cout &lt;&lt;std::endl;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        }</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    }</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    </div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i=0; i&lt;pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>.size(); i++) {</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;groupData[&quot;</span> &lt;&lt; i &lt;&lt; <span class="stringliteral">&quot;]: {&quot;</span> </div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;              &lt;&lt; pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].faces[0] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].faces[1]</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].faces[2] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].faces[3] </div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].faces[4] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].faces[5] &lt;&lt; <span class="stringliteral">&quot;}\n&quot;</span>;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    </div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;size: &quot;</span> &lt;&lt;pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].size &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;valid: &quot;</span> &lt;&lt;pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].valid &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>; </div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    }</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;}</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structures_8h.html#ae169c3908e853bd13493c9acfec92498">   79</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="debug_functions_8cpp.html#a77317c191140e58c1ca12f2badadbc8b">printPolyData</a>(<span class="keyword">struct</span> <a class="code" href="struct_poly.html">Poly</a> &amp;poly) {</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;numberOfNodes = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a8cc8d6067e940d33a1b29844b3e8c6ec">numberOfNodes</a> &lt;&lt; std::endl;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;intersectionCount = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#aa6c373c49a4e0ab7c83a353a9f8cf518">intersectionIndex</a>.size() &lt;&lt; std::endl;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;Truncated = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a341a2ec25f71c2f58c1af119b3990387">truncated</a>&lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;groupNum = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a> &lt;&lt; std::endl;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;familyNum = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#ae211dd5368d3b023abc943dc940837af">familyNum</a> &lt;&lt; std::endl;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;Faces = {&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">faces</a>[0] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">faces</a>[1] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;                             &lt;&lt; poly.<a class="code" href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">faces</a>[2] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">faces</a>[3] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;                             &lt;&lt; poly.<a class="code" href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">faces</a>[4] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">faces</a>[5] &lt;&lt; <span class="stringliteral">&quot;}\n&quot;</span>;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;area = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a26a509e53f5fe73722b1d82443ce1841">area</a> &lt;&lt; std::endl;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;aperture = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a5b78228013be48bf6b3eb6debce59f50">aperture</a> &lt;&lt; std::endl;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;xradius = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a2e10824b90d60b54522b7ce475ed2a17">xradius</a> &lt;&lt; std::endl;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;yradius = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#ad1acec5af38b346429eada06f05078c6">yradius</a> &lt;&lt; std::endl;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;aspectRatio = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a38a501ec1855a34b0dbe769bf0319481">aspectRatio</a> &lt;&lt; std::endl;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;aperture = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a5b78228013be48bf6b3eb6debce59f50">aperture</a> &lt;&lt; std::endl;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;normal = {&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a4b92c8fd93db07ccb928298defab1651">normal</a>[0] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a4b92c8fd93db07ccb928298defab1651">normal</a>[1] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a4b92c8fd93db07ccb928298defab1651">normal</a>[2] &lt;&lt; <span class="stringliteral">&quot;}\n&quot;</span>;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;translation = {&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#ac93df10849f4916e195a899d2ba55485">translation</a>[0] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#ac93df10849f4916e195a899d2ba55485">translation</a>[1] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#ac93df10849f4916e195a899d2ba55485">translation</a>[2] &lt;&lt; <span class="stringliteral">&quot;}\n&quot;</span>;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;permeability = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a48c792ab99f5f7ca554a3f77062419db">permeability</a>&lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;boundingBox:\nxMin = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#aa650b6516110395f670252cb55f896c0">boundingBox</a>[0] &lt;&lt; <span class="stringliteral">&quot; xMax = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#aa650b6516110395f670252cb55f896c0">boundingBox</a>[1] &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;yMin = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#aa650b6516110395f670252cb55f896c0">boundingBox</a>[2] &lt;&lt; <span class="stringliteral">&quot; yMax = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#aa650b6516110395f670252cb55f896c0">boundingBox</a>[3] &lt;&lt; std::endl;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;zMin = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#aa650b6516110395f670252cb55f896c0">boundingBox</a>[4] &lt;&lt; <span class="stringliteral">&quot; zMax = &quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#aa650b6516110395f670252cb55f896c0">boundingBox</a>[5] &lt;&lt; std::endl;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;IntPts indices: &quot;</span>;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; poly.<a class="code" href="struct_poly.html#aa6c373c49a4e0ab7c83a353a9f8cf518">intersectionIndex</a>.size(); i++){</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        std::cout &lt;&lt; poly.<a class="code" href="struct_poly.html#aa6c373c49a4e0ab7c83a353a9f8cf518">intersectionIndex</a>[i] &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    }</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    std::cout &lt;&lt; <span class="stringliteral">&quot;Vertices:\n&quot;</span>;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; poly.<a class="code" href="struct_poly.html#a8cc8d6067e940d33a1b29844b3e8c6ec">numberOfNodes</a>; i++) {</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        <span class="keywordtype">int</span> idx = i*3;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        std::cout &lt;&lt; <span class="stringliteral">&quot;{&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a2cb519bcf0553215de907c8fc878a255">vertices</a>[idx] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a2cb519bcf0553215de907c8fc878a255">vertices</a>[idx+1] &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; poly.<a class="code" href="struct_poly.html#a2cb519bcf0553215de907c8fc878a255">vertices</a>[idx+2] &lt;&lt; <span class="stringliteral">&quot;}\n&quot;</span>;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    }</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;}</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="fracture_estimating_8h.html#a0d86e9931b24c2b392a6a307d7725c69">  119</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="debug_functions_8cpp.html#a0d86e9931b24c2b392a6a307d7725c69">printShapeFams</a>(std::vector&lt;Shape&gt; &amp;shapeFamilies) {</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keyword">using namespace </span>std;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="keywordtype">double</span> radToDeg = 180 / M_PI;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    cout &lt;&lt; <span class="stringliteral">&quot;\nShape Families:\n&quot;</span>;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; shapeFamilies.size(); i++) {</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        <span class="comment">//name(rect or ell) and number of family</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        cout &lt;&lt; <a class="code" href="insert_shape_8cpp.html#ae4fa66ac2a60ae519ee05168b44c9917">shapeType</a>(shapeFamilies[i]) &lt;&lt; <span class="stringliteral">&quot; Family &quot;</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;             &lt;&lt; <a class="code" href="insert_shape_8cpp.html#a9b3f632508ac90991bd6ebee7bcfbc2f">getFamilyNumber</a>(i, shapeFamilies[i].shapeFamily) &lt;&lt; <span class="stringliteral">&quot;:\n&quot;</span>;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="comment">// Print vertice number</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <span class="keywordflow">if</span> (shapeFamilies[i].shapeFamily == 0) {  <span class="comment">// If ellipse family</span></div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;Number of Vertices: &quot;</span> &lt;&lt; shapeFamilies[i].numPoints &lt;&lt; endl;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        }</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <span class="keywordflow">else</span> {</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;Number of Vertices: 4&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        }</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        <span class="comment">// aspect ratio</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;Aspect Ratio: &quot;</span> &lt;&lt; shapeFamilies[i].aspectRatio &lt;&lt; endl;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        <span class="comment">// p32 target</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="input_8h.html#ad47617e2251da4eb87c56365e217c8e3">stopCondition</a> == 1) {</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;P32 (Fracture Intensity) Target: &quot;</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;                 &lt;&lt; shapeFamilies[i].p32Target &lt;&lt; endl;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        }</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="comment">// beta distribution, rotation around normal vector</span></div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        <span class="keywordflow">if</span> (shapeFamilies[i].betaDistribution == 0) {</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;Beta Distribution (Rotation Around Normal Vector): [0, 2PI)&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        }</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <span class="keywordflow">else</span> {</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;Beta (Rotation Around Normal Vector): &quot;</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;                 &lt;&lt; shapeFamilies[i].beta &lt;&lt; <span class="stringliteral">&quot; rad, &quot;</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;                 &lt;&lt; shapeFamilies[i].beta * radToDeg &lt;&lt; <span class="stringliteral">&quot; deg&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        }</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        <span class="comment">// Theta (angle normal makes with z axis</span></div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;Theta: &quot;</span> &lt;&lt; shapeFamilies[i].theta &lt;&lt; <span class="stringliteral">&quot; rad, &quot;</span></div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;                          &lt;&lt; shapeFamilies[i].theta * radToDeg &lt;&lt; <span class="stringliteral">&quot; deg&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        <span class="comment">// Phi (angle the projection of normal onto x-y plane  makes with +x axis</span></div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;Phi: &quot;</span> &lt;&lt; shapeFamilies[i].phi &lt;&lt; <span class="stringliteral">&quot; rad, &quot;</span></div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;                        &lt;&lt; shapeFamilies[i].phi * radToDeg &lt;&lt; <span class="stringliteral">&quot; deg &quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <span class="comment">// kappa</span></div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;Kappa: &quot;</span> &lt;&lt; shapeFamilies[i].kappa &lt;&lt; endl;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        <span class="comment">// Print layer family belongs to</span></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        <span class="keywordflow">if</span> (shapeFamilies[i].layer == 0) {</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;Layer: Entire domain&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        }</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <span class="keywordflow">else</span> {</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;            <span class="keywordtype">int</span> idx = (shapeFamilies[i].layer - 1) * 2;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;Layer: &quot;</span> &lt;&lt; shapeFamilies[i].layer &lt;&lt; <span class="stringliteral">&quot; {&quot;</span> &lt;&lt; <a class="code" href="input_8h.html#a03ac7830eb87def8d67cc0c95b24ec82">layers</a>[idx]</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;                 &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; <a class="code" href="input_8h.html#a03ac7830eb87def8d67cc0c95b24ec82">layers</a>[idx+1]</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;                 &lt;&lt; <span class="stringliteral">&quot;}&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        }</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        <span class="comment">// Print distribution data</span></div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <span class="keywordflow">switch</span> (shapeFamilies[i].distributionType) {</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;            <span class="keywordflow">case</span> 1: <span class="comment">// lognormal</span></div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Distrubution: Lognormal\n&quot;</span>;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Mean: &quot;</span> &lt;&lt; shapeFamilies[i].mean &lt;&lt; endl;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Standard Deviation: &quot;</span> &lt;&lt; shapeFamilies[i].sd &lt;&lt;  endl;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Minimum Radius: &quot;</span> &lt;&lt; shapeFamilies[i].logMin &lt;&lt; <span class="stringliteral">&quot;m&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Maximum Radius: &quot;</span> &lt;&lt; shapeFamilies[i].logMax &lt;&lt; <span class="stringliteral">&quot;m&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;                <span class="keywordflow">break</span>;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;            <span class="keywordflow">case</span> 2: <span class="comment">// power-law</span></div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Distribution: Truncated Power-Law\n&quot;</span>;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Alpha: &quot;</span> &lt;&lt; shapeFamilies[i].alpha &lt;&lt; endl;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Minimum Radius: &quot;</span> &lt;&lt; shapeFamilies[i].min &lt;&lt; <span class="stringliteral">&quot;m&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Maximum Radius: &quot;</span> &lt;&lt; shapeFamilies[i].max &lt;&lt; <span class="stringliteral">&quot;m&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;                <span class="keywordflow">break</span>;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;            <span class="keywordflow">case</span> 3: <span class="comment">// exponential</span></div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Distribution: Exponential\n&quot;</span>;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Mean: &quot;</span> &lt;&lt; shapeFamilies[i].expMean &lt;&lt; endl;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Lambda: &quot;</span> &lt;&lt; shapeFamilies[i].expLambda &lt;&lt; endl;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Minimum Radius: &quot;</span> &lt;&lt; shapeFamilies[i].expMin &lt;&lt; <span class="stringliteral">&quot;m&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Maximum Radius: &quot;</span> &lt;&lt; shapeFamilies[i].expMax &lt;&lt; <span class="stringliteral">&quot;m&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;                <span class="keywordflow">break</span>;</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;            <span class="keywordflow">case</span> 4: <span class="comment">// constant</span></div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Distribution: Constant\n&quot;</span>;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;                cout &lt;&lt; <span class="stringliteral">&quot;Radius: &quot;</span> &lt;&lt; shapeFamilies[i].constRadi &lt;&lt; <span class="stringliteral">&quot;m&quot;</span> &lt;&lt; endl;</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        }</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        cout &lt;&lt; <span class="stringliteral">&quot;Family Insertion Probability: &quot;</span> &lt;&lt; <a class="code" href="input_8h.html#aeb1032cfdc6f748b280a4a0a59375d11">famProb</a>[i] &lt;&lt; <span class="stringliteral">&quot;\n\n&quot;</span>;</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    }</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;}</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div><div class="ttc" id="struct_poly_html_add8e39b7f48274757f46c80014aaeb6b"><div class="ttname"><a href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">Poly::groupNum</a></div><div class="ttdeci">unsigned int groupNum</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00030">structures.h:30</a></div></div>
<div class="ttc" id="input_8h_html"><div class="ttname"><a href="input_8h.html">input.h</a></div></div>
<div class="ttc" id="struct_poly_html_a341a2ec25f71c2f58c1af119b3990387"><div class="ttname"><a href="struct_poly.html#a341a2ec25f71c2f58c1af119b3990387">Poly::truncated</a></div><div class="ttdeci">bool truncated</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00095">structures.h:95</a></div></div>
<div class="ttc" id="struct_poly_html_a8cc8d6067e940d33a1b29844b3e8c6ec"><div class="ttname"><a href="struct_poly.html#a8cc8d6067e940d33a1b29844b3e8c6ec">Poly::numberOfNodes</a></div><div class="ttdeci">int numberOfNodes</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00014">structures.h:14</a></div></div>
<div class="ttc" id="struct_poly_html_aa650b6516110395f670252cb55f896c0"><div class="ttname"><a href="struct_poly.html#aa650b6516110395f670252cb55f896c0">Poly::boundingBox</a></div><div class="ttdeci">double boundingBox[6]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00062">structures.h:62</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="debug_functions_8cpp_html_addbeb5d1554c32eb404b585934d990a9"><div class="ttname"><a href="debug_functions_8cpp.html#addbeb5d1554c32eb404b585934d990a9">printIntersectionData</a></div><div class="ttdeci">void printIntersectionData(std::vector&lt; IntPoints &gt; &amp;intPts)</div><div class="ttdef"><b>Definition:</b> <a href="debug_functions_8cpp_source.html#l00029">debugFunctions.cpp:29</a></div></div>
<div class="ttc" id="insert_shape_8cpp_html_ae4fa66ac2a60ae519ee05168b44c9917"><div class="ttname"><a href="insert_shape_8cpp.html#ae4fa66ac2a60ae519ee05168b44c9917">shapeType</a></div><div class="ttdeci">std::string shapeType(struct Shape &amp;shapeFam)</div><div class="ttdef"><b>Definition:</b> <a href="insert_shape_8cpp_source.html#l00700">insertShape.cpp:700</a></div></div>
<div class="ttc" id="struct_stats_html_a15b646bf15b9fa5aad461bf8fb9d27ff"><div class="ttname"><a href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">Stats::fractGroup</a></div><div class="ttdeci">std::vector&lt; struct FractureGroups &gt; fractGroup</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00374">structures.h:374</a></div></div>
<div class="ttc" id="input_8h_html_a03ac7830eb87def8d67cc0c95b24ec82"><div class="ttname"><a href="input_8h.html#a03ac7830eb87def8d67cc0c95b24ec82">layers</a></div><div class="ttdeci">float * layers</div><div class="ttdef"><b>Definition:</b> <a href="read_input_8cpp_source.html#l00443">readInput.cpp:443</a></div></div>
<div class="ttc" id="struct_poly_html_a38a501ec1855a34b0dbe769bf0319481"><div class="ttname"><a href="struct_poly.html#a38a501ec1855a34b0dbe769bf0319481">Poly::aspectRatio</a></div><div class="ttdeci">float aspectRatio</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00049">structures.h:49</a></div></div>
<div class="ttc" id="insert_shape_8cpp_html_a9b3f632508ac90991bd6ebee7bcfbc2f"><div class="ttname"><a href="insert_shape_8cpp.html#a9b3f632508ac90991bd6ebee7bcfbc2f">getFamilyNumber</a></div><div class="ttdeci">int getFamilyNumber(int familyIndex, int familyShape)</div><div class="ttdef"><b>Definition:</b> <a href="insert_shape_8cpp_source.html#l00688">insertShape.cpp:688</a></div></div>
<div class="ttc" id="debug_functions_8cpp_html_a4f0ed6c143ddc8cf487ce466d13e94ca"><div class="ttname"><a href="debug_functions_8cpp.html#a4f0ed6c143ddc8cf487ce466d13e94ca">printAllPolys</a></div><div class="ttdeci">void printAllPolys(std::vector&lt; Poly &gt; &amp;acceptedPoly)</div><div class="ttdef"><b>Definition:</b> <a href="debug_functions_8cpp_source.html#l00009">debugFunctions.cpp:9</a></div></div>
<div class="ttc" id="struct_poly_html_a2cb519bcf0553215de907c8fc878a255"><div class="ttname"><a href="struct_poly.html#a2cb519bcf0553215de907c8fc878a255">Poly::vertices</a></div><div class="ttdeci">double * vertices</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00070">structures.h:70</a></div></div>
<div class="ttc" id="insert_shape_8h_html"><div class="ttname"><a href="insert_shape_8h.html">insertShape.h</a></div></div>
<div class="ttc" id="debug_functions_8cpp_html_a77317c191140e58c1ca12f2badadbc8b"><div class="ttname"><a href="debug_functions_8cpp.html#a77317c191140e58c1ca12f2badadbc8b">printPolyData</a></div><div class="ttdeci">void printPolyData(struct Poly &amp;poly)</div><div class="ttdef"><b>Definition:</b> <a href="debug_functions_8cpp_source.html#l00079">debugFunctions.cpp:79</a></div></div>
<div class="ttc" id="struct_poly_html_ad1acec5af38b346429eada06f05078c6"><div class="ttname"><a href="struct_poly.html#ad1acec5af38b346429eada06f05078c6">Poly::yradius</a></div><div class="ttdeci">double yradius</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00046">structures.h:46</a></div></div>
<div class="ttc" id="struct_poly_html_a48c792ab99f5f7ca554a3f77062419db"><div class="ttname"><a href="struct_poly.html#a48c792ab99f5f7ca554a3f77062419db">Poly::permeability</a></div><div class="ttdeci">double permeability</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00074">structures.h:74</a></div></div>
<div class="ttc" id="input_8h_html_aeb1032cfdc6f748b280a4a0a59375d11"><div class="ttname"><a href="input_8h.html#aeb1032cfdc6f748b280a4a0a59375d11">famProb</a></div><div class="ttdeci">float * famProb</div><div class="ttdef"><b>Definition:</b> <a href="read_input_8cpp_source.html#l00133">readInput.cpp:133</a></div></div>
<div class="ttc" id="struct_stats_html_ae4c56b074f1d02cc1ce798790fc9dcab"><div class="ttname"><a href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">Stats::groupData</a></div><div class="ttdeci">std::vector&lt; struct GroupData &gt; groupData</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00376">structures.h:376</a></div></div>
<div class="ttc" id="struct_poly_html_a2e10824b90d60b54522b7ce475ed2a17"><div class="ttname"><a href="struct_poly.html#a2e10824b90d60b54522b7ce475ed2a17">Poly::xradius</a></div><div class="ttdeci">double xradius</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00040">structures.h:40</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_aa6c373c49a4e0ab7c83a353a9f8cf518"><div class="ttname"><a href="struct_poly.html#aa6c373c49a4e0ab7c83a353a9f8cf518">Poly::intersectionIndex</a></div><div class="ttdeci">std::vector&lt; unsigned int &gt; intersectionIndex</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00098">structures.h:98</a></div></div>
<div class="ttc" id="debug_functions_8cpp_html_a69689ef2c42fed006d33a76a6044ca7c"><div class="ttname"><a href="debug_functions_8cpp.html#a69689ef2c42fed006d33a76a6044ca7c">printGroupData</a></div><div class="ttdeci">void printGroupData(Stats &amp;pstats, std::vector&lt; Poly &gt; &amp;fractList)</div><div class="ttdef"><b>Definition:</b> <a href="debug_functions_8cpp_source.html#l00048">debugFunctions.cpp:48</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="struct_poly_html_a26a509e53f5fe73722b1d82443ce1841"><div class="ttname"><a href="struct_poly.html#a26a509e53f5fe73722b1d82443ce1841">Poly::area</a></div><div class="ttdeci">float area</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00033">structures.h:33</a></div></div>
<div class="ttc" id="debug_functions_8h_html"><div class="ttname"><a href="debug_functions_8h.html">debugFunctions.h</a></div></div>
<div class="ttc" id="struct_poly_html_a5b78228013be48bf6b3eb6debce59f50"><div class="ttname"><a href="struct_poly.html#a5b78228013be48bf6b3eb6debce59f50">Poly::aperture</a></div><div class="ttdeci">double aperture</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00066">structures.h:66</a></div></div>
<div class="ttc" id="debug_functions_8cpp_html_a0d86e9931b24c2b392a6a307d7725c69"><div class="ttname"><a href="debug_functions_8cpp.html#a0d86e9931b24c2b392a6a307d7725c69">printShapeFams</a></div><div class="ttdeci">void printShapeFams(std::vector&lt; Shape &gt; &amp;shapeFamilies)</div><div class="ttdef"><b>Definition:</b> <a href="debug_functions_8cpp_source.html#l00119">debugFunctions.cpp:119</a></div></div>
<div class="ttc" id="struct_poly_html_ae211dd5368d3b023abc943dc940837af"><div class="ttname"><a href="struct_poly.html#ae211dd5368d3b023abc943dc940837af">Poly::familyNum</a></div><div class="ttdeci">int familyNum</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00022">structures.h:22</a></div></div>
<div class="ttc" id="debug_functions_8cpp_html_a4d1de40ad00883bc7dd38aae2f4d1532"><div class="ttname"><a href="debug_functions_8cpp.html#a4d1de40ad00883bc7dd38aae2f4d1532">printAllTriplePts</a></div><div class="ttdeci">void printAllTriplePts(std::vector&lt; Point &gt; &amp;triplePoints)</div><div class="ttdef"><b>Definition:</b> <a href="debug_functions_8cpp_source.html#l00018">debugFunctions.cpp:18</a></div></div>
<div class="ttc" id="struct_poly_html_ae110548a9a60aacab55ecce02d759d8d"><div class="ttname"><a href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">Poly::faces</a></div><div class="ttdeci">bool faces[6]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00084">structures.h:84</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 class="ttc" id="input_8h_html_ad47617e2251da4eb87c56365e217c8e3"><div class="ttname"><a href="input_8h.html#ad47617e2251da4eb87c56365e217c8e3">stopCondition</a></div><div class="ttdeci">short stopCondition</div><div class="ttdef"><b>Definition:</b> <a href="read_input_8cpp_source.html#l00012">readInput.cpp:12</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="debug_functions_8cpp.html">debugFunctions.cpp</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>
