33 #include "DGtal/base/Common.h"
34 #include "DGtal/kernel/SpaceND.h"
35 #include "DGtal/helpers/StdDefs.h"
36 #include "DGtal/kernel/domains/HyperRectDomain.h"
37 #include "DGtal/io/boards/Board2D.h"
42 using namespace DGtal;
51 TSpace::Point a(1, 1, 1);
52 TSpace::Point b(5, 5, 5);
55 std::vector<TSpace::Dimension> v(2); v[0]=2; v[1]=1;
56 TSpace::Point c(3,1,1);
58 it = domain.subRange(v, c).rbegin(), itend = domain.subRange(v, c).rend();
61 trace.
info() <<
"Processing point"<< (*it) << endl;
65 #ifdef CPP11_INITIALIZER_LIST
69 it = domain.subRange({2,1}, c).rbegin(), itend = domain.subRange({2,1}, c).rend();
72 trace.
info() <<
"Processing point"<< (*it) << endl;
81 it = domain.subRange({2,1}, c).rbegin(), itend = domain.subRange({2,1}, c).rend();
84 trace.
info() <<
"Processing point"<< (*it) << endl;