<!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: vectorFunctions.h File Reference</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('vector_functions_8h.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="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">vectorFunctions.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;fstream&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;iostream&gt;</code><br />
<code>#include &lt;cmath&gt;</code><br />
<code>#include &quot;<a class="el" href="input_8h_source.html">input.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="structures_8h_source.html">structures.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for vectorFunctions.h:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h__incl.png" border="0" usemap="#vector_functions_8h" alt=""/></div>
<map name="vector_functions_8h" id="vector_functions_8h">
<area shape="rect" id="node6" href="input_8h.html" title="input.h" alt="" coords="47,80,109,107"/>
<area shape="rect" id="node7" href="structures_8h.html" title="structures.h" alt="" coords="334,80,425,107"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h__dep__incl.png" border="0" usemap="#vector_functions_8hdep" alt=""/></div>
<map name="vector_functions_8hdep" id="vector_functions_8hdep">
<area shape="rect" id="node2" href="computational_geometry_8cpp.html" title="computationalGeometry.cpp" alt="" coords="5,80,195,107"/>
<area shape="rect" id="node3" href="domain_8cpp.html" title="domain.cpp" alt="" coords="219,80,309,107"/>
<area shape="rect" id="node4" href="generating_points_8cpp.html" title="generatingPoints.cpp" alt="" coords="333,80,480,107"/>
<area shape="rect" id="node5" href="insert_shape_8cpp.html" title="insertShape.cpp" alt="" coords="505,80,623,107"/>
<area shape="rect" id="node6" href="insert_user_ell_8cpp.html" title="insertUserEll.cpp" alt="" coords="648,80,771,107"/>
<area shape="rect" id="node7" href="insert_user_ell_by_coord_8cpp.html" title="insertUserEllByCoord.cpp" alt="" coords="795,80,969,107"/>
<area shape="rect" id="node8" href="insert_user_rects_8cpp.html" title="insertUserRects.cpp" alt="" coords="994,80,1136,107"/>
<area shape="rect" id="node9" href="insert_user_rects_by_coord_8cpp.html" title="insertUserRectsByCoord.cpp" alt="" coords="1161,80,1353,107"/>
<area shape="rect" id="node10" href="math_functions_8cpp.html" title="mathFunctions.cpp" alt="" coords="1378,80,1512,107"/>
<area shape="rect" id="node11" href="output_8cpp.html" title="output.cpp" alt="" coords="1537,80,1620,107"/>
<area shape="rect" id="node12" href="vector_functions_8cpp.html" title="vectorFunctions.cpp" alt="" coords="1645,80,1787,107"/>
</map>
</div>
</div>
<p><a href="vector_functions_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3c2b95a1658779bf4d2b104fa9513e75"><td class="memItemLeft" align="right" valign="top">double *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#a3c2b95a1658779bf4d2b104fa9513e75">projection</a> (const double *v1, const double *v2)</td></tr>
<tr class="separator:a3c2b95a1658779bf4d2b104fa9513e75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af04ebdcbe44a303101290e88a5971c71"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#af04ebdcbe44a303101290e88a5971c71">euclideanDistance</a> (double *A, double *B)</td></tr>
<tr class="separator:af04ebdcbe44a303101290e88a5971c71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac02fbd874b60abb201dce0afd7775416"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#ac02fbd874b60abb201dce0afd7775416">euclideanDistance</a> (<a class="el" href="struct_point.html">Point</a> &amp;A, <a class="el" href="struct_point.html">Point</a> &amp;B)</td></tr>
<tr class="separator:ac02fbd874b60abb201dce0afd7775416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd59d451cff22898e4153261bc1fb38e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#afd59d451cff22898e4153261bc1fb38e">angleBeteenVectors</a> (const double *vector1, const double *vector2)</td></tr>
<tr class="separator:afd59d451cff22898e4153261bc1fb38e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94303b1c8dd36d71e57fd0e4d5d26ae3"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a94303b1c8dd36d71e57fd0e4d5d26ae3"><td class="memTemplItemLeft" align="right" valign="top">T *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#a94303b1c8dd36d71e57fd0e4d5d26ae3">crossProduct</a> (const T *v1, const T *v2)</td></tr>
<tr class="separator:a94303b1c8dd36d71e57fd0e4d5d26ae3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48bb00fc4195377b229efe044f3bb67e"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a48bb00fc4195377b229efe044f3bb67e"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#a48bb00fc4195377b229efe044f3bb67e">normalize</a> (T *vec)</td></tr>
<tr class="separator:a48bb00fc4195377b229efe044f3bb67e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb1d4beb5939c7a5ddd4978c15fab7bb"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:abb1d4beb5939c7a5ddd4978c15fab7bb"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#abb1d4beb5939c7a5ddd4978c15fab7bb">dotProduct</a> (const T *A, const T *B)</td></tr>
<tr class="separator:abb1d4beb5939c7a5ddd4978c15fab7bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59882f4d39496e4e204d837592ac767b"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a59882f4d39496e4e204d837592ac767b"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#a59882f4d39496e4e204d837592ac767b">printVertices</a> (T *vert, int numVertices)</td></tr>
<tr class="separator:a59882f4d39496e4e204d837592ac767b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92da2058f3ed2a6db16d2fe0e445794a"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a92da2058f3ed2a6db16d2fe0e445794a"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#a92da2058f3ed2a6db16d2fe0e445794a">magnitude</a> (T x, T y, T z)</td></tr>
<tr class="separator:a92da2058f3ed2a6db16d2fe0e445794a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5177d4868472616bd9fac80a8b65f78"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ad5177d4868472616bd9fac80a8b65f78"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#ad5177d4868472616bd9fac80a8b65f78">sqrMagnitude</a> (T x, T y, T z)</td></tr>
<tr class="separator:ad5177d4868472616bd9fac80a8b65f78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7038a32284147d86abda1f0b54b83a4e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vector_functions_8h.html#a7038a32284147d86abda1f0b54b83a4e">parallel</a> (double *v1, double *v2)</td></tr>
<tr class="separator:a7038a32284147d86abda1f0b54b83a4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="afd59d451cff22898e4153261bc1fb38e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd59d451cff22898e4153261bc1fb38e">&sect;&nbsp;</a></span>angleBeteenVectors()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double angleBeteenVectors </td>
          <td>(</td>
          <td class="paramtype">const double *&#160;</td>
          <td class="paramname"><em>vector1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double *&#160;</td>
          <td class="paramname"><em>vector2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vector_functions_8cpp_source.html#l00074">74</a> of file <a class="el" href="vector_functions_8cpp_source.html">vectorFunctions.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h_afd59d451cff22898e4153261bc1fb38e_cgraph.png" border="0" usemap="#vector_functions_8h_afd59d451cff22898e4153261bc1fb38e_cgraph" alt=""/></div>
<map name="vector_functions_8h_afd59d451cff22898e4153261bc1fb38e_cgraph" id="vector_functions_8h_afd59d451cff22898e4153261bc1fb38e_cgraph">
<area shape="rect" id="node2" href="vector_functions_8h.html#abb1d4beb5939c7a5ddd4978c15fab7bb" title="dotProduct" alt="" coords="198,5,285,32"/>
<area shape="rect" id="node3" href="vector_functions_8h.html#a92da2058f3ed2a6db16d2fe0e445794a" title="magnitude" alt="" coords="199,56,283,83"/>
</map>
</div>

</div>
</div>
<a id="a94303b1c8dd36d71e57fd0e4d5d26ae3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94303b1c8dd36d71e57fd0e4d5d26ae3">&sect;&nbsp;</a></span>crossProduct()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T* crossProduct </td>
          <td>(</td>
          <td class="paramtype">const T *&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T *&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Calculates crossproduct of v1 and v2 Arg 1: Pointer to array of three elements Arg 2: Pointer to array of three elements Return: Pointer to cross product, array of three elements NOTE: must use delete[] on returned pointer after use. </p>

<p>Definition at line <a class="el" href="vector_functions_8h_source.html#l00024">24</a> of file <a class="el" href="vector_functions_8h_source.html">vectorFunctions.h</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h_a94303b1c8dd36d71e57fd0e4d5d26ae3_icgraph.png" border="0" usemap="#vector_functions_8h_a94303b1c8dd36d71e57fd0e4d5d26ae3_icgraph" alt=""/></div>
<map name="vector_functions_8h_a94303b1c8dd36d71e57fd0e4d5d26ae3_icgraph" id="vector_functions_8h_a94303b1c8dd36d71e57fd0e4d5d26ae3_icgraph">
<area shape="rect" id="node2" href="computational_geometry_8h.html#a8aaea6ef9d977f6d7d571d45ace1ad5d" title="rotationMatrix" alt="" coords="167,461,270,488"/>
<area shape="rect" id="node3" href="computational_geometry_8h.html#a0d5da6b9c8dc5c9193e7ea07d2ba466e" title="applyRotation3D" alt="" coords="340,183,460,209"/>
<area shape="rect" id="node12" href="computational_geometry_8h.html#a06628fbaa79aad7eec7a74c5341e77bd" title="polyAndIntersection\l_RotationToXY" alt="" coords="331,479,469,521"/>
<area shape="rect" id="node15" href="generating_points_8h.html#a2f7b981bd314f565407a2db0358bf81b" title="fisherDistribution" alt="" coords="339,56,461,83"/>
<area shape="rect" id="node16" href="insert_user_ell_by_coord_8cpp.html#a49e6b0be012ed44c6ef83ea66ed6dd86" title="insertUserEllByCoord" alt="" coords="749,348,899,375"/>
<area shape="rect" id="node17" href="insert_user_rects_by_coord_8cpp.html#a244f461634679dc91d08da3e183f9b8c" title="insertUserRectsByCoord" alt="" coords="739,399,909,425"/>
<area shape="rect" id="node18" href="math_functions_8h.html#a78276693aa55fab858a41366e5b4aa73" title="getArea" alt="" coords="569,259,639,285"/>
<area shape="rect" id="node19" href="output_8h.html#a57b8bb3d7eca7bea96500d210f45bee4" title="writeRotationData" alt="" coords="155,563,283,589"/>
<area shape="rect" id="node4" href="insert_shape_8h.html#a4f91304a14fefba4d4f93f2f3e54dee4" title="generatePoly" alt="" coords="554,5,654,32"/>
<area shape="rect" id="node7" href="insert_shape_8h.html#a4a4d307b0a091a6159358f312371ae95" title="generatePoly_withRadius" alt="" coords="517,56,691,83"/>
<area shape="rect" id="node8" href="insert_shape_8h.html#afa95ede56e6ecb8918b61c5a2815d40d" title="reTranslatePoly" alt="" coords="546,107,662,133"/>
<area shape="rect" id="node9" href="insert_user_ell_8cpp.html#a9841b356b0460e297748d6648c301558" title="insertUserEll" alt="" coords="775,297,873,324"/>
<area shape="rect" id="node10" href="insert_user_rects_8cpp.html#af69365c2e0148366aabe6751ffc54a79" title="insertUserRects" alt="" coords="765,196,883,223"/>
<area shape="rect" id="node11" href="output_8h.html#a05f2f6fb056bf06f18530445383e53d1" title="rotateFractures" alt="" coords="548,208,660,235"/>
<area shape="rect" id="node5" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="957,247,1008,273"/>
<area shape="rect" id="node6" href="fracture_estimating_8h.html#a7cf21b594fd24b2879af467e23bdac0a" title="dryRun" alt="" coords="791,95,857,121"/>
<area shape="rect" id="node13" href="output_8h.html#a28522d95b2cb41e475acf0136cc6a58e" title="writeIntersectionFiles" alt="" coords="531,487,677,513"/>
<area shape="rect" id="node14" href="output_8h.html#ad84815b625587d2194321694a13f2477" title="writeOutput" alt="" coords="779,487,869,513"/>
</map>
</div>

</div>
</div>
<a id="abb1d4beb5939c7a5ddd4978c15fab7bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb1d4beb5939c7a5ddd4978c15fab7bb">&sect;&nbsp;</a></span>dotProduct()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T dotProduct </td>
          <td>(</td>
          <td class="paramtype">const T *&#160;</td>
          <td class="paramname"><em>A</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T *&#160;</td>
          <td class="paramname"><em>B</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Calculates the dot product of vector A with B Arg 1: Pointer to array of three elements Arg 2: Pointer to array of three elements Return: Pointer to dot product, array of three elements NOTE: Must use delete[] on returned pointer after use </p>

<p>Definition at line <a class="el" href="vector_functions_8h_source.html#l00058">58</a> of file <a class="el" href="vector_functions_8h_source.html">vectorFunctions.h</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h_abb1d4beb5939c7a5ddd4978c15fab7bb_icgraph.png" border="0" usemap="#vector_functions_8h_abb1d4beb5939c7a5ddd4978c15fab7bb_icgraph" alt=""/></div>
<map name="vector_functions_8h_abb1d4beb5939c7a5ddd4978c15fab7bb_icgraph" id="vector_functions_8h_abb1d4beb5939c7a5ddd4978c15fab7bb_icgraph">
<area shape="rect" id="node2" href="computational_geometry_8h.html#a8aaea6ef9d977f6d7d571d45ace1ad5d" title="rotationMatrix" alt="" coords="786,195,889,221"/>
<area shape="rect" id="node15" href="computational_geometry_8h.html#a415bf8d3cbc3ccbdf9c8f7bbff35bc96" title="findIntersections" alt="" coords="566,296,685,323"/>
<area shape="rect" id="node20" href="computational_geometry_8h.html#a5e3e0a14f3ad58c314ce2e6a29b03fa2" title="pointToLineSeg" alt="" coords="155,423,271,449"/>
<area shape="rect" id="node29" href="computational_geometry_8h.html#a237899188f8ca6cf74a2da890cd13868" title="checkForTripleIntersections" alt="" coords="745,397,930,424"/>
<area shape="rect" id="node30" href="computational_geometry_8h.html#a9eb32a7555c136fb7960f9f13db70004" title="lineIntersection3D" alt="" coords="358,600,487,627"/>
<area shape="rect" id="node31" href="domain_8h.html#aed3d77c17f33d2024704b479d0885332" title="domainTruncation" alt="" coords="1193,397,1322,424"/>
<area shape="rect" id="node32" href="generating_points_8h.html#a2f7b981bd314f565407a2db0358bf81b" title="fisherDistribution" alt="" coords="993,144,1114,171"/>
<area shape="rect" id="node33" href="output_8h.html#a57b8bb3d7eca7bea96500d210f45bee4" title="writeRotationData" alt="" coords="149,43,277,69"/>
<area shape="rect" id="node34" href="vector_functions_8h.html#afd59d451cff22898e4153261bc1fb38e" title="angleBeteenVectors" alt="" coords="142,575,285,601"/>
<area shape="rect" id="node35" href="vector_functions_8h.html#a7038a32284147d86abda1f0b54b83a4e" title="parallel" alt="" coords="390,651,455,677"/>
<area shape="rect" id="node3" href="computational_geometry_8h.html#a0d5da6b9c8dc5c9193e7ea07d2ba466e" title="applyRotation3D" alt="" coords="993,195,1113,221"/>
<area shape="rect" id="node12" href="computational_geometry_8h.html#a06628fbaa79aad7eec7a74c5341e77bd" title="polyAndIntersection\l_RotationToXY" alt="" coords="984,61,1123,102"/>
<area shape="rect" id="node4" href="insert_shape_8h.html#a4f91304a14fefba4d4f93f2f3e54dee4" title="generatePoly" alt="" coords="1207,93,1307,120"/>
<area shape="rect" id="node7" href="insert_shape_8h.html#a4a4d307b0a091a6159358f312371ae95" title="generatePoly_withRadius" alt="" coords="1171,144,1344,171"/>
<area shape="rect" id="node8" href="insert_shape_8h.html#afa95ede56e6ecb8918b61c5a2815d40d" title="reTranslatePoly" alt="" coords="1199,195,1315,221"/>
<area shape="rect" id="node9" href="insert_user_ell_8cpp.html#a9841b356b0460e297748d6648c301558" title="insertUserEll" alt="" coords="1429,347,1526,373"/>
<area shape="rect" id="node10" href="insert_user_rects_8cpp.html#af69365c2e0148366aabe6751ffc54a79" title="insertUserRects" alt="" coords="1419,245,1536,272"/>
<area shape="rect" id="node11" href="output_8h.html#a05f2f6fb056bf06f18530445383e53d1" title="rotateFractures" alt="" coords="1201,245,1313,272"/>
<area shape="rect" id="node5" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1611,296,1661,323"/>
<area shape="rect" id="node6" href="fracture_estimating_8h.html#a7cf21b594fd24b2879af467e23bdac0a" title="dryRun" alt="" coords="1445,144,1510,171"/>
<area shape="rect" id="node13" href="output_8h.html#a28522d95b2cb41e475acf0136cc6a58e" title="writeIntersectionFiles" alt="" coords="1184,43,1331,69"/>
<area shape="rect" id="node14" href="output_8h.html#ad84815b625587d2194321694a13f2477" title="writeOutput" alt="" coords="1432,43,1523,69"/>
<area shape="rect" id="node16" href="computational_geometry_8h.html#aff243280740a51cada5c0dd94021fb66" title="intersectionChecking" alt="" coords="1185,448,1330,475"/>
<area shape="rect" id="node17" href="insert_user_ell_by_coord_8cpp.html#a49e6b0be012ed44c6ef83ea66ed6dd86" title="insertUserEllByCoord" alt="" coords="1403,448,1552,475"/>
<area shape="rect" id="node18" href="insert_user_rects_by_coord_8cpp.html#a244f461634679dc91d08da3e183f9b8c" title="insertUserRectsByCoord" alt="" coords="1393,397,1562,424"/>
<area shape="rect" id="node19" href="remove_fractures_8h.html#a016a4a3e0104523549279e6f6cf6c6d8" title="removeFractures" alt="" coords="1416,549,1539,576"/>
<area shape="rect" id="node21" href="computational_geometry_8h.html#a69f93a65c39c49d1b705fad32f790e98" title="shrinkIntersection" alt="" coords="562,448,689,475"/>
<area shape="rect" id="node22" href="computational_geometry_8h.html#adf34efb0050985566dfb41f51967680f" title="checkCloseEdge" alt="" coords="776,448,899,475"/>
<area shape="rect" id="node24" href="computational_geometry_8h.html#a63cb49a89f3b90a72aea7b6a24548633" title="checkDistanceFromNodes" alt="" coords="333,499,512,525"/>
<area shape="rect" id="node25" href="computational_geometry_8h.html#a545f45434dcbd126c6ff994b9ec2588b" title="lineSegToLineSegSep" alt="" coords="345,549,500,576"/>
<area shape="rect" id="node23" href="computational_geometry_8h.html#a7ada98067054623a6bcc19ab19403682" title="FRAM" alt="" coords="1023,448,1083,475"/>
<area shape="rect" id="node26" href="computational_geometry_8h.html#a5edbf5558b99624dfb90275aa07ba149" title="lineSegToLineSeg" alt="" coords="560,549,691,576"/>
<area shape="rect" id="node27" href="computational_geometry_8h.html#ac1228db3b0fb85b1a5233b1fb78edd4a" title="checkDistToOldIntersections" alt="" coords="741,549,933,576"/>
<area shape="rect" id="node28" href="computational_geometry_8h.html#a4c94ffa2818f164dbda3f1cb6f0fb9a8" title="checkDistToNewIntersections" alt="" coords="739,499,936,525"/>
</map>
</div>

</div>
</div>
<a id="af04ebdcbe44a303101290e88a5971c71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af04ebdcbe44a303101290e88a5971c71">&sect;&nbsp;</a></span>euclideanDistance() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double euclideanDistance </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>A</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>B</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vector_functions_8cpp_source.html#l00046">46</a> of file <a class="el" href="vector_functions_8cpp_source.html">vectorFunctions.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h_af04ebdcbe44a303101290e88a5971c71_icgraph.png" border="0" usemap="#vector_functions_8h_af04ebdcbe44a303101290e88a5971c71_icgraph" alt=""/></div>
<map name="vector_functions_8h_af04ebdcbe44a303101290e88a5971c71_icgraph" id="vector_functions_8h_af04ebdcbe44a303101290e88a5971c71_icgraph">
<area shape="rect" id="node2" href="computational_geometry_8h.html#a237899188f8ca6cf74a2da890cd13868" title="checkForTripleIntersections" alt="" coords="185,170,370,197"/>
<area shape="rect" id="node7" href="insert_user_ell_by_coord_8cpp.html#a49e6b0be012ed44c6ef83ea66ed6dd86" title="insertUserEllByCoord" alt="" coords="819,246,968,273"/>
<area shape="rect" id="node11" href="output_8h.html#a28522d95b2cb41e475acf0136cc6a58e" title="writeIntersectionFiles" alt="" coords="419,297,565,323"/>
<area shape="rect" id="node3" href="computational_geometry_8h.html#a7ada98067054623a6bcc19ab19403682" title="FRAM" alt="" coords="462,170,522,197"/>
<area shape="rect" id="node4" href="computational_geometry_8h.html#aff243280740a51cada5c0dd94021fb66" title="intersectionChecking" alt="" coords="614,145,759,171"/>
<area shape="rect" id="node5" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1027,145,1077,171"/>
<area shape="rect" id="node6" href="insert_user_ell_8cpp.html#a9841b356b0460e297748d6648c301558" title="insertUserEll" alt="" coords="845,43,942,70"/>
<area shape="rect" id="node8" href="insert_user_rects_8cpp.html#af69365c2e0148366aabe6751ffc54a79" title="insertUserRects" alt="" coords="835,94,952,121"/>
<area shape="rect" id="node9" href="insert_user_rects_by_coord_8cpp.html#a244f461634679dc91d08da3e183f9b8c" title="insertUserRectsByCoord" alt="" coords="809,145,978,171"/>
<area shape="rect" id="node10" href="remove_fractures_8h.html#a016a4a3e0104523549279e6f6cf6c6d8" title="removeFractures" alt="" coords="832,195,955,222"/>
<area shape="rect" id="node12" href="output_8h.html#ad84815b625587d2194321694a13f2477" title="writeOutput" alt="" coords="641,297,732,323"/>
</map>
</div>

</div>
</div>
<a id="ac02fbd874b60abb201dce0afd7775416"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac02fbd874b60abb201dce0afd7775416">&sect;&nbsp;</a></span>euclideanDistance() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double euclideanDistance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_point.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>A</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_point.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>B</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vector_functions_8cpp_source.html#l00057">57</a> of file <a class="el" href="vector_functions_8cpp_source.html">vectorFunctions.cpp</a>.</p>

</div>
</div>
<a id="a92da2058f3ed2a6db16d2fe0e445794a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92da2058f3ed2a6db16d2fe0e445794a">&sect;&nbsp;</a></span>magnitude()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T magnitude </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Calculates magnitude of a vector Arg 1: x Arg 2: y Arg 3: z Return: Magnitude of {x,y,z} </p>

<p>Definition at line <a class="el" href="vector_functions_8h_source.html#l00086">86</a> of file <a class="el" href="vector_functions_8h_source.html">vectorFunctions.h</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h_a92da2058f3ed2a6db16d2fe0e445794a_icgraph.png" border="0" usemap="#vector_functions_8h_a92da2058f3ed2a6db16d2fe0e445794a_icgraph" alt=""/></div>
<map name="vector_functions_8h_a92da2058f3ed2a6db16d2fe0e445794a_icgraph" id="vector_functions_8h_a92da2058f3ed2a6db16d2fe0e445794a_icgraph">
<area shape="rect" id="node2" href="computational_geometry_8h.html#a7ada98067054623a6bcc19ab19403682" title="FRAM" alt="" coords="1006,221,1066,247"/>
<area shape="rect" id="node3" href="computational_geometry_8h.html#aff243280740a51cada5c0dd94021fb66" title="intersectionChecking" alt="" coords="1115,334,1261,361"/>
<area shape="rect" id="node6" href="insert_user_ell_by_coord_8cpp.html#a49e6b0be012ed44c6ef83ea66ed6dd86" title="insertUserEllByCoord" alt="" coords="1320,309,1469,335"/>
<area shape="rect" id="node8" href="insert_user_rects_by_coord_8cpp.html#a244f461634679dc91d08da3e183f9b8c" title="insertUserRectsByCoord" alt="" coords="1310,359,1479,386"/>
<area shape="rect" id="node10" href="computational_geometry_8h.html#a69f93a65c39c49d1b705fad32f790e98" title="shrinkIntersection" alt="" coords="345,94,471,121"/>
<area shape="rect" id="node12" href="computational_geometry_8h.html#a5e3e0a14f3ad58c314ce2e6a29b03fa2" title="pointToLineSeg" alt="" coords="153,195,269,222"/>
<area shape="rect" id="node15" href="computational_geometry_8h.html#a5edbf5558b99624dfb90275aa07ba149" title="lineSegToLineSeg" alt="" coords="557,246,688,273"/>
<area shape="rect" id="node19" href="domain_8h.html#aed3d77c17f33d2024704b479d0885332" title="domainTruncation" alt="" coords="1123,449,1253,475"/>
<area shape="rect" id="node21" href="insert_shape_8h.html#a4f91304a14fefba4d4f93f2f3e54dee4" title="generatePoly" alt="" coords="1138,613,1238,639"/>
<area shape="rect" id="node22" href="insert_shape_8h.html#a4a4d307b0a091a6159358f312371ae95" title="generatePoly_withRadius" alt="" coords="536,550,709,577"/>
<area shape="rect" id="node23" href="math_functions_8h.html#a78276693aa55fab858a41366e5b4aa73" title="getArea" alt="" coords="1153,499,1223,526"/>
<area shape="rect" id="node24" href="vector_functions_8h.html#afd59d451cff22898e4153261bc1fb38e" title="angleBeteenVectors" alt="" coords="139,651,282,678"/>
<area shape="rect" id="node4" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1528,435,1579,462"/>
<area shape="rect" id="node5" href="insert_user_ell_8cpp.html#a9841b356b0460e297748d6648c301558" title="insertUserEll" alt="" coords="1346,410,1443,437"/>
<area shape="rect" id="node7" href="insert_user_rects_8cpp.html#af69365c2e0148366aabe6751ffc54a79" title="insertUserRects" alt="" coords="1336,461,1453,487"/>
<area shape="rect" id="node9" href="remove_fractures_8h.html#a016a4a3e0104523549279e6f6cf6c6d8" title="removeFractures" alt="" coords="1333,258,1456,285"/>
<area shape="rect" id="node11" href="computational_geometry_8h.html#adf34efb0050985566dfb41f51967680f" title="checkCloseEdge" alt="" coords="797,145,920,171"/>
<area shape="rect" id="node13" href="computational_geometry_8h.html#a63cb49a89f3b90a72aea7b6a24548633" title="checkDistanceFromNodes" alt="" coords="533,195,712,222"/>
<area shape="rect" id="node14" href="computational_geometry_8h.html#a545f45434dcbd126c6ff994b9ec2588b" title="lineSegToLineSegSep" alt="" coords="331,246,485,273"/>
<area shape="rect" id="node16" href="computational_geometry_8h.html#ac1228db3b0fb85b1a5233b1fb78edd4a" title="checkDistToOldIntersections" alt="" coords="763,246,955,273"/>
<area shape="rect" id="node17" href="computational_geometry_8h.html#a4c94ffa2818f164dbda3f1cb6f0fb9a8" title="checkDistToNewIntersections" alt="" coords="760,297,957,323"/>
<area shape="rect" id="node18" href="computational_geometry_8h.html#a237899188f8ca6cf74a2da890cd13868" title="checkForTripleIntersections" alt="" coords="766,195,951,222"/>
<area shape="rect" id="node20" href="fracture_estimating_8h.html#a7cf21b594fd24b2879af467e23bdac0a" title="dryRun" alt="" coords="1362,613,1427,639"/>
</map>
</div>

</div>
</div>
<a id="a48bb00fc4195377b229efe044f3bb67e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48bb00fc4195377b229efe044f3bb67e">&sect;&nbsp;</a></span>normalize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void normalize </td>
          <td>(</td>
          <td class="paramtype">T *&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Normalizes vector passed into fucntion. Arg 1: Vector (3 element array) to be normalized. </p>

<p>Definition at line <a class="el" href="vector_functions_8h_source.html#l00036">36</a> of file <a class="el" href="vector_functions_8h_source.html">vectorFunctions.h</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h_a48bb00fc4195377b229efe044f3bb67e_icgraph.png" border="0" usemap="#vector_functions_8h_a48bb00fc4195377b229efe044f3bb67e_icgraph" alt=""/></div>
<map name="vector_functions_8h_a48bb00fc4195377b229efe044f3bb67e_icgraph" id="vector_functions_8h_a48bb00fc4195377b229efe044f3bb67e_icgraph">
<area shape="rect" id="node2" href="computational_geometry_8h.html#a9eb32a7555c136fb7960f9f13db70004" title="lineIntersection3D" alt="" coords="155,94,285,121"/>
<area shape="rect" id="node8" href="insert_user_ell_8cpp.html#a9841b356b0460e297748d6648c301558" title="insertUserEll" alt="" coords="1149,94,1246,121"/>
<area shape="rect" id="node9" href="insert_user_ell_by_coord_8cpp.html#a49e6b0be012ed44c6ef83ea66ed6dd86" title="insertUserEllByCoord" alt="" coords="1123,246,1272,273"/>
<area shape="rect" id="node10" href="insert_user_rects_8cpp.html#af69365c2e0148366aabe6751ffc54a79" title="insertUserRects" alt="" coords="1139,297,1256,323"/>
<area shape="rect" id="node11" href="insert_user_rects_by_coord_8cpp.html#a244f461634679dc91d08da3e183f9b8c" title="insertUserRectsByCoord" alt="" coords="1113,347,1282,374"/>
<area shape="rect" id="node15" href="computational_geometry_8h.html#a237899188f8ca6cf74a2da890cd13868" title="checkForTripleIntersections" alt="" coords="539,195,725,222"/>
<area shape="rect" id="node16" href="insert_shape_8h.html#a4f91304a14fefba4d4f93f2f3e54dee4" title="generatePoly" alt="" coords="170,398,270,425"/>
<area shape="rect" id="node18" href="insert_shape_8h.html#a4a4d307b0a091a6159358f312371ae95" title="generatePoly_withRadius" alt="" coords="133,449,307,475"/>
<area shape="rect" id="node19" href="output_8h.html#a57b8bb3d7eca7bea96500d210f45bee4" title="writeRotationData" alt="" coords="356,499,484,526"/>
<area shape="rect" id="node21" href="vector_functions_8h.html#a7038a32284147d86abda1f0b54b83a4e" title="parallel" alt="" coords="187,145,253,171"/>
<area shape="rect" id="node3" href="computational_geometry_8h.html#a5edbf5558b99624dfb90275aa07ba149" title="lineSegToLineSeg" alt="" coords="355,119,485,146"/>
<area shape="rect" id="node4" href="computational_geometry_8h.html#ac1228db3b0fb85b1a5233b1fb78edd4a" title="checkDistToOldIntersections" alt="" coords="536,43,728,70"/>
<area shape="rect" id="node13" href="computational_geometry_8h.html#a4c94ffa2818f164dbda3f1cb6f0fb9a8" title="checkDistToNewIntersections" alt="" coords="533,94,731,121"/>
<area shape="rect" id="node14" href="computational_geometry_8h.html#adf34efb0050985566dfb41f51967680f" title="checkCloseEdge" alt="" coords="571,145,693,171"/>
<area shape="rect" id="node5" href="computational_geometry_8h.html#a7ada98067054623a6bcc19ab19403682" title="FRAM" alt="" coords="794,145,854,171"/>
<area shape="rect" id="node6" href="computational_geometry_8h.html#aff243280740a51cada5c0dd94021fb66" title="intersectionChecking" alt="" coords="918,195,1063,222"/>
<area shape="rect" id="node7" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1331,297,1381,323"/>
<area shape="rect" id="node12" href="remove_fractures_8h.html#a016a4a3e0104523549279e6f6cf6c6d8" title="removeFractures" alt="" coords="1136,145,1259,171"/>
<area shape="rect" id="node17" href="fracture_estimating_8h.html#a7cf21b594fd24b2879af467e23bdac0a" title="dryRun" alt="" coords="387,449,453,475"/>
<area shape="rect" id="node20" href="output_8h.html#ad84815b625587d2194321694a13f2477" title="writeOutput" alt="" coords="779,499,869,526"/>
</map>
</div>

</div>
</div>
<a id="a7038a32284147d86abda1f0b54b83a4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7038a32284147d86abda1f0b54b83a4e">&sect;&nbsp;</a></span>parallel()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool parallel </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Check if two vectors are parallel Arg 1: Pointer to vector 1, array of three doubles Arg 2: Pointer to vector 2, array of three doubles Output: True if vectors are parallel False otherwise </p>

<p>Definition at line <a class="el" href="vector_functions_8h_source.html#l00109">109</a> of file <a class="el" href="vector_functions_8h_source.html">vectorFunctions.h</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h_a7038a32284147d86abda1f0b54b83a4e_cgraph.png" border="0" usemap="#vector_functions_8h_a7038a32284147d86abda1f0b54b83a4e_cgraph" alt=""/></div>
<map name="vector_functions_8h_a7038a32284147d86abda1f0b54b83a4e_cgraph" id="vector_functions_8h_a7038a32284147d86abda1f0b54b83a4e_cgraph">
<area shape="rect" id="node2" href="vector_functions_8h.html#a48bb00fc4195377b229efe044f3bb67e" title="normalize" alt="" coords="124,5,204,32"/>
<area shape="rect" id="node3" href="vector_functions_8h.html#abb1d4beb5939c7a5ddd4978c15fab7bb" title="dotProduct" alt="" coords="121,56,207,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h_a7038a32284147d86abda1f0b54b83a4e_icgraph.png" border="0" usemap="#vector_functions_8h_a7038a32284147d86abda1f0b54b83a4e_icgraph" alt=""/></div>
<map name="vector_functions_8h_a7038a32284147d86abda1f0b54b83a4e_icgraph" id="vector_functions_8h_a7038a32284147d86abda1f0b54b83a4e_icgraph">
<area shape="rect" id="node2" href="computational_geometry_8h.html#a5edbf5558b99624dfb90275aa07ba149" title="lineSegToLineSeg" alt="" coords="120,117,251,143"/>
<area shape="rect" id="node3" href="computational_geometry_8h.html#ac1228db3b0fb85b1a5233b1fb78edd4a" title="checkDistToOldIntersections" alt="" coords="301,41,493,67"/>
<area shape="rect" id="node12" href="computational_geometry_8h.html#a4c94ffa2818f164dbda3f1cb6f0fb9a8" title="checkDistToNewIntersections" alt="" coords="299,91,496,118"/>
<area shape="rect" id="node13" href="computational_geometry_8h.html#adf34efb0050985566dfb41f51967680f" title="checkCloseEdge" alt="" coords="336,142,459,169"/>
<area shape="rect" id="node14" href="computational_geometry_8h.html#a237899188f8ca6cf74a2da890cd13868" title="checkForTripleIntersections" alt="" coords="305,193,490,219"/>
<area shape="rect" id="node4" href="computational_geometry_8h.html#a7ada98067054623a6bcc19ab19403682" title="FRAM" alt="" coords="545,117,605,143"/>
<area shape="rect" id="node5" href="computational_geometry_8h.html#aff243280740a51cada5c0dd94021fb66" title="intersectionChecking" alt="" coords="654,117,799,143"/>
<area shape="rect" id="node6" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1067,117,1117,143"/>
<area shape="rect" id="node7" href="insert_user_ell_8cpp.html#a9841b356b0460e297748d6648c301558" title="insertUserEll" alt="" coords="885,41,982,67"/>
<area shape="rect" id="node8" href="insert_user_ell_by_coord_8cpp.html#a49e6b0be012ed44c6ef83ea66ed6dd86" title="insertUserEllByCoord" alt="" coords="859,91,1008,118"/>
<area shape="rect" id="node9" href="insert_user_rects_8cpp.html#af69365c2e0148366aabe6751ffc54a79" title="insertUserRects" alt="" coords="875,142,992,169"/>
<area shape="rect" id="node10" href="insert_user_rects_by_coord_8cpp.html#a244f461634679dc91d08da3e183f9b8c" title="insertUserRectsByCoord" alt="" coords="849,193,1018,219"/>
<area shape="rect" id="node11" href="remove_fractures_8h.html#a016a4a3e0104523549279e6f6cf6c6d8" title="removeFractures" alt="" coords="872,243,995,270"/>
</map>
</div>

</div>
</div>
<a id="a59882f4d39496e4e204d837592ac767b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59882f4d39496e4e204d837592ac767b">&sect;&nbsp;</a></span>printVertices()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void printVertices </td>
          <td>(</td>
          <td class="paramtype">T *&#160;</td>
          <td class="paramname"><em>vert</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numVertices</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Prints vertices with {x, y, z} format. Arg 1: Pointer to vertice array. Expects array length to be a multple of three Arg 2: Number of vertices in array </p>

<p>Definition at line <a class="el" href="vector_functions_8h_source.html#l00070">70</a> of file <a class="el" href="vector_functions_8h_source.html">vectorFunctions.h</a>.</p>

</div>
</div>
<a id="a3c2b95a1658779bf4d2b104fa9513e75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c2b95a1658779bf4d2b104fa9513e75">&sect;&nbsp;</a></span>projection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double* projection </td>
          <td>(</td>
          <td class="paramtype">const double *&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double *&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="vector_functions_8cpp_source.html#l00020">20</a> of file <a class="el" href="vector_functions_8cpp_source.html">vectorFunctions.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h_a3c2b95a1658779bf4d2b104fa9513e75_icgraph.png" border="0" usemap="#vector_functions_8h_a3c2b95a1658779bf4d2b104fa9513e75_icgraph" alt=""/></div>
<map name="vector_functions_8h_a3c2b95a1658779bf4d2b104fa9513e75_icgraph" id="vector_functions_8h_a3c2b95a1658779bf4d2b104fa9513e75_icgraph">
<area shape="rect" id="node2" href="computational_geometry_8h.html#a5e3e0a14f3ad58c314ce2e6a29b03fa2" title="pointToLineSeg" alt="" coords="134,81,250,108"/>
<area shape="rect" id="node3" href="computational_geometry_8h.html#a69f93a65c39c49d1b705fad32f790e98" title="shrinkIntersection" alt="" coords="527,5,654,32"/>
<area shape="rect" id="node4" href="computational_geometry_8h.html#adf34efb0050985566dfb41f51967680f" title="checkCloseEdge" alt="" coords="741,56,864,83"/>
<area shape="rect" id="node13" href="computational_geometry_8h.html#a63cb49a89f3b90a72aea7b6a24548633" title="checkDistanceFromNodes" alt="" coords="299,107,477,133"/>
<area shape="rect" id="node14" href="computational_geometry_8h.html#a545f45434dcbd126c6ff994b9ec2588b" title="lineSegToLineSegSep" alt="" coords="311,157,465,184"/>
<area shape="rect" id="node5" href="computational_geometry_8h.html#a7ada98067054623a6bcc19ab19403682" title="FRAM" alt="" coords="950,132,1010,159"/>
<area shape="rect" id="node6" href="computational_geometry_8h.html#aff243280740a51cada5c0dd94021fb66" title="intersectionChecking" alt="" coords="1059,132,1205,159"/>
<area shape="rect" id="node7" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1472,132,1523,159"/>
<area shape="rect" id="node8" href="insert_user_ell_8cpp.html#a9841b356b0460e297748d6648c301558" title="insertUserEll" alt="" coords="1290,56,1387,83"/>
<area shape="rect" id="node9" href="insert_user_ell_by_coord_8cpp.html#a49e6b0be012ed44c6ef83ea66ed6dd86" title="insertUserEllByCoord" alt="" coords="1264,107,1413,133"/>
<area shape="rect" id="node10" href="insert_user_rects_8cpp.html#af69365c2e0148366aabe6751ffc54a79" title="insertUserRects" alt="" coords="1280,157,1397,184"/>
<area shape="rect" id="node11" href="insert_user_rects_by_coord_8cpp.html#a244f461634679dc91d08da3e183f9b8c" title="insertUserRectsByCoord" alt="" coords="1254,208,1423,235"/>
<area shape="rect" id="node12" href="remove_fractures_8h.html#a016a4a3e0104523549279e6f6cf6c6d8" title="removeFractures" alt="" coords="1277,259,1400,285"/>
<area shape="rect" id="node15" href="computational_geometry_8h.html#a5edbf5558b99624dfb90275aa07ba149" title="lineSegToLineSeg" alt="" coords="525,157,656,184"/>
<area shape="rect" id="node16" href="computational_geometry_8h.html#ac1228db3b0fb85b1a5233b1fb78edd4a" title="checkDistToOldIntersections" alt="" coords="707,107,899,133"/>
<area shape="rect" id="node17" href="computational_geometry_8h.html#a4c94ffa2818f164dbda3f1cb6f0fb9a8" title="checkDistToNewIntersections" alt="" coords="704,157,901,184"/>
<area shape="rect" id="node18" href="computational_geometry_8h.html#a237899188f8ca6cf74a2da890cd13868" title="checkForTripleIntersections" alt="" coords="710,208,895,235"/>
</map>
</div>

</div>
</div>
<a id="ad5177d4868472616bd9fac80a8b65f78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5177d4868472616bd9fac80a8b65f78">&sect;&nbsp;</a></span>sqrMagnitude()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T sqrMagnitude </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Calculates the square magnitude of a vector Arg 1: x Arg 2: y Arg 3: z Return: Square magnitude of {x,y,z} </p>

<p>Definition at line <a class="el" href="vector_functions_8h_source.html#l00098">98</a> of file <a class="el" href="vector_functions_8h_source.html">vectorFunctions.h</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="vector_functions_8h_ad5177d4868472616bd9fac80a8b65f78_icgraph.png" border="0" usemap="#vector_functions_8h_ad5177d4868472616bd9fac80a8b65f78_icgraph" alt=""/></div>
<map name="vector_functions_8h_ad5177d4868472616bd9fac80a8b65f78_icgraph" id="vector_functions_8h_ad5177d4868472616bd9fac80a8b65f78_icgraph">
<area shape="rect" id="node2" href="computational_geometry_8h.html#a5e3e0a14f3ad58c314ce2e6a29b03fa2" title="pointToLineSeg" alt="" coords="158,81,274,108"/>
<area shape="rect" id="node3" href="computational_geometry_8h.html#a69f93a65c39c49d1b705fad32f790e98" title="shrinkIntersection" alt="" coords="551,5,678,32"/>
<area shape="rect" id="node4" href="computational_geometry_8h.html#adf34efb0050985566dfb41f51967680f" title="checkCloseEdge" alt="" coords="765,56,888,83"/>
<area shape="rect" id="node13" href="computational_geometry_8h.html#a63cb49a89f3b90a72aea7b6a24548633" title="checkDistanceFromNodes" alt="" coords="323,107,501,133"/>
<area shape="rect" id="node14" href="computational_geometry_8h.html#a545f45434dcbd126c6ff994b9ec2588b" title="lineSegToLineSegSep" alt="" coords="335,157,489,184"/>
<area shape="rect" id="node5" href="computational_geometry_8h.html#a7ada98067054623a6bcc19ab19403682" title="FRAM" alt="" coords="974,132,1034,159"/>
<area shape="rect" id="node6" href="computational_geometry_8h.html#aff243280740a51cada5c0dd94021fb66" title="intersectionChecking" alt="" coords="1083,132,1229,159"/>
<area shape="rect" id="node7" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1496,132,1547,159"/>
<area shape="rect" id="node8" href="insert_user_ell_8cpp.html#a9841b356b0460e297748d6648c301558" title="insertUserEll" alt="" coords="1314,56,1411,83"/>
<area shape="rect" id="node9" href="insert_user_ell_by_coord_8cpp.html#a49e6b0be012ed44c6ef83ea66ed6dd86" title="insertUserEllByCoord" alt="" coords="1288,107,1437,133"/>
<area shape="rect" id="node10" href="insert_user_rects_8cpp.html#af69365c2e0148366aabe6751ffc54a79" title="insertUserRects" alt="" coords="1304,157,1421,184"/>
<area shape="rect" id="node11" href="insert_user_rects_by_coord_8cpp.html#a244f461634679dc91d08da3e183f9b8c" title="insertUserRectsByCoord" alt="" coords="1278,208,1447,235"/>
<area shape="rect" id="node12" href="remove_fractures_8h.html#a016a4a3e0104523549279e6f6cf6c6d8" title="removeFractures" alt="" coords="1301,259,1424,285"/>
<area shape="rect" id="node15" href="computational_geometry_8h.html#a5edbf5558b99624dfb90275aa07ba149" title="lineSegToLineSeg" alt="" coords="549,157,680,184"/>
<area shape="rect" id="node16" href="computational_geometry_8h.html#ac1228db3b0fb85b1a5233b1fb78edd4a" title="checkDistToOldIntersections" alt="" coords="731,107,923,133"/>
<area shape="rect" id="node17" href="computational_geometry_8h.html#a4c94ffa2818f164dbda3f1cb6f0fb9a8" title="checkDistToNewIntersections" alt="" coords="728,157,925,184"/>
<area shape="rect" id="node18" href="computational_geometry_8h.html#a237899188f8ca6cf74a2da890cd13868" title="checkForTripleIntersections" alt="" coords="734,208,919,235"/>
</map>
</div>

</div>
</div>
</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="vector_functions_8h.html">vectorFunctions.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>
