65 typedef vector < Point > Container;
67 typedef ArithmeticalDSSComputer < ConstIterator, int, 8 >
SegmentComputer;
69 LambdaMST2D < Segmentation > lmst;
74 contour.push_back(
Point(18,18));
75 contour.push_back(
Point(17,19));
76 contour.push_back(
Point(16,20));
77 contour.push_back(
Point(15,21));
78 contour.push_back(
Point(14,22));
79 contour.push_back(
Point(13,23));
80 contour.push_back(
Point(12,24));
81 contour.push_back(
Point(11,25));
82 contour.push_back(
Point(10,26));
83 contour.push_back(
Point(9,27));
84 contour.push_back(
Point(8,28));
93 for (
ConstIterator it = contour.begin(); it != contour.end(); ++it )
98 lmst.
init ( contour.begin(), contour.end() );
99 std::vector < RealVector > tangent;
100 lmst.
eval < back_insert_iterator< vector < RealVector > > > ( contour.begin(), contour.end(), back_inserter ( tangent ) );