From 2047eaa7dbe9cdd6a6ac2b822c7bc249247d1591 Mon Sep 17 00:00:00 2001 From: Jasmeet Singh Date: Wed, 3 Jul 2019 15:28:02 -0700 Subject: [PATCH] Add code of example to P2T2 documentation --- .../Periodic_2_triangulation_2/Periodic_2_triangulation_2.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Periodic_2_triangulation_2/doc/Periodic_2_triangulation_2/Periodic_2_triangulation_2.txt b/Periodic_2_triangulation_2/doc/Periodic_2_triangulation_2/Periodic_2_triangulation_2.txt index 19a0f572fba..a2bf64e5519 100644 --- a/Periodic_2_triangulation_2/doc/Periodic_2_triangulation_2/Periodic_2_triangulation_2.txt +++ b/Periodic_2_triangulation_2/doc/Periodic_2_triangulation_2/Periodic_2_triangulation_2.txt @@ -398,6 +398,8 @@ in the unit rectangle. The tests were done on an Intel i7 @ 2.67GHz. A 2D periodic triangulation can be visualized by calling the \link PkgDrawPeriodic2Triangulation2 CGAL::draw() \endlink function as shown in the following example. This function opens a new window showing the given Periodic Triangulation. Elements of the periodic triangulation can be viewed in four different modes: +\cgalExample{Periodic_2_triangulation_2/draw_periodic_2_triangulation_2.cpp} + - STORED Display all geometric primitives as they are stored in Triangulation_data_structure_2; - UNIQUE Display only one representative of each geometric primitive even if the triangulation is computed in multiply sheeted covering space; - STORED_COVER_DOMAIN Same as STORED but also display all primitives whose intersection with the original domain of the current covering space is non-empty;