-
Notifications
You must be signed in to change notification settings - Fork 1
/
Ball3D_8h_source.html
255 lines (253 loc) · 36.7 KB
/
Ball3D_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
246
247
248
249
250
251
252
253
254
255
<!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: Ball3D.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('Ball3D_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">Ball3D.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(Ball3D_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 Ball3D.h</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#else </span><span class="comment">// defined(Ball3D_RECURSES)</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"></span>#define Ball3D_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 Ball3D_h</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#define Ball3D_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 "StarShaped3D.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 Ball3D</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_1Ball3D.html"> 60</a></span>  <span class="keyword">class </span><a class="code" href="classDGtal_1_1Ball3D.html">Ball3D</a> final: <span class="keyword">public</span> <a class="code" href="classDGtal_1_1StarShaped3D.html">StarShaped3D</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_1Ball3D.html#a2b9b961838663cdd52267d90292e0eb4"> 65</a></span>  <span class="keyword">typedef</span> TSpace <a class="code" href="classDGtal_1_1Ball3D.html#a2b9b961838663cdd52267d90292e0eb4">Space</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f"> 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_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9"> 67</a></span>  <span class="keyword">typedef</span> std::pair<double,double> <a class="code" href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9">AngularCoordinates</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_1Ball3D.html#a2b47c4c6f90d331a8903f245a302914e"> 73</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#a2b47c4c6f90d331a8903f245a302914e">Ball3D</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="l00082"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a1d04ed3860f8c46c20b8084103e6b64e"> 82</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#a1d04ed3860f8c46c20b8084103e6b64e">Ball3D</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> z0, <span class="keyword">const</span> <span class="keywordtype">double</span> r );</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#af4658e30ad9f7754b2c9309e8229a072"> 89</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#af4658e30ad9f7754b2c9309e8229a072">Ball3D</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">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="l00090"></a><span class="lineno"> 90</span>  </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a71b10d4a771c7841da83fcf3d8796198"> 95</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#a71b10d4a771c7841da83fcf3d8796198">Ball3D</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html">Ball3D</a>& other );</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a219287cecc4a3d6d1124a282583bef23"> 103</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html">Ball3D</a>& <a class="code" href="classDGtal_1_1Ball3D.html#a219287cecc4a3d6d1124a282583bef23">operator=</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html">Ball3D</a>& other ) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a913483044fb419c28c2191f84b727415"> 108</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#a913483044fb419c28c2191f84b727415">~Ball3D</a>() = <span class="keywordflow">default</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">// ------------- Implementation of 'StarShaped' services ------------------</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="l00112"></a><span class="lineno"> 112</span>  </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a6ad31adb16c221d1365504b8d9654fbe"> 117</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#a6ad31adb16c221d1365504b8d9654fbe">getLowerBound</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="keyword"> </span>{</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>  <span class="keywordflow">return</span> <a class="code" href="classDGtal_1_1Ball3D.html#a9d95417a3ac5fa92d5b59f73e86a9792">myCenter</a> - <a class="code" href="classDGtal_1_1Ball3D.html#a5ab1e554c9574a4ee5cb01fb68e1ebab">myRadius</a>;</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>  </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a625fc29b77d9574260ac742a8d7ce493"> 127</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#a625fc29b77d9574260ac742a8d7ce493">getUpperBound</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">return</span> <a class="code" href="classDGtal_1_1Ball3D.html#a9d95417a3ac5fa92d5b59f73e86a9792">myCenter</a> + <a class="code" href="classDGtal_1_1Ball3D.html#a5ab1e554c9574a4ee5cb01fb68e1ebab">myRadius</a>;</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>  </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#aa30736713acf2f97e98a9f5e3a2c2b66"> 135</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#aa30736713acf2f97e98a9f5e3a2c2b66">center</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">return</span> <a class="code" href="classDGtal_1_1Ball3D.html#a9d95417a3ac5fa92d5b59f73e86a9792">myCenter</a>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keyword">inline</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a8585f30ce073007baac6efdfe72c9b32"> 145</a></span>  <span class="keywordtype">void</span> <a class="code" href="classDGtal_1_1Ball3D.html#a8585f30ce073007baac6efdfe72c9b32">moveTo</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</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>  <a class="code" href="classDGtal_1_1Ball3D.html#a9d95417a3ac5fa92d5b59f73e86a9792">myCenter</a> = newCenter;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  }</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  </div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a6e1393c16ecee333156b29d4a81371ee"> 157</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9">AngularCoordinates</a> <a class="code" href="classDGtal_1_1Ball3D.html#a6e1393c16ecee333156b29d4a81371ee">parameter</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> & p ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  </div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#abeea46083d9dbca85bc091dda6a3c6e1"> 165</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#abeea46083d9dbca85bc091dda6a3c6e1">x</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9">AngularCoordinates</a>& t ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a24ebc8f9d89f84136c1773637f18994f"> 172</a></span>  <span class="keyword">virtual</span> <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#a24ebc8f9d89f84136c1773637f18994f">gradient</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9">AngularCoordinates</a>& t) <span class="keyword">const</span> ;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  </div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#ae33fbdab0dc3445c4305d7482daaf581"> 179</a></span>  <span class="keyword">virtual</span> <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#ae33fbdab0dc3445c4305d7482daaf581">rt</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9">AngularCoordinates</a>& t) <span class="keyword">const</span> ;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a7d730d7d973046152d5da8bea4d0d073"> 186</a></span>  <span class="keyword">virtual</span> <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#a7d730d7d973046152d5da8bea4d0d073">rp</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9">AngularCoordinates</a>& t) <span class="keyword">const</span> ;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  </div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a6fa9fd4e1c84cba5fa6a051e4060a445"> 193</a></span>  <span class="keyword">virtual</span> <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#a6fa9fd4e1c84cba5fa6a051e4060a445">rtt</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9">AngularCoordinates</a>& t) <span class="keyword">const</span> ;</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  </div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#ab52748c7819e2e24944f214684790be6"> 200</a></span>  <span class="keyword">virtual</span> <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#ab52748c7819e2e24944f214684790be6">rpp</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9">AngularCoordinates</a>& t) <span class="keyword">const</span> ;</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  </div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#aa080ee5cd0cc6f3674132241058068f8"> 207</a></span>  <span class="keyword">virtual</span> <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#aa080ee5cd0cc6f3674132241058068f8">rtp</a>( <span class="keyword">const</span> <a class="code" href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9">AngularCoordinates</a>& t) <span class="keyword">const</span> ;</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</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">// ------------------------- data ----------------------------</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a5ab1e554c9574a4ee5cb01fb68e1ebab"> 216</a></span>  <span class="keywordtype">double</span> <a class="code" href="classDGtal_1_1Ball3D.html#a5ab1e554c9574a4ee5cb01fb68e1ebab">myRadius</a>;</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  </div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a9d95417a3ac5fa92d5b59f73e86a9792"> 221</a></span>  <a class="code" href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">RealPoint</a> <a class="code" href="classDGtal_1_1Ball3D.html#a9d95417a3ac5fa92d5b59f73e86a9792">myCenter</a>;</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">// ----------------------- Interface --------------------------------------</span></div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div>
<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#abc3ae2a7656648f42bd8a52733e2b534"> 230</a></span>  <span class="keywordtype">void</span> <a class="code" href="classDGtal_1_1Ball3D.html#abc3ae2a7656648f42bd8a52733e2b534">selfDisplay</a> ( std::ostream & out ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  </div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="classDGtal_1_1Ball3D.html#a7e54ae0f0fdcc5f6e83a9228ec779177"> 236</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classDGtal_1_1Ball3D.html#a7e54ae0f0fdcc5f6e83a9228ec779177">isValid</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  </div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  }; <span class="comment">// end of class Ball3D</span></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="l00247"></a><span class="lineno"> 247</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="namespaceDGtal.html#a1ec957eba9b6bc73034478bdefa0d9d1"> 248</a></span>  std::ostream&</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</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_1Ball3D.html">Ball3D<T></a> & <span class="keywordtype">object</span> );</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  </div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> } <span class="comment">// namespace DGtal</span></div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  </div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  </div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="comment">// Includes inline functions.</span></div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="preprocessor">#include "Ball3D.ih"</span></div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  </div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <span class="comment">// //</span></div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="comment"></span> </div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="preprocessor">#endif </span><span class="comment">// !defined Ball3D_h</span></div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  </div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="preprocessor">#undef Ball3D_RECURSES</span></div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="preprocessor">#endif </span><span class="comment">// else defined(Ball3D_RECURSES)</span></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html"><div class="ttname"><a href="classDGtal_1_1Ball3D.html">DGtal::Ball3D</a></div><div class="ttdoc">Aim: Model of the concept StarShaped3D represents any Sphere in the space.</div><div class="ttdef"><b>Definition:</b> <a href="Ball3D_8h_source.html#l00060">Ball3D.h:61</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a1d04ed3860f8c46c20b8084103e6b64e"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a1d04ed3860f8c46c20b8084103e6b64e">DGtal::Ball3D::Ball3D</a></div><div class="ttdeci">Ball3D(const double x0, const double y0, const double z0, const double r)</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a219287cecc4a3d6d1124a282583bef23"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a219287cecc4a3d6d1124a282583bef23">DGtal::Ball3D::operator=</a></div><div class="ttdeci">Ball3D & operator=(const Ball3D &other)=delete</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a24ebc8f9d89f84136c1773637f18994f"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a24ebc8f9d89f84136c1773637f18994f">DGtal::Ball3D::gradient</a></div><div class="ttdeci">virtual RealPoint gradient(const AngularCoordinates &t) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a2b47c4c6f90d331a8903f245a302914e"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a2b47c4c6f90d331a8903f245a302914e">DGtal::Ball3D::Ball3D</a></div><div class="ttdeci">Ball3D()=delete</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a2b9b961838663cdd52267d90292e0eb4"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a2b9b961838663cdd52267d90292e0eb4">DGtal::Ball3D::Space</a></div><div class="ttdeci">TSpace Space</div><div class="ttdef"><b>Definition:</b> <a href="Ball3D_8h_source.html#l00065">Ball3D.h:65</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a30c18771f686832acf5731ec8af3a4f9"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a30c18771f686832acf5731ec8af3a4f9">DGtal::Ball3D::AngularCoordinates</a></div><div class="ttdeci">std::pair< double, double > AngularCoordinates</div><div class="ttdef"><b>Definition:</b> <a href="Ball3D_8h_source.html#l00067">Ball3D.h:67</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a5ab1e554c9574a4ee5cb01fb68e1ebab"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a5ab1e554c9574a4ee5cb01fb68e1ebab">DGtal::Ball3D::myRadius</a></div><div class="ttdeci">double myRadius</div><div class="ttdef"><b>Definition:</b> <a href="Ball3D_8h_source.html#l00216">Ball3D.h:216</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a625fc29b77d9574260ac742a8d7ce493"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a625fc29b77d9574260ac742a8d7ce493">DGtal::Ball3D::getUpperBound</a></div><div class="ttdeci">RealPoint getUpperBound() const</div><div class="ttdef"><b>Definition:</b> <a href="Ball3D_8h_source.html#l00127">Ball3D.h:127</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a6ad31adb16c221d1365504b8d9654fbe"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a6ad31adb16c221d1365504b8d9654fbe">DGtal::Ball3D::getLowerBound</a></div><div class="ttdeci">RealPoint getLowerBound() const</div><div class="ttdef"><b>Definition:</b> <a href="Ball3D_8h_source.html#l00117">Ball3D.h:117</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a6e1393c16ecee333156b29d4a81371ee"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a6e1393c16ecee333156b29d4a81371ee">DGtal::Ball3D::parameter</a></div><div class="ttdeci">AngularCoordinates parameter(const RealPoint &p) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a6fa9fd4e1c84cba5fa6a051e4060a445"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a6fa9fd4e1c84cba5fa6a051e4060a445">DGtal::Ball3D::rtt</a></div><div class="ttdeci">virtual RealPoint rtt(const AngularCoordinates &t) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a71b10d4a771c7841da83fcf3d8796198"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a71b10d4a771c7841da83fcf3d8796198">DGtal::Ball3D::Ball3D</a></div><div class="ttdeci">Ball3D(const Ball3D &other)</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a7d730d7d973046152d5da8bea4d0d073"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a7d730d7d973046152d5da8bea4d0d073">DGtal::Ball3D::rp</a></div><div class="ttdeci">virtual RealPoint rp(const AngularCoordinates &t) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a7e54ae0f0fdcc5f6e83a9228ec779177"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a7e54ae0f0fdcc5f6e83a9228ec779177">DGtal::Ball3D::isValid</a></div><div class="ttdeci">bool isValid() const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a8585f30ce073007baac6efdfe72c9b32"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a8585f30ce073007baac6efdfe72c9b32">DGtal::Ball3D::moveTo</a></div><div class="ttdeci">void moveTo(const RealPoint &newCenter)</div><div class="ttdef"><b>Definition:</b> <a href="Ball3D_8h_source.html#l00145">Ball3D.h:145</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a913483044fb419c28c2191f84b727415"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a913483044fb419c28c2191f84b727415">DGtal::Ball3D::~Ball3D</a></div><div class="ttdeci">~Ball3D()=default</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_a9d95417a3ac5fa92d5b59f73e86a9792"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#a9d95417a3ac5fa92d5b59f73e86a9792">DGtal::Ball3D::myCenter</a></div><div class="ttdeci">RealPoint myCenter</div><div class="ttdef"><b>Definition:</b> <a href="Ball3D_8h_source.html#l00221">Ball3D.h:221</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_aa080ee5cd0cc6f3674132241058068f8"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#aa080ee5cd0cc6f3674132241058068f8">DGtal::Ball3D::rtp</a></div><div class="ttdeci">virtual RealPoint rtp(const AngularCoordinates &t) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_aa30736713acf2f97e98a9f5e3a2c2b66"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#aa30736713acf2f97e98a9f5e3a2c2b66">DGtal::Ball3D::center</a></div><div class="ttdeci">RealPoint center() const</div><div class="ttdef"><b>Definition:</b> <a href="Ball3D_8h_source.html#l00135">Ball3D.h:135</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_ab52748c7819e2e24944f214684790be6"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#ab52748c7819e2e24944f214684790be6">DGtal::Ball3D::rpp</a></div><div class="ttdeci">virtual RealPoint rpp(const AngularCoordinates &t) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_abc3ae2a7656648f42bd8a52733e2b534"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#abc3ae2a7656648f42bd8a52733e2b534">DGtal::Ball3D::selfDisplay</a></div><div class="ttdeci">void selfDisplay(std::ostream &out) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_abeea46083d9dbca85bc091dda6a3c6e1"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#abeea46083d9dbca85bc091dda6a3c6e1">DGtal::Ball3D::x</a></div><div class="ttdeci">RealPoint x(const AngularCoordinates &t) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_aca19d87964fb0d4388ad68e0b2237c2f"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#aca19d87964fb0d4388ad68e0b2237c2f">DGtal::Ball3D::RealPoint</a></div><div class="ttdeci">Space::RealPoint RealPoint</div><div class="ttdef"><b>Definition:</b> <a href="Ball3D_8h_source.html#l00066">Ball3D.h:66</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_ae33fbdab0dc3445c4305d7482daaf581"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#ae33fbdab0dc3445c4305d7482daaf581">DGtal::Ball3D::rt</a></div><div class="ttdeci">virtual RealPoint rt(const AngularCoordinates &t) const</div></div>
<div class="ttc" id="aclassDGtal_1_1Ball3D_html_af4658e30ad9f7754b2c9309e8229a072"><div class="ttname"><a href="classDGtal_1_1Ball3D.html#af4658e30ad9f7754b2c9309e8229a072">DGtal::Ball3D::Ball3D</a></div><div class="ttdeci">Ball3D(const RealPoint &aPoint, const double r)</div></div>
<div class="ttc" id="aclassDGtal_1_1StarShaped3D_html"><div class="ttname"><a href="classDGtal_1_1StarShaped3D.html">DGtal::StarShaped3D</a></div><div class="ttdef"><b>Definition:</b> <a href="StarShaped3D_8h_source.html#l00071">StarShaped3D.h:72</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>Ball3D.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>