34#include <DGtal/base/Common.h>
37#include <DGtal/shapes/Shapes.h>
38#include <DGtal/shapes/GaussDigitizer.h>
39#include <DGtal/shapes/parametric/Astroid2D.h>
42#include <DGtal/io/boards/Board2D.h>
47int main(
int argc,
char** argv )
59 MyShape shape( 0, 0, 10, 5 );
68 dig.init( shape.getLowerBound(), shape.getUpperBound(), h );
Aim: Model of the concept StarShaped represents an astroid.
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
std::string className() const
Aim: A class for computing the Gauss digitization of some Euclidean shape, i.e. its intersection with...
void attach(ConstAlias< EuclideanShape > shape)
static void digitalShaper(TDigitalSet &aSet, const TShapeFunctor &aFunctor)
void beginBlock(const std::string &keyword="")
void saveSVG(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
DGtal is the top-level namespace which contains all DGtal functions and types.
Custom style class redefining the fill color. You may use Board2D::Color::None for transparent color.