34 #include "DGtal/base/Common.h" 
   35 #include "DGtal/helpers/StdDefs.h" 
   36 #include "ConfigExamples.h" 
   38 #include "DGtal/geometry/curves/GeometricalDCA.h" 
   43 using namespace DGtal;
 
   48 int main( 
int argc, 
char** argv )
 
   52   for ( 
int i = 0; i < argc; ++i )
 
   56   std::string filename = examplesPath + 
"samples/DCA.dat";
 
   58   instream.open (filename.c_str(), ifstream::in);
 
   61   c.initFromVectorStream(instream);
 
   67   Curve::IncidentPointsRange r = c.getIncidentPointsRange(); 
 
   68   Curve::IncidentPointsRange::ConstIterator itEnd (r.end()); 
 
   73   while ( ( s.end() != itEnd )
 
   74         &&( s.extendForward() ) ) {}