40 #include "DGtal/base/Common.h" 41 #include "DGtal/base/BasicTypes.h" 42 #include "DGtal/helpers/StdDefs.h" 45 #include "DGtal/geometry/curves/Naive3DDSSComputer.h" 51 using namespace DGtal;
61 typedef std::vector<Z3::Point> Container;
67 DSSComputer theDSSComputer;
86 theDSSComputer.
init( contour.begin() );
87 while ( ( theDSSComputer.end() != contour.end() ) &&
88 ( theDSSComputer.extendFront() ) ) {}
92 theDSSComputer.selfDisplay( cout );
95 theDSSComputer.validArithmeticalDSS2d( 0 );
99 DSSComputer::ArithmeticalDSSComputer2d theDSS = theDSSComputer.arithmeticalDSS2d( 0 );
104 DSSComputer::Point3d directionZ3;
105 DSSComputer::PointR3d intercept;
106 DSSComputer::PointR3d thikness;
107 theDSSComputer.getParameters ( directionZ3, intercept, thikness );
MyDigitalSurface::ConstIterator ConstIterator
void init(const ConstIterator &it)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Dynamic recognition of a 3d-digital straight segment (DSS)