mirror of https://github.com/CGAL/cgal
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:
commit
d28a767b77
|
|
@ -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:
|
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>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>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>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>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}
|
\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
|
\cgalFigureEnd
|
||||||
\cgalFigureBegin{P2Triangulation2figdraw2, stored.png, stored-cover.png}
|
\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).
|
Result of the run of the draw_periodic_2_triangulation_2 program for display modes Stored(left) and Stored Cover Domain(right).
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ namespace CGAL {
|
||||||
/*!
|
/*!
|
||||||
\ingroup PkgDrawVoronoiDiagram2
|
\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
|
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.
|
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.
|
This function requires CGAL_Qt5, and is only available if the flag CGAL_USE_BASIC_VIEWER is defined at compile time.
|
||||||
|
|
|
||||||
|
|
@ -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}
|
\cgalFigureBegin{draw_voronoi_diagram, draw_voronoi_diagram.png}
|
||||||
Result of the draw_voronoi_diagram_2 program. A window shows the Voronoi vertices and edges.
|
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
|
\cgalFigureEnd
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue