Functions

testDomainSpanIterator.cpp File Reference

#include <cstdio>
#include <cmath>
#include <iostream>
#include <fstream>
#include <algorithm>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/kernel/domains/HyperRectDomain.h"
Include dependency graph for testDomainSpanIterator.cpp:

Functions

bool testIterator ()
int main ()

Function Documentation

int main (  ) 

References testIterator().

bool testIterator (  ) 

Simple test of Span iterators on a 4D digital domain

Domain construction

iterates from {1,2,1,1} to { 3,6,3,3} along the dimension 1

References DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::Trace::endBlock(), DGtal::Trace::info(), DGtal::HyperRectDomain< TSpace >::isValid(), DGtal::HyperRectDomain< TSpace >::spanBegin(), DGtal::HyperRectDomain< TSpace >::spanEnd(), and DGtal::trace.

Referenced by main().