mirror of https://github.com/CGAL/cgal
|
…
|
||
|---|---|---|
| .. | ||
| data | ||
| Makefile | ||
| Makefilevc | ||
| README | ||
| adding_handles.C | ||
| colored_face.C | ||
| constrained.C | ||
| constrained_hierarchy_plus.C | ||
| constrained_plus.C | ||
| hierarchy.C | ||
| regular.C | ||
| terrain.C | ||
| triangulation_prog1.C | ||
| voronoi.C | ||
README
To compute and run all these examples type :
./cgal_test
To compute and run only some of them type :
./cgal_test name-of_wanted_example
triangulation_prog1:
The following program creates a triangulation of 2D points using
a default kernel of CGAL as geometric traits and the
default instantiation of the triangulation data structure template
parameter.
The input points are read from a file and inserted in the
triangulation. Finally points on the convex hull are written to {\tt
cout}.
colored_face
Illustrates how the user can have some additionnal property
like e.g. a color stored in the faces or vertices
of the triangulation.
adding_handles
Illustrates how the user can derive and plug in his own vertex_base
or face_base when he would like to have additionnal
handles to other faces and vertices stored in the faces or vertices.
voronoi:
Builds a Delaunay triangulation from input points in a file
and takes the dual Voronoi diagram
terrain
Build a terrain using a Delaunay triangulation with the traits class for
terrains.
regular
Build a regular triangulation
constrained
input a grid of 5x5 constraints into a constrained Delaunay triangulation
supporting intersecting constraints and count the number
of constrained edges in the resulting triangulation.
constrained_plus
Same has above, but the constrained Delaunay triangulation
uses an exact number types and a constraint hierarchy.
hierarchy
A standard use of a triangulation hierarchy
to enhance the efficiency
of a Delaunay triangulation.
The program outputs the number of vertices
at the different levels of the hierarchy
hierarchy_plus
The program shows how to use
a triangulation hierarchy in conjunction with a Constrained
triangulation plus.