41 #include "DGtal/base/Common.h"
42 #include "DGtal/base/BasicTypes.h"
43 #include "DGtal/helpers/StdDefs.h"
46 #include "DGtal/geometry/curves/ArithmeticalDSSComputer.h"
52 using namespace DGtal;
64 typedef std::vector<Z2::Point> Container;
70 DSSComputer theDSSComputer;
89 theDSSComputer.
init( contour.begin() );
90 while ( ( theDSSComputer.end() != contour.end() ) &&
91 ( theDSSComputer.extendFront() ) ) {}
95 cout << theDSSComputer << endl;
98 DSSComputer::Primitive theDSS = theDSSComputer.primitive();
102 cout << theDSS << endl;
Aim: This class is a wrapper around ArithmeticalDSS that is devoted to the dynamic recognition of dig...
void init(const ConstIterator &it)
MyDigitalSurface::ConstIterator ConstIterator
DGtal is the top-level namespace which contains all DGtal functions and types.