mirror of https://github.com/CGAL/cgal
17 lines
440 B
C++
17 lines
440 B
C++
#include <CGAL/HalfedgeDS_items_2.h>
|
|
#include <CGAL/HalfedgeDS_vector.h>
|
|
#include <CGAL/HalfedgeDS_decorator.h>
|
|
#include <cassert>
|
|
|
|
struct Traits { typedef int Point_2; };
|
|
typedef CGAL::HalfedgeDS_vector< Traits, CGAL::HalfedgeDS_items_2> HDS;
|
|
typedef CGAL::HalfedgeDS_decorator<HDS> Decorator;
|
|
|
|
int main() {
|
|
HDS hds(1,2,2);
|
|
Decorator decorator(hds);
|
|
decorator.create_loop();
|
|
assert( decorator.is_valid());
|
|
return 0;
|
|
}
|