#include <iostream>
#include <cmath>
#include <map>
#include "ConfigExamples.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/base/Common.h"
#include "DGtal/topology/CubicalComplex.h"
#include "DGtal/shapes/GaussDigitizer.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/shapes/EuclideanShapesDecorator.h"
#include "DGtal/shapes/parametric/Flower2D.h"
#include "DGtal/io/boards/Board2D.h"
#include "DGtal/io/Color.h"
using namespace std;
using namespace functors;
using namespace Z2i;
{
MyEuclideanShape shape(
RealPoint( 0.0, 0.0 ), 16, 5, 5, M_PI_2/2. );
MyGaussDigitizer digShape;
digShape.init ( shape.getLowerBound(), shape.getUpperBound(), 1.0 );
Domain domainShape = digShape.getDomain();
Color dorange ( 255, 136, 0, 220 );
board << aSet;
typedef map<Cell, CubicalCellData>
Map;
it != itE; ++it )
{
if ( d == 0 )
else if ( d == 1 )
Color( 100, 255, 100 ) ) );
else
Color( 100, 255, 100 ) ) );
board << it->first;
}
board.
saveEPS (
"cubicalComplexes.eps" );
return 0;
}