From 8e93b8ccbc4c609cfd24543a3148e2ec2cafac23 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Mon, 17 Oct 2022 18:02:52 +0200 Subject: [PATCH] spaces --- BGL/include/CGAL/draw_face_graph.h | 6 +++--- Polyhedron/include/CGAL/draw_polyhedron.h | 4 ++-- Surface_mesh/include/CGAL/draw_surface_mesh.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/BGL/include/CGAL/draw_face_graph.h b/BGL/include/CGAL/draw_face_graph.h index b47de2b34ee..a691e0c2fcf 100644 --- a/BGL/include/CGAL/draw_face_graph.h +++ b/BGL/include/CGAL/draw_face_graph.h @@ -86,7 +86,7 @@ void compute_elements(const FG &fg, for (auto e : edges(fg)) { if(m_drawing_functor.colored_edge(fg, e)) // edge is colored - { + { graphic_buffer.add_segment(get(point_pmap, source(halfedge(e, fg), fg)), get(point_pmap, target(halfedge(e, fg), fg)), m_drawing_functor.edge_color(fg, e)); @@ -104,12 +104,12 @@ void compute_elements(const FG &fg, for (auto v : vertices(fg)) { if(m_drawing_functor.colored_vertex(fg, v)) // vertex is colored - { + { graphic_buffer.add_point(get(point_pmap, v), m_drawing_functor.vertex_color(fg, v)); } else - { + { graphic_buffer.add_point(get(point_pmap, v)); } } diff --git a/Polyhedron/include/CGAL/draw_polyhedron.h b/Polyhedron/include/CGAL/draw_polyhedron.h index 85e3b363f08..81bbdb4370f 100644 --- a/Polyhedron/include/CGAL/draw_polyhedron.h +++ b/Polyhedron/include/CGAL/draw_polyhedron.h @@ -51,7 +51,7 @@ void add_in_graphic_buffer(const CGAL_POLY_TYPE& apoly, // Specialization of draw function: require Qt and the CGAL basic viewer. #ifdef CGAL_USE_BASIC_VIEWER - + template @@ -82,7 +82,7 @@ void draw(const CGAL_POLY_TYPE& apoly, draw_buffer(buffer, title); } #endif // CGAL_USE_BASIC_VIEWER - + #undef CGAL_POLY_TYPE } // End namespace CGAL diff --git a/Surface_mesh/include/CGAL/draw_surface_mesh.h b/Surface_mesh/include/CGAL/draw_surface_mesh.h index 06edfe14e63..cad60c4e87d 100644 --- a/Surface_mesh/include/CGAL/draw_surface_mesh.h +++ b/Surface_mesh/include/CGAL/draw_surface_mesh.h @@ -44,12 +44,12 @@ void add_in_graphic_buffer(const Surface_mesh& amesh, CGAL::Graphic_buffer &graphic_buffer, const DrawingFunctor &drawing_functor) { add_in_graphic_buffer_for_fg(amesh, graphic_buffer, drawing_functor); } - + template void add_in_graphic_buffer(const Surface_mesh& amesh, CGAL::Graphic_buffer &graphic_buffer) { add_in_graphic_buffer_for_fg(amesh, graphic_buffer); } - + #ifdef CGAL_USE_BASIC_VIEWER // Specialization of draw function.