92 lines
77 KiB
HTML
92 lines
77 KiB
HTML
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0//EN'>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>Katabatic Documentation</title>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="SoC.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
<h1 id="pagetop" class="header">Katabatic - Routing Toolbox</h1>
|
|
<!--
|
|
<center class="header">
|
|
<table class="header">
|
|
<tr>
|
|
<td><a href="customSummary.html">Summary</a></td>
|
|
<td><a href="namespaces.html">Namespaces</a></td>
|
|
<td><a href="customHierarchy.html">Class Hierarchy</a></td>
|
|
<td><a href="annotated.html">Classes</a></td>
|
|
<td><a href="functions.html">Member Index</a></td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
-->
|
|
<br>
|
|
<body onload="javascript:toggleLevel(1)">
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',false,false,'search.php','Search');
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_46a5d811a0c60e95b7acaa92d73c003a.html">katabatic</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Grid.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// -*- C++ -*-</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// This file is part of the Coriolis Software.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Copyright (c) UPMC 2008-2018, All Rights Reserved</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// +-----------------------------------------------------------------+</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// | C O R I O L I S |</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// | K a t a b a t i c - Routing Toolbox |</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// | |</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// | Author : Jean-Paul CHAPUT |</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// | E-mail : Jean-Paul.Chaput@lip6.fr |</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// | =============================================================== |</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// | C++ Header : "./katabatic/Grid.h" |</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// +-----------------------------------------------------------------+</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef KATABATIC_GRID_H</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define KATABATIC_GRID_H</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "hurricane/Point.h"</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "hurricane/Box.h"</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "hurricane/Collection.h"</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span><a class="code" href="namespaceKatabatic.html">Katabatic</a> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">using</span> std::string;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">using</span> std::vector;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">using</span> Hurricane::_TName;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">using</span> Hurricane::Record;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1DbU.html">Hurricane::DbU</a>;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Point.html">Hurricane::Point</a>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Hurricane::Box</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Collection.html">Hurricane::Collection</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1GenericCollection.html">Hurricane::GenericCollection</a>;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">using</span> Hurricane::getCollection;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// -------------------------------------------------------------------</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// Class : "Katabatic::BaseGrid".</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html"> 44</a></span>  <span class="keyword">class </span><a class="code" href="classKatabatic_1_1BaseGrid.html">BaseGrid</a> {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">class </span><a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html">Axis</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a3a80b6032f86a56bec74609034b3246f">destroy</a> ();</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">// Accessors.</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> isOnTopBorder ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ) <span class="keyword">const</span>;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> isOnRightBorder ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ) <span class="keyword">const</span>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">inline</span> <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Box</a>& <a class="code" href="classKatabatic_1_1BaseGrid.html#a4b6cf5a28d88d7ad3e6ddeac28a35a0b">getBoundingBox</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#aeaf0dae788f4c997e6172f9c734e3a91">getColumns</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a4bad6abc58473d953258a3230506291a">getRows</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a47cf844f090417180d0bae098133565e">getRawSize</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#aae84726d9984c1df9905fc97d9b34f28">getIndex</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> r ) <span class="keyword">const</span>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a8108a276ab72226244d302fb1b59f3f1">getRow</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ) <span class="keyword">const</span>;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a21a8582c0c89a61d1963262fa053bc1b">getColumn</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ) <span class="keyword">const</span>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html">Axis</a>& <a class="code" href="classKatabatic_1_1BaseGrid.html#a1e3eea49f6f58fb8d0b3fa73f5cf3fd7">getXGrads</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html">Axis</a>& <a class="code" href="classKatabatic_1_1BaseGrid.html#ab11d8b83eaa19f5fe6fecc63a8bb203e">getYGrads</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// Inspector Managment. </span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">virtual</span> Record* _getRecord () <span class="keyword">const</span>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">virtual</span> <span class="keywordtype">string</span> _getString () <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// Sub-Class Grid::Axis. </span></div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid_1_1Axis.html"> 68</a></span>  <span class="keyword">class </span><a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html">Axis</a> {</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">// Modifiers.</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html#ada526136545060f41e8b9228ce1c5895">addGraduation</a> ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> );</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">void</span> <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html#a47fdc9eea42b6975cdc835bb2e08810e">sort</a> ();</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="comment">// Accessors.</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html#a9be1e4285daa77fe397767c097fbdc66">getSize</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html#a2a6bd524227130d8ccf482aa2c484a42">getGraduationNumber</a> ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> pos, <span class="keywordtype">bool</span>& onGraduation ) <span class="keyword">const</span>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// Operators.</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">inline</span> <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a>& <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html#a074a4f61306b88baac6bbf54b0b3212c">operator[] </a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i ) <span class="keyword">const</span>;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// Inspector Management.</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  Record* _getRecord () <span class="keyword">const</span>;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">string</span> _getString () <span class="keyword">const</span>;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">inline</span> <span class="keywordtype">string</span> _getTypeName () <span class="keyword">const</span>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">string</span> _print () <span class="keyword">const</span>;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="comment">// Attributes.</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  vector<DbU::Unit> _graduations;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  };</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// Attributes.</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Box</a> _boundingBox;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html">Axis</a> _xGraduations;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html">Axis</a> _yGraduations;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _rows;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _columns;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _rawSize;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="comment">// Constructors & Destructors.</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="classKatabatic_1_1BaseGrid.html#ac479157e8ac115074615167e8a4a2789">BaseGrid</a> ( <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Box</a>& );</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">virtual</span> ~<a class="code" href="classKatabatic_1_1BaseGrid.html">BaseGrid</a> ();</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> _postCreate ();</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> _preDestroy ();</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="classKatabatic_1_1BaseGrid.html#ac479157e8ac115074615167e8a4a2789">BaseGrid</a> ( <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1BaseGrid.html">BaseGrid</a>& );</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="classKatabatic_1_1BaseGrid.html">BaseGrid</a>& operator= ( <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1BaseGrid.html">BaseGrid</a>& );</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  };</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment">// Inline Functions.</span></div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid_1_1Axis.html#ada526136545060f41e8b9228ce1c5895"> 110</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html#ada526136545060f41e8b9228ce1c5895">BaseGrid::Axis::addGraduation</a> ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> graduation ) { _graduations.push_back(graduation); }</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid_1_1Axis.html#a9be1e4285daa77fe397767c097fbdc66"> 111</a></span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html#a9be1e4285daa77fe397767c097fbdc66">BaseGrid::Axis::getSize</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _graduations.size(); }</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid_1_1Axis.html#a074a4f61306b88baac6bbf54b0b3212c"> 112</a></span>  <span class="keyword">inline</span> <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a>& <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html#a074a4f61306b88baac6bbf54b0b3212c">BaseGrid::Axis::operator[] </a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _graduations[i]; }</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">inline</span> <span class="keywordtype">string</span> BaseGrid::Axis::_getTypeName ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _TName(<span class="stringliteral">"BaseGrid::Axis"</span>); }</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html#a3a80b6032f86a56bec74609034b3246f"> 115</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a3a80b6032f86a56bec74609034b3246f">BaseGrid::destroy</a> () { _preDestroy(); <span class="keyword">delete</span> <span class="keyword">this</span>; }</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html#a4b6cf5a28d88d7ad3e6ddeac28a35a0b"> 116</a></span>  <span class="keyword">inline</span> <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Box</a>& <a class="code" href="classKatabatic_1_1BaseGrid.html#a4b6cf5a28d88d7ad3e6ddeac28a35a0b">BaseGrid::getBoundingBox</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _boundingBox; };</div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html#aeaf0dae788f4c997e6172f9c734e3a91"> 117</a></span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#aeaf0dae788f4c997e6172f9c734e3a91">BaseGrid::getColumns</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _columns; };</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html#a4bad6abc58473d953258a3230506291a"> 118</a></span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a4bad6abc58473d953258a3230506291a">BaseGrid::getRows</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _rows; };</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html#a47cf844f090417180d0bae098133565e"> 119</a></span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a47cf844f090417180d0bae098133565e">BaseGrid::getRawSize</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#aeaf0dae788f4c997e6172f9c734e3a91">getColumns</a>() * <a class="code" href="classKatabatic_1_1BaseGrid.html#a4bad6abc58473d953258a3230506291a">getRows</a>(); }</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html#aae84726d9984c1df9905fc97d9b34f28"> 120</a></span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#aae84726d9984c1df9905fc97d9b34f28">BaseGrid::getIndex</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> r )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> c+(r*<a class="code" href="classKatabatic_1_1BaseGrid.html#aeaf0dae788f4c997e6172f9c734e3a91">getColumns</a>()); }</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html#a8108a276ab72226244d302fb1b59f3f1"> 121</a></span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a8108a276ab72226244d302fb1b59f3f1">BaseGrid::getRow</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> i / <a class="code" href="classKatabatic_1_1BaseGrid.html#aeaf0dae788f4c997e6172f9c734e3a91">getColumns</a>(); }</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html#a21a8582c0c89a61d1963262fa053bc1b"> 122</a></span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a21a8582c0c89a61d1963262fa053bc1b">BaseGrid::getColumn</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> i % <a class="code" href="classKatabatic_1_1BaseGrid.html#aeaf0dae788f4c997e6172f9c734e3a91">getColumns</a>(); }</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> BaseGrid::isOnTopBorder ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a8108a276ab72226244d302fb1b59f3f1">getRow</a> (i)+1 == <a class="code" href="classKatabatic_1_1BaseGrid.html#a4bad6abc58473d953258a3230506291a">getRows</a>(); }</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> BaseGrid::isOnRightBorder ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classKatabatic_1_1BaseGrid.html#a21a8582c0c89a61d1963262fa053bc1b">getColumn</a>(i)+1 == <a class="code" href="classKatabatic_1_1BaseGrid.html#aeaf0dae788f4c997e6172f9c734e3a91">getColumns</a>(); }</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html#a1e3eea49f6f58fb8d0b3fa73f5cf3fd7"> 126</a></span>  <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html">BaseGrid::Axis</a>& <a class="code" href="classKatabatic_1_1BaseGrid.html#a1e3eea49f6f58fb8d0b3fa73f5cf3fd7">BaseGrid::getXGrads</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _xGraduations; }</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classKatabatic_1_1BaseGrid.html#ab11d8b83eaa19f5fe6fecc63a8bb203e"> 127</a></span>  <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html">BaseGrid::Axis</a>& <a class="code" href="classKatabatic_1_1BaseGrid.html#ab11d8b83eaa19f5fe6fecc63a8bb203e">BaseGrid::getYGrads</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _yGraduations; }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="comment">// -------------------------------------------------------------------</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="comment">// Template Class : "Katabatic::Grid".</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html"> 136</a></span>  <span class="keyword">class </span><a class="code" href="classKatabatic_1_1Grid.html">Grid</a> : <span class="keyword">public</span> <a class="code" href="classKatabatic_1_1BaseGrid.html">BaseGrid</a> {</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="comment">// Accessors.</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">inline</span> GCellT* getGCell ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index ) <span class="keyword">const</span>;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">inline</span> GCellT* getGCell ( <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Point.html">Point</a> p ) <span class="keyword">const</span>;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">inline</span> GCellT* getGCell ( <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Point.html">Point</a> p1, <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Point.html">Point</a> p2 ) <span class="keyword">const</span>;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">inline</span> GCellT* getGCellLeft ( <span class="keyword">const</span> GCellT* gcell ) <span class="keyword">const</span>;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keyword">inline</span> GCellT* getGCellRight ( <span class="keyword">const</span> GCellT* gcell ) <span class="keyword">const</span>;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">inline</span> GCellT* getGCellUp ( <span class="keyword">const</span> GCellT* gcell ) <span class="keyword">const</span>;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">inline</span> GCellT* getGCellDown ( <span class="keyword">const</span> GCellT* gcell ) <span class="keyword">const</span>;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keyword">inline</span> vector<GCellT*>* getGCellVector ();</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="comment">// Collections & Filters.</span></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1GenericCollection.html">GenericCollection<GCellT*></a> getGCells ();</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1GenericCollection.html">GenericCollection<GCellT*></a> getGCellsColumn ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> column</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  , <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> rowStart</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  , <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> rowStop );</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1GenericCollection.html">GenericCollection<GCellT*></a> getGCellsRow ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> row</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  , <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> columnStart</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  , <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> columnStop );</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="comment">// Inspector Managment.</span></div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">virtual</span> Record* _getRecord () <span class="keyword">const</span>;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="comment">// Attributes.</span></div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  vector<GCellT*> _gcells;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="comment">// Constructors & Destructors.</span></div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#gga6af6a5b8d113a661fea65b2bcb8b25c4ac6b6574b2ef79ee4e44c6c00fe757c7c">Grid</a> ( <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Box</a>& );</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keyword">virtual</span> ~<a class="code" href="classKatabatic_1_1Grid.html">Grid</a> ();</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#gga6af6a5b8d113a661fea65b2bcb8b25c4ac6b6574b2ef79ee4e44c6c00fe757c7c">Grid</a> ( <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1Grid.html">Grid</a>& );</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="code" href="classKatabatic_1_1Grid.html">Grid</a>& operator= ( <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1Grid.html">Grid</a>& );</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  };</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> </div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> } <span class="comment">// End of Katabatic namespace.</span></div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="preprocessor">#include "katabatic/GridCollections.h"</span></div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="preprocessor">#include "katabatic/GridBox.h"</span></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="keyword">namespace </span><a class="code" href="namespaceKatabatic.html">Katabatic</a> {</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="comment">// Inline Functions.</span></div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#a1b772cc784f7110caca47acb76dcec62"> 186</a></span>  <a class="code" href="classKatabatic_1_1Grid.html#a1b772cc784f7110caca47acb76dcec62">Grid<GCellT>::Grid</a> ( <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Box</a>& bb )</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  : <a class="code" href="classKatabatic_1_1BaseGrid.html">BaseGrid</a>(bb)</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  , _gcells ()</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  { }</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::~Grid</a> ()</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  { }</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#a98650c11b4aa0c6107c4d890dff61587"> 198</a></span>  GCellT* <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCell</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index )<span class="keyword"> const</span></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordflow">if</span> ( ( index < 0 ) || ( index >= _rawSize ) ) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">return</span> _gcells [ index ];</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  }</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#a0ee3cd2fb8c66458b0d00e39826921da"> 207</a></span>  GCellT* <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCell</a> ( <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Point.html">Point</a> p )<span class="keyword"> const</span></div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordflow">if</span> (not getBoundingBox().contains(p)) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordtype">bool</span> onColumn;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordtype">bool</span> onRow;</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> column = _xGraduations.getGraduationNumber ( p.getX(), onColumn );</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> row = _yGraduations.getGraduationNumber ( p.getY(), onRow );</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordflow">return</span> getGCell ( getIndex(column,row) );</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  }</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#a1beb5c490b2e651eab49178297b6cda2"> 222</a></span>  GCellT* <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCell</a> ( <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Point.html">Point</a> p1, <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Point.html">Point</a> p2 )<span class="keyword"> const</span></div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordflow">if</span> (not getBoundingBox().contains(p1)) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">if</span> (not getBoundingBox().contains(p2)) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordtype">bool</span> onColumn1;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordtype">bool</span> onColumn2;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordtype">bool</span> onRow1;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordtype">bool</span> onRow2;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> column1 = _xGraduations.getGraduationNumber ( p1.getX(), onColumn1 );</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> column2 = _xGraduations.getGraduationNumber ( p2.getX(), onColumn2 );</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> row1 = _yGraduations.getGraduationNumber ( p1.getY(), onRow1 );</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> row2 = _yGraduations.getGraduationNumber ( p2.getY(), onRow2 );</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordflow">if</span> ( row1 != row2 ) {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordflow">if</span> ( onRow1 ) row1 = row2;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  }</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> </div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordflow">if</span> ( column1 != column2 ) {</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordflow">if</span> ( onColumn1 ) column1 = column2;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  }</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span> </div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keywordflow">return</span> getGCell ( getIndex(column1,row1) );</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  }</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> </div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#ae5041816e75468b69bb0bbf24a4e8eca"> 250</a></span>  GCellT* <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCellLeft</a> ( <span class="keyword">const</span> GCellT* gcell)<span class="keyword"> const</span></div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">if</span> ( !gcell ) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index = gcell-><a class="code" href="classKatabatic_1_1BaseGrid.html#aae84726d9984c1df9905fc97d9b34f28">getIndex</a>();</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordflow">if</span> ( !getColumn(index) ) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span> </div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordflow">return</span> getGCell ( index - 1 ); </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  }</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#a0e9bba0feb437dca932d59703298358e"> 262</a></span>  GCellT* <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCellRight</a> ( <span class="keyword">const</span> GCellT* gcell)<span class="keyword"> const</span></div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordflow">if</span> ( !gcell ) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index = gcell-><a class="code" href="classKatabatic_1_1BaseGrid.html#aae84726d9984c1df9905fc97d9b34f28">getIndex</a>();</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keywordflow">if</span> ( getColumn(index) >= getColumns()-1 ) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">return</span> getGCell ( index + 1 ); </div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  }</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#a3a22f2bce9124765eb937b78c90059a0"> 274</a></span>  GCellT* <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCellUp</a> ( <span class="keyword">const</span> GCellT* gcell)<span class="keyword"> const</span></div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordflow">if</span> ( !gcell ) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index = gcell-><a class="code" href="classKatabatic_1_1BaseGrid.html#aae84726d9984c1df9905fc97d9b34f28">getIndex</a>();</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordflow">if</span> ( getRow(index) >= getRows()-1 ) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordflow">return</span> getGCell ( index + getColumns() ); </div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  }</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span> </div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#a4288eb8b1357d9800341b82df6b23944"> 286</a></span>  GCellT* <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCellDown</a> ( <span class="keyword">const</span> GCellT* gcell)<span class="keyword"> const</span></div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">if</span> ( !gcell ) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> </div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index = gcell-><a class="code" href="classKatabatic_1_1BaseGrid.html#aae84726d9984c1df9905fc97d9b34f28">getIndex</a>();</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordflow">if</span> ( !getRow(index) ) <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> </div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordflow">return</span> getGCell ( index - getColumns() ); </div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  }</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> </div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span> </div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keyword">inline</span> vector<GCellT*>* <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCellVector</a> ()</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  {</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keywordflow">return</span> &_gcells;</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  }</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> </div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#a24b4ab5b46b56ee744cf4c368a114d95"> 305</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1GenericCollection.html">GenericCollection<GCellT*></a> <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCells</a> ()</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  {</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keywordflow">return</span> getCollection(_gcells);</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  }</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span> </div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#aa8d0393323104d48c089a8429b254689"> 311</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1GenericCollection.html">GenericCollection<GCellT*></a> <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCellsColumn</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> column</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  , <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> rowStart</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  , <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> rowStop )</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  {</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keywordflow">return</span> Grid_Column<GCellT>(<span class="keyword">this</span>,column,rowStart,rowStop);</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  }</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span> </div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="classKatabatic_1_1Grid.html#a35e2075302cdb696945f05c5bcc817a0"> 319</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1GenericCollection.html">GenericCollection<GCellT*></a> <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::getGCellsRow</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> row</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  , <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> columnStart</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  , <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> columnStop )</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  {</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keywordflow">return</span> Grid_Row<GCellT>(<span class="keyword">this</span>,row,columnStart,columnStop);</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  }</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span> </div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="keyword">template</span><<span class="keyword">typename</span> GCellT></div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  Record* <a class="code" href="classKatabatic_1_1Grid.html">Grid<GCellT>::_getRecord</a> ()<span class="keyword"> const</span></div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  Record* record = BaseGrid::_getRecord ();</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  record->add ( getSlot ( <span class="stringliteral">"_gcells"</span>, &_gcells ) );</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keywordflow">return</span> record;</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  }</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> </div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> </div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> } <span class="comment">// End of Katabatic namespace.</span></div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> </div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span> </div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span> INSPECTOR_P_SUPPORT(<a class="code" href="classKatabatic_1_1BaseGrid_1_1Axis.html">Katabatic::BaseGrid::Axis</a>);</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> </div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> </div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="preprocessor">#endif // KATABATIC_GRID_H</span></div><div class="ttc" id="classHurricane_1_1Collection_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Collection.html">Hurricane::Collection</a></div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_a4bad6abc58473d953258a3230506291a"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#a4bad6abc58473d953258a3230506291a">Katabatic::BaseGrid::getRows</a></div><div class="ttdeci">unsigned int getRows() const</div><div class="ttdef"><b>Definition:</b> Grid.h:118</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_1_1Axis_html_a47fdc9eea42b6975cdc835bb2e08810e"><div class="ttname"><a href="classKatabatic_1_1BaseGrid_1_1Axis.html#a47fdc9eea42b6975cdc835bb2e08810e">Katabatic::BaseGrid::Axis::sort</a></div><div class="ttdeci">void sort()</div><div class="ttdef"><b>Definition:</b> Grid.cpp:36</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_1_1Axis_html_ada526136545060f41e8b9228ce1c5895"><div class="ttname"><a href="classKatabatic_1_1BaseGrid_1_1Axis.html#ada526136545060f41e8b9228ce1c5895">Katabatic::BaseGrid::Axis::addGraduation</a></div><div class="ttdeci">void addGraduation(DbU::Unit)</div><div class="ttdef"><b>Definition:</b> Grid.h:110</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html">Katabatic::BaseGrid</a></div><div class="ttdoc">Abstract Base Class for Irregular Grid. </div><div class="ttdef"><b>Definition:</b> Grid.h:44</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1Grid_html"><div class="ttname"><a href="classKatabatic_1_1Grid.html">Katabatic::Grid</a></div><div class="ttdoc">Template Class for Regular Grid. </div><div class="ttdef"><b>Definition:</b> Grid.h:136</div></div>
|
|
<div class="ttc" id="group__DbUGroup_html_ga4fbfa3e8c89347af76c9628ea06c4146"><div class="ttname"><a href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">Hurricane::DbU::Unit</a></div><div class="ttdeci">std::int64_t Unit</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_a1e3eea49f6f58fb8d0b3fa73f5cf3fd7"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#a1e3eea49f6f58fb8d0b3fa73f5cf3fd7">Katabatic::BaseGrid::getXGrads</a></div><div class="ttdeci">const Axis & getXGrads() const</div><div class="ttdef"><b>Definition:</b> Grid.h:126</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_1_1Axis_html_a2a6bd524227130d8ccf482aa2c484a42"><div class="ttname"><a href="classKatabatic_1_1BaseGrid_1_1Axis.html#a2a6bd524227130d8ccf482aa2c484a42">Katabatic::BaseGrid::Axis::getGraduationNumber</a></div><div class="ttdeci">unsigned int getGraduationNumber(DbU::Unit pos, bool &onGraduation) const</div><div class="ttdef"><b>Definition:</b> Grid.cpp:42</div></div>
|
|
<div class="ttc" id="classHurricane_1_1Point_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Point.html">Hurricane::Point</a></div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_a4b6cf5a28d88d7ad3e6ddeac28a35a0b"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#a4b6cf5a28d88d7ad3e6ddeac28a35a0b">Katabatic::BaseGrid::getBoundingBox</a></div><div class="ttdeci">const Box & getBoundingBox() const</div><div class="ttdef"><b>Definition:</b> Grid.h:116</div></div>
|
|
<div class="ttc" id="group__DbUGroup_html_gga6af6a5b8d113a661fea65b2bcb8b25c4ac6b6574b2ef79ee4e44c6c00fe757c7c"><div class="ttname"><a href="../hurricane/group__DbUGroup.html#gga6af6a5b8d113a661fea65b2bcb8b25c4ac6b6574b2ef79ee4e44c6c00fe757c7c">Grid</a></div><div class="ttdeci">Grid</div></div>
|
|
<div class="ttc" id="classHurricane_1_1GenericCollection_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1GenericCollection.html">Hurricane::GenericCollection</a></div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_ac479157e8ac115074615167e8a4a2789"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#ac479157e8ac115074615167e8a4a2789">Katabatic::BaseGrid::BaseGrid</a></div><div class="ttdeci">BaseGrid(const Box &)</div><div class="ttdef"><b>Definition:</b> Grid.cpp:99</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_a3a80b6032f86a56bec74609034b3246f"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#a3a80b6032f86a56bec74609034b3246f">Katabatic::BaseGrid::destroy</a></div><div class="ttdeci">void destroy()</div><div class="ttdef"><b>Definition:</b> Grid.h:115</div></div>
|
|
<div class="ttc" id="namespaceKatabatic_html"><div class="ttname"><a href="namespaceKatabatic.html">Katabatic</a></div><div class="ttdoc">The namespace dedicated to Katabatic. </div><div class="ttdef"><b>Definition:</b> Katabatic.dox:13</div></div>
|
|
<div class="ttc" id="classHurricane_1_1Box_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Box.html">Hurricane::Box</a></div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_a47cf844f090417180d0bae098133565e"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#a47cf844f090417180d0bae098133565e">Katabatic::BaseGrid::getRawSize</a></div><div class="ttdeci">unsigned int getRawSize() const</div><div class="ttdef"><b>Definition:</b> Grid.h:119</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_a21a8582c0c89a61d1963262fa053bc1b"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#a21a8582c0c89a61d1963262fa053bc1b">Katabatic::BaseGrid::getColumn</a></div><div class="ttdeci">unsigned int getColumn(unsigned int) const</div><div class="ttdef"><b>Definition:</b> Grid.h:122</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_a8108a276ab72226244d302fb1b59f3f1"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#a8108a276ab72226244d302fb1b59f3f1">Katabatic::BaseGrid::getRow</a></div><div class="ttdeci">unsigned int getRow(unsigned int) const</div><div class="ttdef"><b>Definition:</b> Grid.h:121</div></div>
|
|
<div class="ttc" id="classHurricane_1_1DbU_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1DbU.html">Hurricane::DbU</a></div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_ab11d8b83eaa19f5fe6fecc63a8bb203e"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#ab11d8b83eaa19f5fe6fecc63a8bb203e">Katabatic::BaseGrid::getYGrads</a></div><div class="ttdeci">const Axis & getYGrads() const</div><div class="ttdef"><b>Definition:</b> Grid.h:127</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_1_1Axis_html_a9be1e4285daa77fe397767c097fbdc66"><div class="ttname"><a href="classKatabatic_1_1BaseGrid_1_1Axis.html#a9be1e4285daa77fe397767c097fbdc66">Katabatic::BaseGrid::Axis::getSize</a></div><div class="ttdeci">unsigned int getSize() const</div><div class="ttdef"><b>Definition:</b> Grid.h:111</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_1_1Axis_html"><div class="ttname"><a href="classKatabatic_1_1BaseGrid_1_1Axis.html">Katabatic::BaseGrid::Axis</a></div><div class="ttdoc">Graduations on a BaseGrid Axis (H or V). </div><div class="ttdef"><b>Definition:</b> Grid.h:68</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_aeaf0dae788f4c997e6172f9c734e3a91"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#aeaf0dae788f4c997e6172f9c734e3a91">Katabatic::BaseGrid::getColumns</a></div><div class="ttdeci">unsigned int getColumns() const</div><div class="ttdef"><b>Definition:</b> Grid.h:117</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_1_1Axis_html_a074a4f61306b88baac6bbf54b0b3212c"><div class="ttname"><a href="classKatabatic_1_1BaseGrid_1_1Axis.html#a074a4f61306b88baac6bbf54b0b3212c">Katabatic::BaseGrid::Axis::operator[]</a></div><div class="ttdeci">const DbU::Unit & operator[](unsigned int i) const</div><div class="ttdef"><b>Definition:</b> Grid.h:112</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1BaseGrid_html_aae84726d9984c1df9905fc97d9b34f28"><div class="ttname"><a href="classKatabatic_1_1BaseGrid.html#aae84726d9984c1df9905fc97d9b34f28">Katabatic::BaseGrid::getIndex</a></div><div class="ttdeci">unsigned int getIndex(unsigned int c, unsigned int r) const</div><div class="ttdef"><b>Definition:</b> Grid.h:120</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1Grid_html_a1b772cc784f7110caca47acb76dcec62"><div class="ttname"><a href="classKatabatic_1_1Grid.html#a1b772cc784f7110caca47acb76dcec62">Katabatic::Grid::Grid</a></div><div class="ttdeci">Grid(const Box &)</div><div class="ttdef"><b>Definition:</b> Grid.h:186</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<br>
|
|
<hr>
|
|
<table class="footer1">
|
|
<tr>
|
|
<td class="LFooter"><small>Generated by doxygen 1.8.14 on Sun May 26 2019</small></td>
|
|
<td class="RFooter"><a href='#pagetop'><small>Return to top of page</small></a></td>
|
|
</tr>
|
|
</table>
|
|
<table class="footer2">
|
|
<tr>
|
|
<td class="LFooter">Katabatic - Routing Toolbox</td>
|
|
<td class="RFooter"><small>Copyright © 2008-2016 UPMC. All rights reserved</small></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|