<!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: testBasicPointFunctors.cpp File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <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.4.2</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('testBasicPointFunctors_8cpp.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="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">testBasicPointFunctors.cpp File Reference<div class="ingroups"><a class="el" href="group__Tests.html">DGtal Test Files</a></div></div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <cstdio></code><br /> <code>#include <cmath></code><br /> <code>#include <iostream></code><br /> <code>#include <fstream></code><br /> <code>#include <vector></code><br /> <code>#include "DGtal/base/Common.h"</code><br /> <code>#include "DGtal/base/CUnaryFunctor.h"</code><br /> <code>#include "DGtal/kernel/PointVector.h"</code><br /> <code>#include "DGtal/kernel/SpaceND.h"</code><br /> <code>#include "DGtal/kernel/BasicPointFunctors.h"</code><br /> <code>#include "DGtal/kernel/domains/HyperRectDomain.h"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for testBasicPointFunctors.cpp:</div> <div class="dyncontent"> <div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="testBasicPointFunctors_8cpp__incl.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div> </div> </div> </div> <p><a href="testBasicPointFunctors_8cpp_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:aa7a7c9ac5d47bcfedd34b020b56c7ae5"><td class="memTemplParams" colspan="2">template<typename TFunctor , typename TArg , typename TRes > </td></tr> <tr class="memitem:aa7a7c9ac5d47bcfedd34b020b56c7ae5"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="testBasicPointFunctors_8cpp.html#aa7a7c9ac5d47bcfedd34b020b56c7ae5">checkingConcepts</a> ()</td></tr> <tr class="separator:aa7a7c9ac5d47bcfedd34b020b56c7ae5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a440b2926bbbfe8ebdef24d852b433b0b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="testBasicPointFunctors_8cpp.html#a440b2926bbbfe8ebdef24d852b433b0b">testProjector</a> ()</td></tr> <tr class="separator:a440b2926bbbfe8ebdef24d852b433b0b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="testBasicPointFunctors_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr> <tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> <p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p> <p>You should have received a copy of the GNU General Public License along with this program. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>.</p> <dl class="section author"><dt>Author</dt><dd>Bertrand Kerautret (<code><a href="#" onclick="location.href='mai'+'lto:'+'ker'+'au'+'tre'+'@l'+'ori'+'a.'+'fr'; return false;">kerau<span style="display: none;">.nosp@m.</span>tre@<span style="display: none;">.nosp@m.</span>loria<span style="display: none;">.nosp@m.</span>.fr</a></code> ) LORIA (CNRS, UMR 7503), University of Nancy, France</dd> <dd> Tristan Roussillon (<code><a href="#" onclick="location.href='mai'+'lto:'+'tri'+'st'+'an.'+'ro'+'uss'+'il'+'lon'+'@l'+'iri'+'s.'+'cnr'+'s.'+'fr'; return false;">trist<span style="display: none;">.nosp@m.</span>an.r<span style="display: none;">.nosp@m.</span>oussi<span style="display: none;">.nosp@m.</span>llon<span style="display: none;">.nosp@m.</span>@liri<span style="display: none;">.nosp@m.</span>s.cn<span style="display: none;">.nosp@m.</span>rs.fr</a></code> ) Laboratoire d'InfoRmatique en Image et Systèmes d'information - LIRIS (CNRS, UMR 5205), CNRS, France </dd></dl> <dl class="section date"><dt>Date</dt><dd>2012/02/02</dd></dl> <p>This file is part of the <a class="el" href="namespaceDGtal.html" title="DGtal is the top-level namespace which contains all DGtal functions and types.">DGtal</a> library </p> <p class="definition">Definition in file <a class="el" href="testBasicPointFunctors_8cpp_source.html">testBasicPointFunctors.cpp</a>.</p> </div><h2 class="groupheader">Function Documentation</h2> <a id="aa7a7c9ac5d47bcfedd34b020b56c7ae5"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa7a7c9ac5d47bcfedd34b020b56c7ae5">◆ </a></span>checkingConcepts()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename TFunctor , typename TArg , typename TRes > </div> <table class="memname"> <tr> <td class="memname">void checkingConcepts </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="testBasicPointFunctors_8cpp_source.html#l00047">47</a> of file <a class="el" href="testBasicPointFunctors_8cpp_source.html">testBasicPointFunctors.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> {</div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  BOOST_CONCEPT_ASSERT(( <a class="code" href="structDGtal_1_1concepts_1_1CUnaryFunctor.html">concepts::CUnaryFunctor<TFunctor, TArg, TRes ></a> ));</div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div> <div class="ttc" id="astructDGtal_1_1concepts_1_1CUnaryFunctor_html"><div class="ttname"><a href="structDGtal_1_1concepts_1_1CUnaryFunctor.html">DGtal::concepts::CUnaryFunctor</a></div><div class="ttdoc">Aim: Defines a unary functor, which associates arguments to results.</div><div class="ttdef"><b>Definition:</b> <a href="CUnaryFunctor_8h_source.html#l00089">CUnaryFunctor.h:90</a></div></div> </div><!-- fragment --> </div> </div> <a id="a3c04138a5bfe5d72780bb7e82a18e627"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3c04138a5bfe5d72780bb7e82a18e627">◆ </a></span>main()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int main </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>argc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char ** </td> <td class="paramname"><em>argv</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="testBasicPointFunctors_8cpp_source.html#l00288">288</a> of file <a class="el" href="testBasicPointFunctors_8cpp_source.html">testBasicPointFunctors.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> {</div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#a352b7160bf722e2f0bcbee5d0bad6ef3">beginBlock</a> ( <span class="stringliteral">"Testing basic point functors"</span> );</div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"Args:"</span>;</div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i < argc; ++i )</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">" "</span> << argv[ i ];</div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << endl;</div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  </div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  </div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  checkingConcepts<functors::Projector<SpaceND<2,int> >, <a class="code" href="classDGtal_1_1PointVector.html">PointVector<6,int></a>, <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a> >();</div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="comment">//for instance, this does not compile because </span></div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="comment">//the point of dim 6 is projected on a point of dim 2 (and not 3)</span></div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="comment">//checkingConcepts<Projector<SpaceND<2,int> >, PointVector<6,int>, PointVector<3,int> >(); </span></div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  </div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordtype">bool</span> res = <a class="code" href="testBasicPointFunctors_8cpp.html#a440b2926bbbfe8ebdef24d852b433b0b">testProjector</a>();</div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  </div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#a7b51b5b34d3c1d5e799e0500a2d12acc">emphase</a>() << ( res ? <span class="stringliteral">"Passed."</span> : <span class="stringliteral">"Error."</span> ) << endl;</div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#afa3a2874289734884107b1ce68ccb93d">endBlock</a>();</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordflow">return</span> res ? 0 : 1;</div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span> }</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_1Trace_html_a352b7160bf722e2f0bcbee5d0bad6ef3"><div class="ttname"><a href="classDGtal_1_1Trace.html#a352b7160bf722e2f0bcbee5d0bad6ef3">DGtal::Trace::beginBlock</a></div><div class="ttdeci">void beginBlock(const std::string &keyword="")</div></div> <div class="ttc" id="aclassDGtal_1_1Trace_html_a7b51b5b34d3c1d5e799e0500a2d12acc"><div class="ttname"><a href="classDGtal_1_1Trace.html#a7b51b5b34d3c1d5e799e0500a2d12acc">DGtal::Trace::emphase</a></div><div class="ttdeci">std::ostream & emphase()</div></div> <div class="ttc" id="aclassDGtal_1_1Trace_html_ad054990834d2763627166540087a2980"><div class="ttname"><a href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">DGtal::Trace::info</a></div><div class="ttdeci">std::ostream & info()</div></div> <div class="ttc" id="aclassDGtal_1_1Trace_html_afa3a2874289734884107b1ce68ccb93d"><div class="ttname"><a href="classDGtal_1_1Trace.html#afa3a2874289734884107b1ce68ccb93d">DGtal::Trace::endBlock</a></div><div class="ttdeci">double endBlock()</div></div> <div class="ttc" id="anamespaceDGtal_html_a8fc7012708b0416880a5c8b12dfdf9dd"><div class="ttname"><a href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">DGtal::trace</a></div><div class="ttdeci">Trace trace</div><div class="ttdef"><b>Definition:</b> <a href="Common_8h_source.html#l00153">Common.h:153</a></div></div> <div class="ttc" id="atestBasicPointFunctors_8cpp_html_a440b2926bbbfe8ebdef24d852b433b0b"><div class="ttname"><a href="testBasicPointFunctors_8cpp.html#a440b2926bbbfe8ebdef24d852b433b0b">testProjector</a></div><div class="ttdeci">bool testProjector()</div><div class="ttdef"><b>Definition:</b> <a href="testBasicPointFunctors_8cpp_source.html#l00052">testBasicPointFunctors.cpp:52</a></div></div> </div><!-- fragment --> <p class="reference">References <a class="el" href="classDGtal_1_1Trace.html#a352b7160bf722e2f0bcbee5d0bad6ef3">DGtal::Trace::beginBlock()</a>, <a class="el" href="classDGtal_1_1Trace.html#a7b51b5b34d3c1d5e799e0500a2d12acc">DGtal::Trace::emphase()</a>, <a class="el" href="classDGtal_1_1Trace.html#afa3a2874289734884107b1ce68ccb93d">DGtal::Trace::endBlock()</a>, <a class="el" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">DGtal::Trace::info()</a>, <a class="el" href="testBasicPointFunctors_8cpp_source.html#l00052">testProjector()</a>, and <a class="el" href="Common_8h_source.html#l00153">DGtal::trace</a>.</p> </div> </div> <a id="a440b2926bbbfe8ebdef24d852b433b0b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a440b2926bbbfe8ebdef24d852b433b0b">◆ </a></span>testProjector()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool testProjector </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="testBasicPointFunctors_8cpp_source.html#l00052">52</a> of file <a class="el" href="testBasicPointFunctors_8cpp_source.html">testBasicPointFunctors.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nbok = 0;</div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nb = 0;</div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#a352b7160bf722e2f0bcbee5d0bad6ef3">beginBlock</a> ( <span class="stringliteral">"Checking projection on a subspace"</span> );</div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  {</div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">//a 3d point</span></div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> p(0,1,2); </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">//projectors</span></div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">typedef</span> <a class="code" href="structDGtal_1_1functors_1_1Projector.html">DGtal::functors::Projector<SpaceND<2,int></a> > Projector2D;</div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  std::vector<Dimension> v1, v2; </div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  v1.push_back(0); v1.push_back(2); </div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  v2.push_back(2); v2.push_back(1);</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  Projector2D proj1, proj2, proj3; </div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  proj1.<a class="code" href="structDGtal_1_1functors_1_1Projector.html#a1c18d72391ba31d8ebf9b9594e860e63">init</a>(v1.begin(), v1.end()); </div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  proj2.init(v2.begin(), v2.end()); </div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">//comparison</span></div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a> res1(0,2); </div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"p "</span> << p << <span class="stringliteral">" => "</span> << proj1(p) << <span class="stringliteral">" == "</span> << res1 << std::endl;</div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  nbok += ( proj1(p) == res1 ) ? 1 : 0; </div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  nb++; </div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a> res2(2,1);</div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"p "</span> << p << <span class="stringliteral">" => "</span> << proj2(p) << <span class="stringliteral">" == "</span> << res2 << std::endl;</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  nbok += ( proj2(p) == res2 ) ? 1 : 0; </div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  nb++; </div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a> res3(0,1);</div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"p "</span> << p << <span class="stringliteral">" => "</span> << proj3(p) << <span class="stringliteral">" == "</span> << res3 << std::endl;</div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  nbok += ( proj3(p) == res3 ) ? 1 : 0; </div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  nb++; </div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#afa3a2874289734884107b1ce68ccb93d">endBlock</a>();</div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#a352b7160bf722e2f0bcbee5d0bad6ef3">beginBlock</a> ( <span class="stringliteral">"Checking projection on a greater space"</span> );</div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  {</div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="comment">//a 2d point</span></div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a> p(5,2); </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">//projectors</span></div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">typedef</span> <a class="code" href="structDGtal_1_1functors_1_1Projector.html">DGtal::functors::Projector<SpaceND<3,int></a> > Projector3D;</div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  std::vector<Dimension> v1, v2, v4; </div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  v1.push_back(0); v1.push_back(2); v1.push_back(1); </div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  v2.push_back(1); v2.push_back(0);</div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  v4.push_back(1);</div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  Projector3D proj1, proj2, proj3; </div> <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  proj1.<a class="code" href="structDGtal_1_1functors_1_1Projector.html#a1c18d72391ba31d8ebf9b9594e860e63">init</a>(v1.begin(), v1.end()); </div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  proj2.init(v2.begin(), v2.end());</div> <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  Projector3D proj4(-1); </div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  proj4.init(v4.begin(), v4.end()); </div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">//SliceRotator2D</span></div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3, int></a> pt1(0,0, 0);</div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3, int></a> pt2(10,10, 10);</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>  <a class="code" href="classDGtal_1_1HyperRectDomain.html">HyperRectDomain<SpaceND<3, int></a> > <a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a> (pt1, pt2);</div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="classDGtal_1_1functors_1_1SliceRotator2D.html">DGtal::functors::SliceRotator2D< HyperRectDomain<SpaceND<3, int></a> >, <span class="keywordtype">int</span>> sliceRot(2, <a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>, 6, 1, pt1, 0.1);</div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classDGtal_1_1functors_1_1SliceRotator2D.html">DGtal::functors::SliceRotator2D< HyperRectDomain<SpaceND<3, int></a> >, <span class="keywordtype">int</span>> sliceRot2(2, <a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>, 7, 2, 3.14);</div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2, int></a> pt(5,5); </div> <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2, int></a> pt_2(10, 9); </div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3, int></a> ptR(4,5,6); </div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3, int></a> ptR2(0, 1, 7); </div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"pt "</span> << pt << <span class="stringliteral">" => "</span> << sliceRot(pt) << <span class="stringliteral">" == "</span> << ptR << std::endl;</div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  nbok += ( sliceRot(pt) == ptR ) ? 1 : 0; </div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  nb++;</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>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"pt "</span> << pt_2 << <span class="stringliteral">" => "</span> << sliceRot2(pt_2) << <span class="stringliteral">" == "</span> << ptR2 << std::endl;</div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  nbok += ( sliceRot2(pt_2) == ptR2 ) ? 1 : 0; </div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  nb++;</div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">//Point2DEmbedderIn3D</span></div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> ptOrigin3D(3,3,3);</div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="classDGtal_1_1functors_1_1Point2DEmbedderIn3D.html">DGtal::functors::Point2DEmbedderIn3D< HyperRectDomain<SpaceND<3, int></a> >, <span class="keywordtype">int</span>> embedder(<a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>,</div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  ptOrigin3D,</div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(6,6,3),</div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(3,3,5),</div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(0,0,0));</div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2, int></a> ptb(0, 0); </div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2, int></a> pt_2b(4, 2); </div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"pt "</span> << ptb << <span class="stringliteral">" => "</span> << embedder(ptb) << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(3,3,3) << std::endl;</div> <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  nbok += ( embedder(ptb) == <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(3,3,3) ) ? 1 : 0; </div> <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  nb++;</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>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"pt "</span> << pt_2b << <span class="stringliteral">" => "</span> << embedder(pt_2b) << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(5,5,5) << std::endl;</div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  nbok += ( embedder(pt_2b) == <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(5,5,5) ) ? 1 : 0; </div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  nb++;</div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="comment">//Point2DEmbedderIn3D (constructor from normal point)</span></div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> pt2Origin3D(5,5,3);</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="classDGtal_1_1functors_1_1Point2DEmbedderIn3D.html">DGtal::functors::Point2DEmbedderIn3D< HyperRectDomain<SpaceND<3, int></a> >, <span class="keywordtype">int</span>> embedder2(<a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>,</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  pt2Origin3D,</div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(0,0,3),</div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  4); </div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2, int></a> pt2b(0, 0); </div> <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2, int></a> pt2_2b(2, 2); </div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"pt "</span> << pt2b << <span class="stringliteral">" => "</span> << embedder2(pt2b) << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(3,5,3) << std::endl;</div> <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  nbok += ( embedder2(pt2b) == <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(3,5,3) ) ? 1 : 0;</div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  nb++;</div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  </div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"pt "</span> << pt2_2b << <span class="stringliteral">" => "</span> << embedder2(pt2_2b) << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(5,4,3) << std::endl;</div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  nbok += ( embedder2(pt2_2b) == <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(5,4,3) ) ? 1 : 0;</div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  nb++;</div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  </div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="comment">//Point2DEmbedderIn3D (constructor from normal point)</span></div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> dirXaxis(1,0,0);</div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="classDGtal_1_1functors_1_1Point2DEmbedderIn3D.html">DGtal::functors::Point2DEmbedderIn3D< HyperRectDomain<SpaceND<3, int></a> >,</div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">int</span>> embedder3(<a class="code" href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>,</div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  pt2Origin3D,</div> <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(0,0,3),</div> <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  dirXaxis, 4);</div> <div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2, int></a> pt2c(0, 0);</div> <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2, int></a> pt2_2c(2, 0);</div> <div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"pt "</span> << pt2c << <span class="stringliteral">" => "</span> << embedder3(pt2c) << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(3,7,3) << std::endl;</div> <div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  nbok += ( embedder3(pt2c) == <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(3,7,3) ) ? 1 : 0;</div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  nb++;</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"pt "</span> << pt2_2c << <span class="stringliteral">" => "</span> << embedder3(pt2_2c) << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(5,7,3) << std::endl;</div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  nbok += ( embedder3(pt2_2c) == <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(5,7,3) ) ? 1 : 0;</div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  nb++;</div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  </div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="comment">// testing shift functor</span></div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  embedder3.shiftOriginPoint(<a class="code" href="classDGtal_1_1PointVector.html">Z3i::RealPoint</a>(2, 0.4, 0.0));</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"pt "</span> << pt2_2c << <span class="stringliteral">" => "</span> << embedder3(pt2_2c) << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(7,7,3) << std::endl;</div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  nbok += ( embedder3(pt2_2c) == <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(7,7,3) ) ? 1 : 0;</div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  nb++;</div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="comment">//comparison</span></div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> res1(5,0,2); </div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"p "</span> << p << <span class="stringliteral">" => "</span> << proj1(p) << <span class="stringliteral">" == "</span> << res1 << std::endl;</div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  nbok += ( proj1(p) == res1 ) ? 1 : 0; </div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  nb++; </div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  </div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> res2(2,5,0);</div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"p "</span> << p << <span class="stringliteral">" => "</span> << proj2(p) << <span class="stringliteral">" == "</span> << res2 << std::endl;</div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  nbok += ( proj2(p) == res2 ) ? 1 : 0; </div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  nb++; </div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  </div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> res3(5,2,0);</div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"p "</span> << p << <span class="stringliteral">" => "</span> << proj3(p) << <span class="stringliteral">" == "</span> << res3 << std::endl;</div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  nbok += ( proj3(p) == res3 ) ? 1 : 0; </div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  nb++; </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>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> res4(2,-1,-1);</div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"p "</span> << p << <span class="stringliteral">" => "</span> << proj4(p) << <span class="stringliteral">" == "</span> << res4</div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  << <span class="stringliteral">"(-1 as default value)"</span> << std::endl;</div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  nbok += ( proj4(p) == res4 ) ? 1 : 0; </div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  nb++; </div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  }</div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#afa3a2874289734884107b1ce68ccb93d">endBlock</a>();</div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  </div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  </div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#a352b7160bf722e2f0bcbee5d0bad6ef3">beginBlock</a> ( <span class="stringliteral">"Checking Basic Domain SubSampler"</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>  <span class="comment">// BasicDomainSubSampler 2D</span></div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="code" href="classDGtal_1_1HyperRectDomain.html">HyperRectDomain<SpaceND<2, int></a> > domainSource (<a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a>(0,0), <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a>(10,10));</div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="testHalfEdgeDataStructure_8cpp.html#a1aba5499fd29449181365ce424303a10">std::vector< SpaceND<2, int>::Size</a> > aGridSize;</div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  aGridSize.push_back(5);</div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  aGridSize.push_back(5); </div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a> shiftVector(0 ,0);</div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="classDGtal_1_1functors_1_1BasicDomainSubSampler.html">DGtal::functors::BasicDomainSubSampler< HyperRectDomain<SpaceND<2, int></a> > > subSampler(domainSource,</div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  aGridSize,</div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  shiftVector);</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>()<< <span class="stringliteral">"Subsampling functor on 2D domain "</span> << domainSource <<<span class="stringliteral">" with grid size "</span> </div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  << aGridSize[0] << <span class="stringliteral">" "</span> << aGridSize[1] << <span class="stringliteral">" and shift vector "</span><< shiftVector <<std::endl ;</div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a> pointTest(1,0);</div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a> pointInSourceDomain = subSampler(pointTest);</div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"Sampling point of coordinate "</span><< pointTest << <span class="stringliteral">", => coordinates in source domain:"</span> </div> <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  << pointInSourceDomain << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a>(5,0) << std::endl; </div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  nb++;</div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  nbok += (pointInSourceDomain== <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a>(5,0));</div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  </div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="comment">// BasicDomainSubSampler 3D</span></div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <a class="code" href="classDGtal_1_1HyperRectDomain.html">HyperRectDomain<SpaceND<3, int></a> > domainSource3D (<a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(0,0, 0), <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(10,10, 10));</div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <a class="code" href="testHalfEdgeDataStructure_8cpp.html#a1aba5499fd29449181365ce424303a10">std::vector< SpaceND<3, int>::Size</a> > aGridSize3D;</div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  aGridSize3D.push_back(5);</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  aGridSize3D.push_back(3); </div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  aGridSize3D.push_back(1); </div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> shiftVector3D(0 ,1, -1);</div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <a class="code" href="classDGtal_1_1functors_1_1BasicDomainSubSampler.html">functors::BasicDomainSubSampler< HyperRectDomain<SpaceND<3, int></a> > > subSampler3D(domainSource3D,</div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  aGridSize3D, shiftVector3D);</div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>()<< <span class="stringliteral">"Subsampling functor on 3D domain "</span> << domainSource3D <<<span class="stringliteral">" with grid size "</span> </div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  << aGridSize3D[0] << <span class="stringliteral">" "</span> << aGridSize3D[1]<< <span class="stringliteral">" "</span> << aGridSize3D[2] << <span class="stringliteral">" and shift vector "</span><< shiftVector3D <<std::endl ;</div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> pointTest3D(0,1,2);</div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> pointTest3D2(0,0,0);</div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> pointInSourceDomain3D = subSampler3D(pointTest3D);</div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a> pointInSourceDomain3D2 = subSampler3D(pointTest3D2);</div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"Sampling point of coordinate "</span><< pointTest3D << <span class="stringliteral">", => coordinates in source domain:"</span> </div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  << pointInSourceDomain3D << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(0, 4, 1) << std::endl; </div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"Sampling point of coordinate "</span><< pointTest3D2 << <span class="stringliteral">", => coordinates in source domain:"</span> </div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  << pointInSourceDomain3D2 << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(0, 1, 0) << std::endl; </div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  nb++;</div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  nbok += (pointInSourceDomain3D== <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(0, 4, 1)) && </div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  (pointInSourceDomain3D2== <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(0, 1, 0));</div> <div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  </div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="comment">// FlipDomainAxis</span></div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  std::vector<HyperRectDomain<SpaceND<3, int> ><a class="code" href="namespaceDGtal.html#a8fbe8c8d47ca5c36ced14284ac62613d">::Dimension</a>> vectFlip;</div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  vectFlip.push_back(1); </div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  vectFlip.push_back(2); </div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <a class="code" href="classDGtal_1_1functors_1_1FlipDomainAxis.html">functors::FlipDomainAxis<HyperRectDomain<SpaceND<3, int></a> > > flipFunctorAxis12(domainSource3D, vectFlip);</div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"Flip point of coordinate "</span><< pointTest3D << <span class="stringliteral">", => fliped coordinates with axis 1 and 2:"</span> </div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  << flipFunctorAxis12(pointTest3D) << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(0, 9, 8) << std::endl; </div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  nb++;</div> <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  nbok += (flipFunctorAxis12(pointTest3D)== <a class="code" href="classDGtal_1_1PointVector.html">PointVector<3,int></a>(0, 9, 8));</div> <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  </div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  </div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  </div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="comment">// BasicDomainReSampler 2D</span></div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  std::vector< double > aGridSizeReSample;</div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  aGridSizeReSample.push_back(0.25);</div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  aGridSizeReSample.push_back(0.5); </div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <a class="code" href="classDGtal_1_1functors_1_1BasicDomainSubSampler.html">DGtal::functors::BasicDomainSubSampler< HyperRectDomain<SpaceND<2, int></a> >, </div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <a class="code" href="namespaceDGtal.html#ac1e9ac6a329319ae13c51c0c9e92486a">DGtal::int32_t</a>, <span class="keywordtype">double</span> > reSampler(domainSource,</div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  aGridSizeReSample, shiftVector);</div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  </div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>()<< <span class="stringliteral">"Resampling functor on 2D domain "</span> << domainSource <<<span class="stringliteral">" with grid size "</span> </div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  << aGridSizeReSample[0] << <span class="stringliteral">" "</span> << aGridSizeReSample[1] << <span class="stringliteral">" and shift vector "</span><< shiftVector <<std::endl ;</div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a> pointTestRS(9,4);</div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a> pointInSourceDomainRS = reSampler(pointTestRS);</div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <a class="code" href="namespaceDGtal.html#a8fc7012708b0416880a5c8b12dfdf9dd">trace</a>.<a class="code" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">info</a>() << <span class="stringliteral">"Sampling point of coordinate "</span><< pointTestRS << <span class="stringliteral">", => coordinates in source domain:"</span> </div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  << pointInSourceDomainRS << <span class="stringliteral">" == "</span> << <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a>(2,2) << std::endl; </div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  nb++;</div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  nbok += (pointInSourceDomainRS== <a class="code" href="classDGtal_1_1PointVector.html">PointVector<2,int></a>(2,2));</div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  </div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  </div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  </div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  }</div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordflow">return</span> nbok == nb;</div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span> }</div> <div class="ttc" id="aclassDGtal_1_1HyperRectDomain_html"><div class="ttname"><a href="classDGtal_1_1HyperRectDomain.html">DGtal::HyperRectDomain</a></div><div class="ttdoc">Aim: Parallelepidec region of a digital space, model of a 'CDomain'.</div><div class="ttdef"><b>Definition:</b> <a href="HyperRectDomain_8h_source.html#l00099">HyperRectDomain.h:100</a></div></div> <div class="ttc" id="aclassDGtal_1_1functors_1_1BasicDomainSubSampler_html"><div class="ttname"><a href="classDGtal_1_1functors_1_1BasicDomainSubSampler.html">DGtal::functors::BasicDomainSubSampler</a></div><div class="ttdoc">Aim: Functor that subsamples an initial domain by given a grid size and a shift vector....</div><div class="ttdef"><b>Definition:</b> <a href="BasicPointFunctors_8h_source.html#l00637">BasicPointFunctors.h:638</a></div></div> <div class="ttc" id="aclassDGtal_1_1functors_1_1FlipDomainAxis_html"><div class="ttname"><a href="classDGtal_1_1functors_1_1FlipDomainAxis.html">DGtal::functors::FlipDomainAxis</a></div><div class="ttdoc">Aim: Functor that flips the domain coordinate system from some selected axis. For instance,...</div><div class="ttdef"><b>Definition:</b> <a href="BasicPointFunctors_8h_source.html#l00758">BasicPointFunctors.h:759</a></div></div> <div class="ttc" id="aclassDGtal_1_1functors_1_1Point2DEmbedderIn3D_html"><div class="ttname"><a href="classDGtal_1_1functors_1_1Point2DEmbedderIn3D.html">DGtal::functors::Point2DEmbedderIn3D</a></div><div class="ttdoc">Aim: Functor that embeds a 2D point into a 3D space from two axis vectors and an origin point given i...</div><div class="ttdef"><b>Definition:</b> <a href="BasicPointFunctors_8h_source.html#l00372">BasicPointFunctors.h:373</a></div></div> <div class="ttc" id="aclassDGtal_1_1functors_1_1SliceRotator2D_html"><div class="ttname"><a href="classDGtal_1_1functors_1_1SliceRotator2D.html">DGtal::functors::SliceRotator2D</a></div><div class="ttdoc">Special Point Functor that adds one dimension to a 2D point and apply on it a rotation of angle alpha...</div><div class="ttdef"><b>Definition:</b> <a href="BasicPointFunctors_8h_source.html#l00200">BasicPointFunctors.h:201</a></div></div> <div class="ttc" id="anamespaceDGtal_html_a8fbe8c8d47ca5c36ced14284ac62613d"><div class="ttname"><a href="namespaceDGtal.html#a8fbe8c8d47ca5c36ced14284ac62613d">DGtal::Dimension</a></div><div class="ttdeci">DGtal::uint32_t Dimension</div><div class="ttdef"><b>Definition:</b> <a href="Common_8h_source.html#l00136">Common.h:136</a></div></div> <div class="ttc" id="anamespaceDGtal_html_ac1e9ac6a329319ae13c51c0c9e92486a"><div class="ttname"><a href="namespaceDGtal.html#ac1e9ac6a329319ae13c51c0c9e92486a">DGtal::int32_t</a></div><div class="ttdeci">boost::int32_t int32_t</div><div class="ttdoc">signed 32-bit integer.</div><div class="ttdef"><b>Definition:</b> <a href="BasicTypes_8h_source.html#l00072">BasicTypes.h:72</a></div></div> <div class="ttc" id="astructDGtal_1_1functors_1_1Projector_html"><div class="ttname"><a href="structDGtal_1_1functors_1_1Projector.html">DGtal::functors::Projector</a></div><div class="ttdoc">Aim: Functor that maps a point P of dimension i to a point Q of dimension j. The member myDims is an ...</div><div class="ttdef"><b>Definition:</b> <a href="BasicPointFunctors_8h_source.html#l00106">BasicPointFunctors.h:107</a></div></div> <div class="ttc" id="astructDGtal_1_1functors_1_1Projector_html_a1c18d72391ba31d8ebf9b9594e860e63"><div class="ttname"><a href="structDGtal_1_1functors_1_1Projector.html#a1c18d72391ba31d8ebf9b9594e860e63">DGtal::functors::Projector::init</a></div><div class="ttdeci">void init(const TIterator &itb, const TIterator &ite)</div></div> <div class="ttc" id="atestHalfEdgeDataStructure_8cpp_html_a1aba5499fd29449181365ce424303a10"><div class="ttname"><a href="testHalfEdgeDataStructure_8cpp.html#a1aba5499fd29449181365ce424303a10">Size</a></div><div class="ttdeci">HalfEdgeDataStructure::Size Size</div><div class="ttdef"><b>Definition:</b> <a href="testHalfEdgeDataStructure_8cpp_source.html#l00050">testHalfEdgeDataStructure.cpp:50</a></div></div> <div class="ttc" id="atestProjection_8cpp_html_a1f1a69f8d8b037b72c2160ed12b3ef51"><div class="ttname"><a href="testProjection_8cpp.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a></div><div class="ttdeci">Domain domain</div><div class="ttdef"><b>Definition:</b> <a href="testProjection_8cpp_source.html#l00088">testProjection.cpp:88</a></div></div> </div><!-- fragment --> <p class="reference">References <a class="el" href="classDGtal_1_1Trace.html#a352b7160bf722e2f0bcbee5d0bad6ef3">DGtal::Trace::beginBlock()</a>, <a class="el" href="testProjection_8cpp_source.html#l00088">domain</a>, <a class="el" href="classDGtal_1_1Trace.html#afa3a2874289734884107b1ce68ccb93d">DGtal::Trace::endBlock()</a>, <a class="el" href="classDGtal_1_1Trace.html#ad054990834d2763627166540087a2980">DGtal::Trace::info()</a>, <a class="el" href="structDGtal_1_1functors_1_1Projector.html#a1c18d72391ba31d8ebf9b9594e860e63">DGtal::functors::Projector< S >::init()</a>, <a class="el" href="BasicPointFunctors_8h_source.html#l00541">DGtal::functors::Point2DEmbedderIn3D< TDomain3D, TInteger >::shiftOriginPoint()</a>, and <a class="el" href="Common_8h_source.html#l00153">DGtal::trace</a>.</p> <p class="reference">Referenced by <a class="el" href="testBasicPointFunctors_8cpp_source.html#l00288">main()</a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_59425e443f801f1f2fd8bbe4959a3ccf.html">tests</a></li><li class="navelem"><a class="el" href="dir_2b7a4b5856a4d2068800cbeeeef5e1d8.html">kernel</a></li><li class="navelem"><a class="el" href="testBasicPointFunctors_8cpp.html">testBasicPointFunctors.cpp</a></li> <li class="footer">Generated on Mon Dec 23 2024 13:18:54 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>