cgal/Triangulation_2/examples/Triangulation_2
Sylvain Pion 847c23a15e Removing leading and trailing empty lines from all example files.
Using the following Perl script:
-----------------------------------------------------
#!/usr/bin/perl

local($/) = undef;
my $text = <>;

$text =~ s/\A\n+//mg;
$text =~ s/\n+\Z/\n/mg;

print "$text";
-----------------------------------------------------
2007-03-10 16:17:17 +00:00
..
data
Makefile changed .C to .cpp in examples 2006-07-09 19:49:42 +00:00
Makefilevc
README
adding_handles.cpp Removing leading and trailing empty lines from all example files. 2007-03-10 16:17:17 +00:00
colored_face.cpp Removing leading and trailing empty lines from all example files. 2007-03-10 16:17:17 +00:00
constrained.cpp Removing leading and trailing empty lines from all example files. 2007-03-10 16:17:17 +00:00
constrained_hierarchy_plus.cpp Removing leading and trailing empty lines from all example files. 2007-03-10 16:17:17 +00:00
constrained_plus.cpp Removing leading and trailing empty lines from all example files. 2007-03-10 16:17:17 +00:00
hierarchy.cpp Removing leading and trailing empty lines from all example files. 2007-03-10 16:17:17 +00:00
regular.cpp Removing leading and trailing empty lines from all example files. 2007-03-10 16:17:17 +00:00
terrain.cpp Removing leading and trailing empty lines from all example files. 2007-03-10 16:17:17 +00:00
triangulation_prog1.cpp Removing leading and trailing empty lines from all example files. 2007-03-10 16:17:17 +00:00
voronoi.cpp Removing leading and trailing empty lines from all example files. 2007-03-10 16:17:17 +00:00

README

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

constrained_hierarchy_plus
The program shows how to use
a triangulation hierarchy in conjunction with a Constrained 
triangulation plus.