Merge branch 'gsoc2019-add_basic_viewer-jasmeet' of github.com:CGAL/cgal-public-dev into gsoc2019-add_basic_viewer-jasmeet

This commit is contained in:
Jasmeet Singh 2019-06-25 11:47:36 -07:00
commit d28a767b77
3 changed files with 9 additions and 9 deletions

View File

@ -398,15 +398,15 @@ 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<P2T2>() \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:
- <B>STORED</B> Display all geometric primitives as they are stored in Triangulation_data_structure_2
- <B>UNIQUE</B> Display only one representative of each geometric primitive even if the triangulation is computed in multiply sheeted covering space.
- <B>STORED_COVER_DOMAIN</B> Same as STORED but also display all primitives whose intersection with the original domain of the current covering space is non-empty
- <B>UNIQUE_COVER_DOMAIN</B> Same as UNIQUE but also display all primitives whose intersection with the original domain of the current covering space is non-empty
- <B>STORED</B> Display all geometric primitives as they are stored in Triangulation_data_structure_2;
- <B>UNIQUE</B> Display only one representative of each geometric primitive even if the triangulation is computed in multiply sheeted covering space;
- <B>STORED_COVER_DOMAIN</B> Same as STORED but also display all primitives whose intersection with the original domain of the current covering space is non-empty;
- <B>UNIQUE_COVER_DOMAIN</B> Same as UNIQUE but also display all primitives whose intersection with the original domain of the current covering space is non-empty.
The domain can also be visualized by a key press. To see how to visualize the Periodic Triangulation in various modes, press key H when the viewer window is active and go to Keyboard tab. See \cgalFigureRef{P2Triangulation2figdraw1} and \cgalFigureRef{P2Triangulation2figdraw2}
The domain can also be visualized by a key press. To see how to visualize the Periodic Triangulation in various modes, press key H when the viewer window is active and go to Keyboard tab. See \cgalFigureRef{P2Triangulation2figdraw1} and \cgalFigureRef{P2Triangulation2figdraw2}.
\cgalFigureBegin{P2Triangulation2figdraw1, unique.png, unique-cover.png}
Result of the run of the draw_periodic_2_triangulation_2 program for display modes Unique(left) and Unique Cover Domain(right). The window allows to navigate through the 3D scene.
Result of the run of the draw_periodic_2_triangulation_2 program for display modes Unique(left) and Unique Cover Domain(right). The window allows to navigate through the 2D scene.
\cgalFigureEnd
\cgalFigureBegin{P2Triangulation2figdraw2, stored.png, stored-cover.png}
Result of the run of the draw_periodic_2_triangulation_2 program for display modes Stored(left) and Stored Cover Domain(right).

View File

@ -3,7 +3,7 @@ namespace CGAL {
/*!
\ingroup PkgDrawVoronoiDiagram2
Opens a new window and draws `av2`, the `Voronoi_diagram_2` constructed from a Delaunay Graph which is a model of `DelaunayGraph_2` concept.
opens a new window and draws `av2`, the `Voronoi_diagram_2` constructed from a Delaunay Graph which is a model of `DelaunayGraph_2` concept.
The class `Voronoi_diagram_2` provides an adaptor to view a triangulated Delaunay graph as their dual subdivision, the
Voronoi diagram. A call to this function is blocking, that is the program continues as soon as the user closes the window.
This function requires CGAL_Qt5, and is only available if the flag CGAL_USE_BASIC_VIEWER is defined at compile time.
@ -14,4 +14,4 @@ Voronoi diagram. A call to this function is blocking, that is the program contin
template<class V2>
void draw(const V2& av2);
} /* namespace CGAL */
} /* namespace CGAL */

View File

@ -499,7 +499,7 @@ This function requires CGAL_Qt5, and is only available if the flag CGAL_USE_BASI
\cgalFigureBegin{draw_voronoi_diagram, draw_voronoi_diagram.png}
Result of the draw_voronoi_diagram_2 program. A window shows the Voronoi vertices and edges.
The window allows navigation through the 3D scene.
The window allows navigation through the 2D scene.
\cgalFigureEnd
*/