diff --git a/CGAL_basic_viewers/doc/CGAL_basic_viewers/CGAL_basic_viewers.txt b/CGAL_basic_viewers/doc/CGAL_basic_viewers/CGAL_basic_viewers.txt index 3cf6e4188ae..7f268458568 100644 --- a/CGAL_basic_viewers/doc/CGAL_basic_viewers/CGAL_basic_viewers.txt +++ b/CGAL_basic_viewers/doc/CGAL_basic_viewers/CGAL_basic_viewers.txt @@ -3,7 +3,7 @@ namespace CGAL { \mainpage User Manual \anchor Chapter_CGAL_Basic_viewers -\anchor +\anchor \cgalAutoToc \author Guillaume Damiand, Mostafa Ashraf diff --git a/GraphicsView/include/CGAL/Buffer_for_vao.h b/GraphicsView/include/CGAL/Buffer_for_vao.h index 6847863fc64..6589800a9a2 100644 --- a/GraphicsView/include/CGAL/Buffer_for_vao.h +++ b/GraphicsView/include/CGAL/Buffer_for_vao.h @@ -164,7 +164,7 @@ public: if (m_flat_normal_buffer!=nullptr) { m_flat_normal_buffer->clear(); } if (m_gouraud_normal_buffer!=nullptr) { m_gouraud_normal_buffer->clear(); } if (m_bb!=nullptr) { (*m_bb)=CGAL::Bbox_3(); } - + m_zero_x=true; m_zero_y=true; m_zero_z=true; diff --git a/Linear_cell_complex/demo/Linear_cell_complex/Viewer.cpp b/Linear_cell_complex/demo/Linear_cell_complex/Viewer.cpp index 9289ade4c08..a773ebdb3f1 100644 --- a/Linear_cell_complex/demo/Linear_cell_complex/Viewer.cpp +++ b/Linear_cell_complex/demo/Linear_cell_complex/Viewer.cpp @@ -16,7 +16,7 @@ #include Viewer::Viewer(QWidget *parent) - : Base(parent, m_graphic_buffer, ""), + : Base(parent, m_graphic_buffer, ""), m_previous_scene_empty(true) { m_drawing_functor.volume_color=[](const LCC & alcc, diff --git a/Periodic_2_triangulation_2/include/CGAL/draw_periodic_2_triangulation_2.h b/Periodic_2_triangulation_2/include/CGAL/draw_periodic_2_triangulation_2.h index a1ade03cebd..6818134aebf 100644 --- a/Periodic_2_triangulation_2/include/CGAL/draw_periodic_2_triangulation_2.h +++ b/Periodic_2_triangulation_2/include/CGAL/draw_periodic_2_triangulation_2.h @@ -38,7 +38,7 @@ enum Display_type }; template -void compute_vertex(typename P2T2::Periodic_point_iterator pi, const P2T2 &p2t2, +void compute_vertex(typename P2T2::Periodic_point_iterator pi, const P2T2 &p2t2, CGAL::Graphic_buffer &graphic_buffer) { // Construct the point in 9-sheeted covering space and add to viewer @@ -46,7 +46,7 @@ void compute_vertex(typename P2T2::Periodic_point_iterator pi, const P2T2 &p2t2, } template -void compute_edge(typename P2T2::Periodic_segment_iterator si, const P2T2 &p2t2, +void compute_edge(typename P2T2::Periodic_segment_iterator si, const P2T2 &p2t2, CGAL::Graphic_buffer &graphic_buffer) { typedef typename P2T2::Segment Segment; @@ -57,8 +57,8 @@ void compute_edge(typename P2T2::Periodic_segment_iterator si, const P2T2 &p2t2, } template -void compute_face(typename P2T2::Periodic_triangle_iterator ti, const P2T2 &p2t2, - CGAL::Graphic_buffer &graphic_buffer, +void compute_face(typename P2T2::Periodic_triangle_iterator ti, const P2T2 &p2t2, + CGAL::Graphic_buffer &graphic_buffer, const DrawingFunctor &m_drawing_functor) { typedef typename P2T2::Triangle Triangle; diff --git a/Polygon/include/CGAL/draw_polygon_with_holes_2.h b/Polygon/include/CGAL/draw_polygon_with_holes_2.h index 560e8eaf4c3..8c8ca0c75c7 100644 --- a/Polygon/include/CGAL/draw_polygon_with_holes_2.h +++ b/Polygon/include/CGAL/draw_polygon_with_holes_2.h @@ -53,7 +53,7 @@ namespace draw_function_for_ph2_with_holes { template void compute_one_loop_elements(const typename P2::General_polygon_2& p, Graphic_buffer &graphic_buffer, bool hole) { - + if (hole) { graphic_buffer.add_point_in_face(p.vertex(p.size()-1)); } @@ -73,7 +73,7 @@ void compute_one_loop_elements(const typename P2::General_polygon_2& p, Graphic_ } template -void compute_elements(const P2& p2, Graphic_buffer &graphic_buffer, +void compute_elements(const P2& p2, Graphic_buffer &graphic_buffer, const DrawingFunctor &m_drawing_functor) { diff --git a/Surface_mesh_topology/include/CGAL/draw_face_graph_with_paths.h b/Surface_mesh_topology/include/CGAL/draw_face_graph_with_paths.h index c3fa6ea0b75..e27f4784b78 100644 --- a/Surface_mesh_topology/include/CGAL/draw_face_graph_with_paths.h +++ b/Surface_mesh_topology/include/CGAL/draw_face_graph_with_paths.h @@ -32,7 +32,7 @@ namespace CGAL { - + namespace draw_function_for_lcc { // We need to re-use the namespace draw_function_for_lcc because we want to specialize @@ -98,14 +98,14 @@ struct LCC_geom_utils, Local_kernel, 3> }; } // namespace draw_function_for_lcc - + namespace draw_function_for_face_graph_with_paths { typedef CGAL::Exact_predicates_inexact_constructions_kernel Local_kernel; typedef Local_kernel::Point_3 Local_point; typedef Local_kernel::Vector_3 Local_vector; - + // Destructor. // lcc.free_mark(m_oriented_mark); diff --git a/Triangulation_3/include/CGAL/draw_triangulation_3.h b/Triangulation_3/include/CGAL/draw_triangulation_3.h index 8b24306806b..2f78eb6db50 100644 --- a/Triangulation_3/include/CGAL/draw_triangulation_3.h +++ b/Triangulation_3/include/CGAL/draw_triangulation_3.h @@ -114,7 +114,7 @@ void compute_elements(const T3 *t3, CGAL::Graphic_buffer &graphic_bu compute_vertex(it, graphic_buffer, drawing_functor, t3); } } - + } // namespace draw_function_for_t3 template @@ -149,10 +149,10 @@ void add_in_graphic_buffer(const T3 &at3, CGAL::Random random((unsigned int)((std::size_t)(&*(fh->first)) + (std::size_t)(fh->second))); - + return get_random_color(random); }; - + add_in_graphic_buffer(at3, graphic_buffer, drawing_functor); }