cgal/Triangulation_2/examples/Triangulation_2
Laurent Rineau 8eefb7f173 Merge branch 'master' into pr/lrineau/8273 2025-02-07 16:10:52 +01:00
..
data
CMakeLists.txt update our CMake version 3.18...3.31 2025-02-04 14:32:37 +01:00
README
adding_handles.cpp spelling corrections 2022-11-15 13:39:40 +01:00
colored_face.cpp IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
constrained.cpp T2 and CDT2 draw 2023-12-01 18:02:09 +01:00
constrained_hierarchy_plus.cpp small optimization 2025-01-28 09:44:42 +01:00
constrained_plus.cpp run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
copy_triangulation_2.cpp CGAL Examples: CGAL_assertion -> assert 2022-01-24 10:19:04 +00:00
draw_triangulation_2.cpp Update draw_triangulation_2.cpp 2020-03-16 17:20:45 -07:00
for_loop_2.cpp extra run of the script to remove tabs and trailing whitespaces 2020-03-26 14:16:06 +01:00
hierarchy.cpp
info_insert_with_pair_iterator_2.cpp CGAL Examples: CGAL_assertion -> assert 2022-01-24 10:19:04 +00:00
info_insert_with_pair_iterator_regular_2.cpp CGAL Examples: CGAL_assertion -> assert 2022-01-24 10:19:04 +00:00
info_insert_with_transform_iterator_2.cpp CGAL Examples: CGAL_assertion -> assert 2022-01-24 10:19:04 +00:00
info_insert_with_zip_iterator_2.cpp CGAL Examples: CGAL_assertion -> assert 2022-01-24 10:19:04 +00:00
low_dimensional.cpp Add a figure and an example for dimension < 2 2020-05-21 16:21:32 +01:00
polygon_triangulation.cpp T2 and CDT2 draw 2023-12-01 18:02:09 +01:00
polygon_triangulation_graphics_scene_options.h update reuse to v5 2024-11-26 10:14:17 +01:00
polylines_triangulation.cpp major cleanup of Polyline_constraint_hierarchy_2 2025-01-13 17:06:58 +01:00
print_cropped_voronoi.cpp run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
regular.cpp
segment_soup_to_polylines.cpp fix the failing test 2025-01-22 22:43:59 +01:00
star_conflict_zone.cpp Update Triangulation_2/examples/Triangulation_2/star_conflict_zone.cpp 2022-03-07 15:12:13 +01:00
terr_trian.cin
terr_trian.cpp clean up 2022-01-28 16:52:21 +01:00
terrain.cpp
terrain_with_info.cpp run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
triangulation_prog1.cpp Example pass 2021-02-19 12:23:18 +01:00
triangulation_projection_traits.cpp Rename example to avoid conflicts 2021-08-26 11:15:36 +02:00
voronoi.cpp run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01: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 additional 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  additional
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.

info_insert_with_pair_iterator_2
info_insert_with_pair_iterator_regular_2
info_insert_with_zip_iterator_2
info_insert_with_transform_iterator_2
Show how to insert points and info using the insert by range function
with different methods.