From c14f3cd7112261fc3d657345f8eaa7e636ccdc8d Mon Sep 17 00:00:00 2001 From: Panagiotis Cheilaris Date: Thu, 10 Apr 2014 11:04:43 +0200 Subject: [PATCH] CGAL_SDG_VERY_VERBOSE used in printing diagram Print the SDG Linf diagram if CGAL_SDG_VERY_VERBOSE is defined. Signed-off-by: Panagiotis Cheilaris --- .../Segment_Delaunay_graph_Linf_2_impl.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Segment_Delaunay_graph_Linf_2_impl.h b/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Segment_Delaunay_graph_Linf_2_impl.h index 2712ad4b468..c32c7d60150 100644 --- a/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Segment_Delaunay_graph_Linf_2_impl.h +++ b/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Segment_Delaunay_graph_Linf_2_impl.h @@ -54,7 +54,9 @@ insert_first(const Storage_site_2& ss, const Point_2& p) Vertex_handle v = this->_tds.insert_second(); v->set_site(ss); +#ifdef CGAL_SDG_VERY_VERBOSE CGAL_SDG_DEBUG(file_output_verbose(std::cout);); +#endif return v; } @@ -77,7 +79,9 @@ insert_second(const Storage_site_2& ss, const Point_2& p) return finite_vertices_begin(); } Vertex_handle v = create_vertex_dim_up(ss); +#ifdef CGAL_SDG_VERY_VERBOSE CGAL_SDG_DEBUG(file_output_verbose(std::cout);); +#endif return v; } @@ -515,7 +519,9 @@ insert_point2(const Storage_site_2& ss, const Site_2& t, //std::cout << "debug insert_point2 finishing" << std::endl; +#ifdef CGAL_SDG_VERY_VERBOSE CGAL_SDG_DEBUG( file_output_verbose(std::cout); ) ; +#endif return v; }