35 #include "DGtalCatch.h"
36 #include "DGtal/base/Common.h"
37 #include "DGtal/helpers/StdDefs.h"
38 #include "DGtal/geometry/curves/estimation/LambdaMST3DBy2D.h"
43 using namespace DGtal;
51 typedef vector < Point > Container;
57 contour.push_back (
Point ( 18, 25, 18 ) );
58 contour.push_back (
Point ( 17, 25, 19 ) );
59 contour.push_back (
Point ( 16, 25, 20 ) );
60 contour.push_back (
Point ( 15, 25, 21 ) );
61 contour.push_back (
Point ( 14, 25, 22 ) );
62 contour.push_back (
Point ( 13, 25, 23 ) );
63 contour.push_back (
Point ( 12, 25, 24 ) );
64 contour.push_back (
Point ( 11, 25, 25 ) );
65 contour.push_back (
Point ( 10, 25, 26 ) );
66 contour.push_back (
Point ( 9, 25, 27 ) );
67 contour.push_back (
Point ( 8, 25, 28 ) );
70 lmst.
eval ( contour.front ( ) );
73 vector < RealVector > tangent;
74 lmst.
eval ( contour.cbegin ( ), contour.cend ( ), back_insert_iterator < vector < RealVector > > ( tangent ) );
void init(Iterator3D itB, Iterator3D itE, MAIN_AXIS axis)
RealVector3D eval(const Point3D &point)
Aim: Simplify creation of Lambda MST tangent estimator.
MyDigitalSurface::ConstIterator ConstIterator
DGtal is the top-level namespace which contains all DGtal functions and types.
TEST_CASE("int container traits", "[int][traits]")