32#include "DGtal/base/Common.h"
33#include "DGtal/helpers/StdDefs.h"
34#include "DGtal/shapes/Shapes.h"
35#include "DGtal/shapes/ShapeFactory.h"
37#include "DGtal/geometry/volumes/estimation/Measure.h"
76 trace.
info() <<
"Input set= "<<set<<std::endl;
81 measure.
init(10, set);
83 measure.
init(100, set);
96int main(
int argc,
char** argv )
100 for (
int i = 0; i < argc; ++i )
104 bool res = testConcept() && testMeasure();
105 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
Aim: model of CEuclideanOrientedShape and CEuclideanBoundedShape concepts to create a ball in nD....
Aim: Implements a simple measure computation (in the Lesbegue sens) of a set. In dimension 2,...
void init(const double h, const Set &aSetPointer)
static void euclideanShaper(TDigitalSet &aSet, const TShapeFunctor &aFunctor, const double h=1.0)
void beginBlock(const std::string &keyword="")
DGtal is the top-level namespace which contains all DGtal functions and types.