34 #include "DGtal/base/Common.h"
35 #include "DGtal/helpers/StdDefs.h"
36 #include "ConfigExamples.h"
38 #include "DGtal/geometry/curves/StabbingLineComputer.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/DSS.dat";
58 instream.open (filename.c_str(), ifstream::in);
73 while ( ( s.end() != itEnd )
74 &&( s.extendFront() ) ) {}
Aim: model of CConstBidirectionalRange that adapts any range of elements bounded by two iterators [it...
Aim: describes, in a cellular space of dimension n, a closed or open sequence of signed d-cells (or d...
bool initFromVectorStream(std::istream &in)
Storage::const_iterator ConstIterator
Aim: On-line recognition of a digital straight segment (DSS) defined as a sequence of connected grid ...
void init(const ConstIterator &anIt)
void beginBlock(const std::string &keyword="")
int main(int argc, char **argv)
DGtal is the top-level namespace which contains all DGtal functions and types.