Example of range on Domain.
- See also
- DGtal Space
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/kernel/domains/HyperRectDomain.h"
#include "DGtal/io/boards/Board2D.h"
{
std::vector<TSpace::Dimension> v(2); v[0]=2; v[1]=1;
it != itend;
++it)
trace.
info() <<
"Processing point"<< (*it) << endl;
it = domain.
subRange({2,1}, c).rbegin(), itend = domain.
subRange({2,1}, c).rend();
it != itend;
++it)
trace.
info() <<
"Processing point"<< (*it) << endl;
it = domain.
subRange({2,1}, c).rbegin(), itend = domain.
subRange({2,1}, c).rend();
it != itend;
++it)
trace.
info() <<
"Processing point"<< (*it) << endl;
return 0;
}