64 typedef std::vector<Z2::Point> Container;
70 DSSComputer theDSSComputer;
75 contour.push_back(Z2::Point(0,0));
76 contour.push_back(Z2::Point(1,0));
77 contour.push_back(Z2::Point(1,1));
78 contour.push_back(Z2::Point(2,1));
79 contour.push_back(Z2::Point(3,1));
80 contour.push_back(Z2::Point(3,2));
81 contour.push_back(Z2::Point(4,2));
82 contour.push_back(Z2::Point(5,2));
83 contour.push_back(Z2::Point(6,2));
84 contour.push_back(Z2::Point(6,3));
85 contour.push_back(Z2::Point(6,4));
89 theDSSComputer.
init( contour.begin() );
90 while ( ( theDSSComputer.end() != contour.end() ) &&
91 ( theDSSComputer.extendFront() ) ) {}
95 cout << theDSSComputer << endl;
98 DSSComputer::Primitive theDSS = theDSSComputer.primitive();
102 cout << theDSS << endl;