32#include "DGtal/base/Common.h"
33#include "ConfigTest.h"
34#include "DGtalCatch.h"
35#include "DGtal/helpers/StdDefs.h"
37#include <DGtal/shapes/WindingNumbersShape.h>
38#include <DGtal/shapes/GaussDigitizer.h>
59 SECTION(
"Simple testof the API")
61 Eigen::MatrixXd points(4,3);
66 Eigen::MatrixXd normals(4,3);
72 WNShape wnshape(points,normals);
79 ori = wnshape.orientation(p);
83 auto ori2 = wnshape.orientation(q);
87 SECTION(
"Tesing with the GaussDigitizer")
89 Eigen::MatrixXd points(4,3);
94 Eigen::MatrixXd normals(4,3);
100 WNShape wnshape(points,normals);
Aim: A class for computing the Gauss digitization of some Euclidean shape, i.e. its intersection with...
Orientation orientation(const Point &p) const
void attach(ConstAlias< EuclideanShape > shape)
void init(const RealPoint &xLow, const RealPoint &xUp, typename RealVector::Component gridStep)
Aim: Implements basic operations that will be used in Point and Vector classes.
Space::RealPoint RealPoint
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: characterizes models of digital oriented shapes. For example, models should provide an orientati...
SECTION("Testing constant forward iterators")
REQUIRE(domain.isInside(aPoint))