-
Notifications
You must be signed in to change notification settings - Fork 1
/
Ball2D_8h_source.html
245 lines (243 loc) · 33 KB
/
Ball2D_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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!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: Ball2D.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('Ball2D_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">Ball2D.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(Ball2D_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 Ball2D.h</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#else </span><span class="comment">// defined(Ball2D_RECURSES)</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"></span>#define Ball2D_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 Ball2D_h</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#define Ball2D_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> <span class="preprocessor">#include "DGtal/shapes/parametric/StarShaped2D.h"</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">namespace </span><a class="code" href="namespaceDGtal.html">DGtal</a></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>  </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">// template class Ball2D</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"></span> <span class="keyword">template</span> <<span class="keyword">typename</span> TSpace></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html"> 60</a></span>  <span class="keyword">class </span><a class="code" href="classDGtal_1_1Ball2D.html">Ball2D</a> final: <span class="keyword">public</span> <a class="code" href="classDGtal_1_1StarShaped2D.html">StarShaped2D</a><TSpace></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  {</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// ----------------------- Standard services ------------------------------</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a7d368b6ca0ab18444792c96ccd8e1117"> 65</a></span>  <span class="keyword">typedef</span> TSpace <a class="code" href="classDGtal_1_1Ball2D.html#a7d368b6ca0ab18444792c96ccd8e1117">Space</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3"> 66</a></span>  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="testTriangulatedSurface_8cpp.html#abb3595c097987c9d2c4f0cc1902df316">Space::RealPoint</a> <a class="code" href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3">RealPoint</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a97f2cf8efd4aaf4aabfd1ea2700417bd"> 67</a></span>  <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classDGtal_1_1PointVector.html">Space::RealVector</a> <a class="code" href="classDGtal_1_1Ball2D.html#a97f2cf8efd4aaf4aabfd1ea2700417bd">RealVector</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a91242bdb7587fa12eaf20bad1cf46095"> 73</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html#a91242bdb7587fa12eaf20bad1cf46095">Ball2D</a>() = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a2ca68381cc222d667353ddedd68e4284"> 81</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html#a2ca68381cc222d667353ddedd68e4284">Ball2D</a>( <span class="keyword">const</span> <span class="keywordtype">double</span> x0, <span class="keyword">const</span> <span class="keywordtype">double</span> y0, <span class="keyword">const</span> <span class="keywordtype">double</span> r );</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a01706dd221f22e9cec13178efa0a91b9"> 88</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html#a01706dd221f22e9cec13178efa0a91b9">Ball2D</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3">RealPoint</a> &<a class="code" href="testSimpleRandomAccessRangeFromPoint_8cpp.html#a9ae40316aa447d5a39eb6f76dba59444">aPoint</a>, <span class="keyword">const</span> <span class="keywordtype">double</span> r );</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#ac8064ebf51fbe098f8990ea27eb29982"> 94</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html#ac8064ebf51fbe098f8990ea27eb29982">Ball2D</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball2D.html">Ball2D</a> & other );</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#ab2d635e1ca4430b5d81d31c5b6000b44"> 102</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html">Ball2D</a>& <a class="code" href="classDGtal_1_1Ball2D.html#ab2d635e1ca4430b5d81d31c5b6000b44">operator=</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball2D.html">Ball2D</a>& other ) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a3fdb01770a13f0716a51737fcd2d8c3d"> 107</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html#a3fdb01770a13f0716a51737fcd2d8c3d">~Ball2D</a>() = <span class="keywordflow">default</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">// ------------- Implementation of 'StarShaped' services ------------------</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a7e8b79ed75039249ccd53d06532daa27"> 116</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3">RealPoint</a> <a class="code" href="classDGtal_1_1Ball2D.html#a7e8b79ed75039249ccd53d06532daa27">getLowerBound</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">return</span> <a class="code" href="classDGtal_1_1Ball2D.html#acc5e8aca14882f3181de2ab43b3a242d">myCenter</a> - <a class="code" href="classDGtal_1_1Ball2D.html#a5a40541b9e68cca2878fc05783720513">myRadius</a>;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  }</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a6e113eff95517529e5fcfaaf2f531037"> 125</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3">RealPoint</a> <a class="code" href="classDGtal_1_1Ball2D.html#a6e113eff95517529e5fcfaaf2f531037">getUpperBound</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">return</span> <a class="code" href="classDGtal_1_1Ball2D.html#acc5e8aca14882f3181de2ab43b3a242d">myCenter</a> + <a class="code" href="classDGtal_1_1Ball2D.html#a5a40541b9e68cca2878fc05783720513">myRadius</a>;</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="l00133"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a6d863d9531084ff4bbfec700dd7b1004"> 133</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3">RealPoint</a> <a class="code" href="classDGtal_1_1Ball2D.html#a6d863d9531084ff4bbfec700dd7b1004">center</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> <a class="code" href="classDGtal_1_1Ball2D.html#acc5e8aca14882f3181de2ab43b3a242d">myCenter</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">inline</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#aad1cfe12678cba2611b13ff4c386b46f"> 143</a></span>  <span class="keywordtype">void</span> <a class="code" href="classDGtal_1_1Ball2D.html#aad1cfe12678cba2611b13ff4c386b46f">moveTo</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3">RealPoint</a>& newCenter )</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  {</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="classDGtal_1_1Ball2D.html#acc5e8aca14882f3181de2ab43b3a242d">myCenter</a> = newCenter;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a7843a5da6649139158fa2bfa9405def6"> 154</a></span>  <span class="keywordtype">double</span> <a class="code" href="classDGtal_1_1Ball2D.html#a7843a5da6649139158fa2bfa9405def6">parameter</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3">RealPoint</a> & p ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  </div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a3e9cc935bfa7c583c5e6388120271dfb"> 163</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3">RealPoint</a> <a class="code" href="classDGtal_1_1Ball2D.html#a3e9cc935bfa7c583c5e6388120271dfb">x</a>( <span class="keyword">const</span> <span class="keywordtype">double</span> t ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a68c7d85458253c84561a37351d34483d"> 171</a></span>  <a class="code" href="classDGtal_1_1PointVector.html">RealVector</a> <a class="code" href="classDGtal_1_1Ball2D.html#a68c7d85458253c84561a37351d34483d">xp</a>( <span class="keyword">const</span> <span class="keywordtype">double</span> t ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div>
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a96cbfb9484c6d11c3be5dca249c7dd78"> 178</a></span>  <a class="code" href="classDGtal_1_1PointVector.html">RealVector</a> <a class="code" href="classDGtal_1_1Ball2D.html#a96cbfb9484c6d11c3be5dca249c7dd78">xpp</a>( <span class="keyword">const</span> <span class="keywordtype">double</span> t ) <span class="keyword">const</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>  </div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="comment">// ------------------------- data ----------------------------</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  </div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a5a40541b9e68cca2878fc05783720513"> 187</a></span>  <span class="keywordtype">double</span> <a class="code" href="classDGtal_1_1Ball2D.html#a5a40541b9e68cca2878fc05783720513">myRadius</a>;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  </div>
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#acc5e8aca14882f3181de2ab43b3a242d"> 192</a></span>  <a class="code" href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3">RealPoint</a> <a class="code" href="classDGtal_1_1Ball2D.html#acc5e8aca14882f3181de2ab43b3a242d">myCenter</a>;</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  </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>  <span class="comment">// ----------------------- Interface --------------------------------------</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  </div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a348147035ac1c72a3ca2ea57f7d04877"> 202</a></span>  <span class="keywordtype">void</span> <a class="code" href="classDGtal_1_1Ball2D.html#a348147035ac1c72a3ca2ea57f7d04877">selfDisplay</a> ( std::ostream & out ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  </div>
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball2D.html#a0effd2682d6da679a2d830737b14c00b"> 208</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classDGtal_1_1Ball2D.html#a0effd2682d6da679a2d830737b14c00b">isValid</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  }; <span class="comment">// end of class Ball2D</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  </div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="namespaceDGtal.html#a6e3122ee382f11142dd99840d9369962"> 220</a></span>  std::ostream&</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <a class="codeRef" href="http://dgtal.org/doc/tools/nightly/namespaceDGtal.html#a66aca9ad97cfa71ddd5b1333a392d50d">operator<< </a>( std::ostream & out, <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball2D.html">Ball2D<T></a> & <span class="keywordtype">object</span> );</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  </div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> } <span class="comment">// namespace DGtal</span></div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  </div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="comment">// Includes inline functions.</span></div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="preprocessor">#include "DGtal/shapes/parametric/Ball2D.ih"</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  </div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment">// //</span></div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="comment"></span> </div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="preprocessor">#endif </span><span class="comment">// !defined Ball2D_h</span></div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  </div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="preprocessor">#undef Ball2D_RECURSES</span></div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="preprocessor">#endif </span><span class="comment">// else defined(Ball2D_RECURSES)</span></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html"><div class="ttname"><a href="classDGtal_1_1Ball2D.html">DGtal::Ball2D</a></div><div class="ttdoc">Aim: Model of the concept StarShaped represents any circle in the plane.</div><div class="ttdef"><b>Definition:</b> <a href="Ball2D_8h_source.html#l00060">Ball2D.h:61</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a01706dd221f22e9cec13178efa0a91b9"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a01706dd221f22e9cec13178efa0a91b9">DGtal::Ball2D::Ball2D</a></div><div class="ttdeci">Ball2D(const RealPoint &aPoint, const double r)</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a0effd2682d6da679a2d830737b14c00b"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a0effd2682d6da679a2d830737b14c00b">DGtal::Ball2D::isValid</a></div><div class="ttdeci">bool isValid() const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a2ca68381cc222d667353ddedd68e4284"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a2ca68381cc222d667353ddedd68e4284">DGtal::Ball2D::Ball2D</a></div><div class="ttdeci">Ball2D(const double x0, const double y0, const double r)</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a348147035ac1c72a3ca2ea57f7d04877"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a348147035ac1c72a3ca2ea57f7d04877">DGtal::Ball2D::selfDisplay</a></div><div class="ttdeci">void selfDisplay(std::ostream &out) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a3e9cc935bfa7c583c5e6388120271dfb"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a3e9cc935bfa7c583c5e6388120271dfb">DGtal::Ball2D::x</a></div><div class="ttdeci">RealPoint x(const double t) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a3fdb01770a13f0716a51737fcd2d8c3d"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a3fdb01770a13f0716a51737fcd2d8c3d">DGtal::Ball2D::~Ball2D</a></div><div class="ttdeci">~Ball2D()=default</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a58816de2fd1dfa8b65a68b5e9bbfe9d3"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a58816de2fd1dfa8b65a68b5e9bbfe9d3">DGtal::Ball2D::RealPoint</a></div><div class="ttdeci">Space::RealPoint RealPoint</div><div class="ttdef"><b>Definition:</b> <a href="Ball2D_8h_source.html#l00066">Ball2D.h:66</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a5a40541b9e68cca2878fc05783720513"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a5a40541b9e68cca2878fc05783720513">DGtal::Ball2D::myRadius</a></div><div class="ttdeci">double myRadius</div><div class="ttdef"><b>Definition:</b> <a href="Ball2D_8h_source.html#l00187">Ball2D.h:187</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a68c7d85458253c84561a37351d34483d"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a68c7d85458253c84561a37351d34483d">DGtal::Ball2D::xp</a></div><div class="ttdeci">RealVector xp(const double t) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a6d863d9531084ff4bbfec700dd7b1004"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a6d863d9531084ff4bbfec700dd7b1004">DGtal::Ball2D::center</a></div><div class="ttdeci">RealPoint center() const</div><div class="ttdef"><b>Definition:</b> <a href="Ball2D_8h_source.html#l00133">Ball2D.h:133</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a6e113eff95517529e5fcfaaf2f531037"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a6e113eff95517529e5fcfaaf2f531037">DGtal::Ball2D::getUpperBound</a></div><div class="ttdeci">RealPoint getUpperBound() const</div><div class="ttdef"><b>Definition:</b> <a href="Ball2D_8h_source.html#l00125">Ball2D.h:125</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a7843a5da6649139158fa2bfa9405def6"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a7843a5da6649139158fa2bfa9405def6">DGtal::Ball2D::parameter</a></div><div class="ttdeci">double parameter(const RealPoint &p) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a7d368b6ca0ab18444792c96ccd8e1117"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a7d368b6ca0ab18444792c96ccd8e1117">DGtal::Ball2D::Space</a></div><div class="ttdeci">TSpace Space</div><div class="ttdef"><b>Definition:</b> <a href="Ball2D_8h_source.html#l00065">Ball2D.h:65</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a7e8b79ed75039249ccd53d06532daa27"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a7e8b79ed75039249ccd53d06532daa27">DGtal::Ball2D::getLowerBound</a></div><div class="ttdeci">RealPoint getLowerBound() const</div><div class="ttdef"><b>Definition:</b> <a href="Ball2D_8h_source.html#l00116">Ball2D.h:116</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a91242bdb7587fa12eaf20bad1cf46095"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a91242bdb7587fa12eaf20bad1cf46095">DGtal::Ball2D::Ball2D</a></div><div class="ttdeci">Ball2D()=delete</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a96cbfb9484c6d11c3be5dca249c7dd78"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a96cbfb9484c6d11c3be5dca249c7dd78">DGtal::Ball2D::xpp</a></div><div class="ttdeci">RealVector xpp(const double t) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_a97f2cf8efd4aaf4aabfd1ea2700417bd"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#a97f2cf8efd4aaf4aabfd1ea2700417bd">DGtal::Ball2D::RealVector</a></div><div class="ttdeci">Space::RealVector RealVector</div><div class="ttdef"><b>Definition:</b> <a href="Ball2D_8h_source.html#l00067">Ball2D.h:67</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_aad1cfe12678cba2611b13ff4c386b46f"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#aad1cfe12678cba2611b13ff4c386b46f">DGtal::Ball2D::moveTo</a></div><div class="ttdeci">void moveTo(const RealPoint &newCenter)</div><div class="ttdef"><b>Definition:</b> <a href="Ball2D_8h_source.html#l00143">Ball2D.h:143</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_ab2d635e1ca4430b5d81d31c5b6000b44"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#ab2d635e1ca4430b5d81d31c5b6000b44">DGtal::Ball2D::operator=</a></div><div class="ttdeci">Ball2D & operator=(const Ball2D &other)=delete</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_ac8064ebf51fbe098f8990ea27eb29982"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#ac8064ebf51fbe098f8990ea27eb29982">DGtal::Ball2D::Ball2D</a></div><div class="ttdeci">Ball2D(const Ball2D &other)</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball2D_html_acc5e8aca14882f3181de2ab43b3a242d"><div class="ttname"><a href="classDGtal_1_1Ball2D.html#acc5e8aca14882f3181de2ab43b3a242d">DGtal::Ball2D::myCenter</a></div><div class="ttdeci">RealPoint myCenter</div><div class="ttdef"><b>Definition:</b> <a href="Ball2D_8h_source.html#l00192">Ball2D.h:192</a></div></div>
<div class="ttc" id="aclassDGtal_1_1PointVector_html"><div class="ttname"><a href="classDGtal_1_1PointVector.html">DGtal::PointVector</a></div><div class="ttdoc">Aim: Implements basic operations that will be used in Point and Vector classes.</div><div class="ttdef"><b>Definition:</b> <a href="PointVector_8h_source.html#l00592">PointVector.h:593</a></div></div>
<div class="ttc" id="aclassDGtal_1_1StarShaped2D_html"><div class="ttname"><a href="classDGtal_1_1StarShaped2D.html">DGtal::StarShaped2D</a></div><div class="ttdef"><b>Definition:</b> <a href="StarShaped2D_8h_source.html#l00074">StarShaped2D.h:75</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="anamespaceDGtal_html_a66aca9ad97cfa71ddd5b1333a392d50d"><div class="ttname"><a href="http://dgtal.org/doc/tools/nightly/namespaceDGtal.html#a66aca9ad97cfa71ddd5b1333a392d50d">DGtal::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)</div></div>
<div class="ttc" id="atestSimpleRandomAccessRangeFromPoint_8cpp_html_a9ae40316aa447d5a39eb6f76dba59444"><div class="ttname"><a href="testSimpleRandomAccessRangeFromPoint_8cpp.html#a9ae40316aa447d5a39eb6f76dba59444">aPoint</a></div><div class="ttdeci">const Point aPoint(3, 4)</div></div>
<div class="ttc" id="atestTriangulatedSurface_8cpp_html_abb3595c097987c9d2c4f0cc1902df316"><div class="ttname"><a href="testTriangulatedSurface_8cpp.html#abb3595c097987c9d2c4f0cc1902df316">RealPoint</a></div><div class="ttdeci">PointVector< 3, double > RealPoint</div><div class="ttdef"><b>Definition:</b> <a href="testTriangulatedSurface_8cpp_source.html#l00051">testTriangulatedSurface.cpp:51</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_b5cedd3610db960cb0235f10a76b8ff0.html">shapes</a></li><li class="navelem"><a class="el" href="dir_399699993fff7c2f4ed171da804e88fb.html">parametric</a></li><li class="navelem"><b>Ball2D.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>