CGAL Version:
master
6.0.1
latest
5.6.2
5.5.5
5.4.5
5.3.2
5.2.4
5.1.5
5.0.4
4.14.3
4.13.2
4.12.2
4.11.3
4.10.2
4.9.1
4.8.2
4.7
4.6.3
4.5.2
4.4
4.3
5.2.3
cgal.org
Top
Getting Started
Tutorials
Package Overview
Acknowledging CGAL
CGAL 5.2.3 - Halfedge Data Structures
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Friends
Modules
Pages
▼
CGAL 5.2.3 - Halfedge Data Structures
►
User Manual
►
Reference Manual
Refinement Relationships
Is Model Relationships
Has Model Relationships
Bibliography
►
Class and Concept List
►
Examples
HalfedgeDS/hds_prog_graph.cpp
#include <CGAL/HalfedgeDS_min_items.h>
#include <CGAL/HalfedgeDS_default.h>
#include <CGAL/HalfedgeDS_decorator.h>
// no traits needed, argument can be arbitrary dummy.
typedef
CGAL::HalfedgeDS_default<int, CGAL::HalfedgeDS_min_items>
HDS;
typedef
CGAL::HalfedgeDS_decorator<HDS>
Decorator;
int
main() {
HDS hds;
Decorator decorator(hds);
decorator.create_loop();
CGAL_assertion( decorator.is_valid());
return
0;
}