-
Notifications
You must be signed in to change notification settings - Fork 1
/
ArithmeticalDSLKernel_8h_source.html
220 lines (218 loc) · 30.4 KB
/
ArithmeticalDSLKernel_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGtal: ArithmeticalDSLKernel.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<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>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.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">DGtal
 <span id="projectnumber">1.5.beta</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<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('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('ArithmeticalDSLKernel_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">ArithmeticalDSLKernel.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>  </div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#if defined(ArithmeticalDSLKernel_RECURSES)</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#error Recursive header files inclusion detected in ArithmeticalDSLKernel.h</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#else </span><span class="comment">// defined(ArithmeticalDSLKernel_RECURSES)</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"></span>#define ArithmeticalDSLKernel_RECURSES</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#if !defined ArithmeticalDSLKernel_h</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#define ArithmeticalDSLKernel_h</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// Inclusions</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include <iostream></span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include "DGtal/base/Common.h"</span></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="preprocessor">#include "DGtal/kernel/SpaceND.h"</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#include "DGtal/kernel/NumberTraits.h"</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">namespace </span><a class="code" href="namespaceDGtal.html">DGtal</a></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> {</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// template struct ArithmeticalDSLKernel</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment"></span> <span class="keyword">template</span> <<span class="keyword">typename</span> TCoordinate,</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> adjacency = 8></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel.html"> 91</a></span>  <span class="keyword">struct </span><a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html">ArithmeticalDSLKernel</a></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  {</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="comment">// ----------------------- Inner types ------------------------------------</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel.html#af5037db1eae4c326b7f7c42c78fd5340"> 99</a></span>  <span class="keyword">typedef</span> <a class="code" href="classDGtal_1_1SpaceND.html">SpaceND<2, TCoordinate></a> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html#af5037db1eae4c326b7f7c42c78fd5340">Space</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel.html#acd18743dfd06d440ebf14e418a7afc75"> 103</a></span>  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classDGtal_1_1PointVector.html">Space::Vector</a> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html#acd18743dfd06d440ebf14e418a7afc75">Vector</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel.html#ad1fc1dd965038395409a1a72d105e8cc"> 107</a></span>  <span class="keyword">typedef</span> std::pair<Vector, Vector> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html#ad1fc1dd965038395409a1a72d105e8cc">Steps</a>;</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>  </div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="comment">// ----------------------- static members ---------------------------------</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel.html#a946aff772399d7848352916ca3c72590"> 115</a></span>  <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html#a946aff772399d7848352916ca3c72590">BOOST_STATIC_CONSTANT</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>, ForegroundAdjacency = 8); <span class="comment">// adjacency</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel.html#a17aa3629f55cc43c911f5a654781adc9"> 120</a></span>  <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html#a17aa3629f55cc43c911f5a654781adc9">BOOST_STATIC_CONSTANT</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>, BackgroundAdjacency = 4); <span class="comment">// complementary adjacency</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// ----------------------- static methods ---------------------------------</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> TInteger></div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel.html#aca1e2b6438120978c88649f7994c5e43"> 143</a></span>  <span class="keyword">static</span> <a class="code" href="classDGtal_1_1PointVector.html">Vector</a> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html#aca1e2b6438120978c88649f7994c5e43">shift</a>(<span class="keyword">const</span> TInteger& a, <span class="keyword">const</span> TInteger& b);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> TInteger></div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel.html#ae57c3c03da193f97ada09b39f42d23ee"> 170</a></span>  <span class="keyword">static</span> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html#ad1fc1dd965038395409a1a72d105e8cc">Steps</a> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html#ae57c3c03da193f97ada09b39f42d23ee">steps</a>(<span class="keyword">const</span> TInteger& a, <span class="keyword">const</span> TInteger& b);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">template</span><<span class="keyword">typename</span> TInteger></div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel.html#a650e3697df6ad684c3cbfa54376e2806"> 183</a></span>  <span class="keyword">static</span> TInteger <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html#a650e3697df6ad684c3cbfa54376e2806">norm</a>(<span class="keyword">const</span> TInteger& a, <span class="keyword">const</span> TInteger& b);</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>  };</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  </div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="comment">// specialization of the template struct ArithmeticalDSLKernel for 4-adjacency</span></div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> TCoordinate></div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html"> 190</a></span>  <span class="keyword">struct </span><a class="code" href="structDGtal_1_1ArithmeticalDSLKernel.html">ArithmeticalDSLKernel</a><TCoordinate, 4></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="comment">// ----------------------- Inner types ------------------------------------</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a56b78344cdf3efdc93eb0c1e584962cf"> 194</a></span>  <span class="keyword">typedef</span> <a class="code" href="classDGtal_1_1SpaceND.html">SpaceND<2, TCoordinate></a> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a56b78344cdf3efdc93eb0c1e584962cf">Space</a>;</div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#aad143f4f482296162abd03c9ea7523b2"> 195</a></span>  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classDGtal_1_1PointVector.html">Space::Vector</a> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#aad143f4f482296162abd03c9ea7523b2">Vector</a>;</div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#aec0f716cddfc7ba740040bded69600c3"> 196</a></span>  <span class="keyword">typedef</span> std::pair<Vector, Vector> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#aec0f716cddfc7ba740040bded69600c3">Steps</a>;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  </div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  </div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="comment">// ----------------------- static members ---------------------------------</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a6c1a988893c88a2cf869af14a3e46756"> 204</a></span>  <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a6c1a988893c88a2cf869af14a3e46756">BOOST_STATIC_CONSTANT</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>, ForegroundAdjacency = 4); <span class="comment">// adjacency</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  </div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a933b509a9a1db4f5e4e4d142fc9cb1be"> 209</a></span>  <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a933b509a9a1db4f5e4e4d142fc9cb1be">BOOST_STATIC_CONSTANT</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>, BackgroundAdjacency = 8); <span class="comment">// complementary adjacency</span></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="comment">// ----------------------- static methods ---------------------------------</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> TInteger></div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#ac0c5b7f5a2c0a3185ab06384572fba06"> 214</a></span>  <span class="keyword">static</span> <a class="code" href="classDGtal_1_1PointVector.html">Vector</a> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#ac0c5b7f5a2c0a3185ab06384572fba06">shift</a>(<span class="keyword">const</span> TInteger& a, <span class="keyword">const</span> TInteger& b);</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> TInteger></div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a455f6746d2882ac1ef5954426446fc09"> 216</a></span>  <span class="keyword">static</span> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#aec0f716cddfc7ba740040bded69600c3">Steps</a> <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a455f6746d2882ac1ef5954426446fc09">steps</a>(<span class="keyword">const</span> TInteger& a, <span class="keyword">const</span> TInteger& b);</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">template</span><<span class="keyword">typename</span> TInteger></div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a9c6a68b9557336be5cf9c6ead25aab75"> 218</a></span>  <span class="keyword">static</span> TInteger <a class="code" href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a9c6a68b9557336be5cf9c6ead25aab75">norm</a>(<span class="keyword">const</span> TInteger& a, <span class="keyword">const</span> TInteger& b);</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>  </div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> } <span class="comment">// namespace DGtal</span></div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  </div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  </div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="comment">// Includes inline functions.</span></div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="preprocessor">#include "DGtal/geometry/curves/ArithmeticalDSLKernel.ih"</span></div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  </div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="comment">// //</span></div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="comment"></span> </div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="preprocessor">#endif </span><span class="comment">// !defined ArithmeticalDSLKernel_h</span></div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  </div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="preprocessor">#undef ArithmeticalDSLKernel_RECURSES</span></div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="preprocessor">#endif </span><span class="comment">// else defined(ArithmeticalDSLKernel_RECURSES)</span></div>
<div class="ttc" id="aclassDGtal_1_1PointVector_html"><div class="ttname"><a href="classDGtal_1_1PointVector.html">DGtal::PointVector< dim, Integer ></a></div></div>
<div class="ttc" id="aclassDGtal_1_1SpaceND_html"><div class="ttname"><a href="classDGtal_1_1SpaceND.html">DGtal::SpaceND</a></div><div class="ttdef"><b>Definition:</b> <a href="SpaceND_8h_source.html#l00095">SpaceND.h:96</a></div></div>
<div class="ttc" id="anamespaceDGtal_html"><div class="ttname"><a href="namespaceDGtal.html">DGtal</a></div><div class="ttdoc">DGtal is the top-level namespace which contains all DGtal functions and types.</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4_html_a455f6746d2882ac1ef5954426446fc09"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a455f6746d2882ac1ef5954426446fc09">DGtal::ArithmeticalDSLKernel< TCoordinate, 4 >::steps</a></div><div class="ttdeci">static Steps steps(const TInteger &a, const TInteger &b)</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4_html_a56b78344cdf3efdc93eb0c1e584962cf"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a56b78344cdf3efdc93eb0c1e584962cf">DGtal::ArithmeticalDSLKernel< TCoordinate, 4 >::Space</a></div><div class="ttdeci">SpaceND< 2, TCoordinate > Space</div><div class="ttdef"><b>Definition:</b> <a href="ArithmeticalDSLKernel_8h_source.html#l00194">ArithmeticalDSLKernel.h:194</a></div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4_html_a6c1a988893c88a2cf869af14a3e46756"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a6c1a988893c88a2cf869af14a3e46756">DGtal::ArithmeticalDSLKernel< TCoordinate, 4 >::BOOST_STATIC_CONSTANT</a></div><div class="ttdeci">BOOST_STATIC_CONSTANT(unsigned short, ForegroundAdjacency=4)</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4_html_a933b509a9a1db4f5e4e4d142fc9cb1be"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a933b509a9a1db4f5e4e4d142fc9cb1be">DGtal::ArithmeticalDSLKernel< TCoordinate, 4 >::BOOST_STATIC_CONSTANT</a></div><div class="ttdeci">BOOST_STATIC_CONSTANT(unsigned short, BackgroundAdjacency=8)</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4_html_a9c6a68b9557336be5cf9c6ead25aab75"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#a9c6a68b9557336be5cf9c6ead25aab75">DGtal::ArithmeticalDSLKernel< TCoordinate, 4 >::norm</a></div><div class="ttdeci">static TInteger norm(const TInteger &a, const TInteger &b)</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4_html_aad143f4f482296162abd03c9ea7523b2"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#aad143f4f482296162abd03c9ea7523b2">DGtal::ArithmeticalDSLKernel< TCoordinate, 4 >::Vector</a></div><div class="ttdeci">Space::Vector Vector</div><div class="ttdef"><b>Definition:</b> <a href="ArithmeticalDSLKernel_8h_source.html#l00195">ArithmeticalDSLKernel.h:195</a></div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4_html_ac0c5b7f5a2c0a3185ab06384572fba06"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#ac0c5b7f5a2c0a3185ab06384572fba06">DGtal::ArithmeticalDSLKernel< TCoordinate, 4 >::shift</a></div><div class="ttdeci">static Vector shift(const TInteger &a, const TInteger &b)</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4_html_aec0f716cddfc7ba740040bded69600c3"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel_3_01TCoordinate_00_014_01_4.html#aec0f716cddfc7ba740040bded69600c3">DGtal::ArithmeticalDSLKernel< TCoordinate, 4 >::Steps</a></div><div class="ttdeci">std::pair< Vector, Vector > Steps</div><div class="ttdef"><b>Definition:</b> <a href="ArithmeticalDSLKernel_8h_source.html#l00196">ArithmeticalDSLKernel.h:196</a></div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_html"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel.html">DGtal::ArithmeticalDSLKernel</a></div><div class="ttdoc">Aim: Small class that contains the code that depends on the arithmetical thickness (either naive or s...</div><div class="ttdef"><b>Definition:</b> <a href="ArithmeticalDSLKernel_8h_source.html#l00091">ArithmeticalDSLKernel.h:92</a></div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_html_a17aa3629f55cc43c911f5a654781adc9"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel.html#a17aa3629f55cc43c911f5a654781adc9">DGtal::ArithmeticalDSLKernel::BOOST_STATIC_CONSTANT</a></div><div class="ttdeci">BOOST_STATIC_CONSTANT(unsigned short, BackgroundAdjacency=4)</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_html_a650e3697df6ad684c3cbfa54376e2806"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel.html#a650e3697df6ad684c3cbfa54376e2806">DGtal::ArithmeticalDSLKernel::norm</a></div><div class="ttdeci">static TInteger norm(const TInteger &a, const TInteger &b)</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_html_a946aff772399d7848352916ca3c72590"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel.html#a946aff772399d7848352916ca3c72590">DGtal::ArithmeticalDSLKernel::BOOST_STATIC_CONSTANT</a></div><div class="ttdeci">BOOST_STATIC_CONSTANT(unsigned short, ForegroundAdjacency=8)</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_html_aca1e2b6438120978c88649f7994c5e43"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel.html#aca1e2b6438120978c88649f7994c5e43">DGtal::ArithmeticalDSLKernel::shift</a></div><div class="ttdeci">static Vector shift(const TInteger &a, const TInteger &b)</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_html_acd18743dfd06d440ebf14e418a7afc75"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel.html#acd18743dfd06d440ebf14e418a7afc75">DGtal::ArithmeticalDSLKernel::Vector</a></div><div class="ttdeci">Space::Vector Vector</div><div class="ttdef"><b>Definition:</b> <a href="ArithmeticalDSLKernel_8h_source.html#l00103">ArithmeticalDSLKernel.h:103</a></div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_html_ad1fc1dd965038395409a1a72d105e8cc"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel.html#ad1fc1dd965038395409a1a72d105e8cc">DGtal::ArithmeticalDSLKernel::Steps</a></div><div class="ttdeci">std::pair< Vector, Vector > Steps</div><div class="ttdef"><b>Definition:</b> <a href="ArithmeticalDSLKernel_8h_source.html#l00107">ArithmeticalDSLKernel.h:107</a></div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_html_ae57c3c03da193f97ada09b39f42d23ee"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel.html#ae57c3c03da193f97ada09b39f42d23ee">DGtal::ArithmeticalDSLKernel::steps</a></div><div class="ttdeci">static Steps steps(const TInteger &a, const TInteger &b)</div></div>
<div class="ttc" id="astructDGtal_1_1ArithmeticalDSLKernel_html_af5037db1eae4c326b7f7c42c78fd5340"><div class="ttname"><a href="structDGtal_1_1ArithmeticalDSLKernel.html#af5037db1eae4c326b7f7c42c78fd5340">DGtal::ArithmeticalDSLKernel::Space</a></div><div class="ttdeci">SpaceND< 2, TCoordinate > Space</div><div class="ttdef"><b>Definition:</b> <a href="ArithmeticalDSLKernel_8h_source.html#l00099">ArithmeticalDSLKernel.h:99</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f2cd1aeea1cfa982bb13a5f95fa4218c.html">DGtal</a></li><li class="navelem"><a class="el" href="dir_754267a81a1dbd2dcdc6a3e6905a7e31.html">geometry</a></li><li class="navelem"><a class="el" href="dir_f470c2f5fde179648eef8a3806cdaeb7.html">curves</a></li><li class="navelem"><b>ArithmeticalDSLKernel.h</b></li>
<li class="footer">Generated on Wed Nov 27 2024 16:05:05 for DGtal by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>