cgal/Triangulation_3/demo/Triangulation_3_Geomview_demos
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
..
data
CMakeLists.txt Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
README
Triangulation_3_color_demo.cpp Fixed abusing Triangulation_cell_base_3 for Delaunay triangulations 2018-04-26 13:21:53 +02:00
Triangulation_3_demo.cpp add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Triangulation_3_remove_demo.cpp Put CGAL::random_shuffle() in the subnamespace cpp98 2018-04-11 09:32:23 +01:00
Triangulation_3_voronoi_demo.cpp add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00

README

The demos use Geomview
[see the chapter Geomview in the cgal manual - support library:
Geomview 1.8.1 is required.  The geomview command must be in the user's $PATH,
otherwise the program will not be able to execute.]

------- demo -------------------------------------------------
Construction of a Delaunay triangulation.

Needs an input file "data/points" containing points (given by x y z)

Draws the triangulation (vertices and edges) in geomview

Locates a point a shows the cell containing it

Draws the triangulation (edges and cells) in geomview,
then the user can move one of the two displayed versions
of the triangulation.
--------------------------------------------------------------

------- demo_color -------------------------------------------
Constructs a Delaunay triangulation with a special Vertex base class
containing a color (white by default).

Sets the color of degree 6 vertices to red.

Displays the triangulation where each vertex has its own color.
--------------------------------------------------------------

------- demo_voronoi ------------------------------------------
Constructs a Delaunay triangulation for points on a grid.

Displays the Voronoi edges of the set of points
--------------------------------------------------------------

------- demo_remove ------------------------------------------
Constructs a Delaunay triangulation for points on a grid.

Then removes all the vertices in random order
--------------------------------------------------------------