mirror of https://github.com/CGAL/cgal
15 lines
358 B
C++
15 lines
358 B
C++
#include <CGAL/HalfedgeDS_default.h>
|
|
#include <CGAL/HalfedgeDS_decorator.h>
|
|
|
|
struct Traits { typedef int Point_2; };
|
|
typedef CGAL_HALFEDGEDS_DEFAULT<Traits> HDS;
|
|
typedef CGAL::HalfedgeDS_decorator<HDS> Decorator;
|
|
|
|
int main() {
|
|
HDS hds;
|
|
Decorator decorator(hds);
|
|
decorator.create_loop();
|
|
CGAL_assertion( decorator.is_valid());
|
|
return 0;
|
|
}
|