From 9a0075ef01a16f994d31e1c83c213e97ede2da07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Tue, 12 Dec 2017 00:24:46 +0100 Subject: [PATCH] Silenced some output --- .../CGAL/Periodic_3_mesh_3/Protect_edges_sizing_field.h | 2 ++ .../include/CGAL/Periodic_3_Delaunay_triangulation_3.h | 4 ++-- .../include/CGAL/Periodic_3_regular_triangulation_3.h | 4 ++-- .../Robust_periodic_weighted_circumcenter_traits_3.h | 6 ------ 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/Periodic_3_mesh_3/include/CGAL/Periodic_3_mesh_3/Protect_edges_sizing_field.h b/Periodic_3_mesh_3/include/CGAL/Periodic_3_mesh_3/Protect_edges_sizing_field.h index 4edac9bd73d..a9cbf5230f5 100644 --- a/Periodic_3_mesh_3/include/CGAL/Periodic_3_mesh_3/Protect_edges_sizing_field.h +++ b/Periodic_3_mesh_3/include/CGAL/Periodic_3_mesh_3/Protect_edges_sizing_field.h @@ -1615,7 +1615,9 @@ smart_insert_point(const Bare_point& p, Weight w, int dim, const Index& index, if(lt == Tr::VERTEX) { +#if CGAL_MESH_3_PROTECTION_DEBUG & 1 std::cerr << "Warning: point " << p << " already inserted" << std::endl; +#endif Vertex_handle v = ch->vertex(li); Index existing_vertex_index = c3t3_.index(v); diff --git a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h index b8b1d4a7f0b..198732b1a8a 100644 --- a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h +++ b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h @@ -997,8 +997,8 @@ remove_if_no_cover_change(Vertex_handle v) if(!Base::periodic_remove(v, remover, cover_manager, true /*abort if cover change*/)) { - std::cerr << "Warning: removing " << &*v << " (" << v->point() << ") would change cover" << std::endl; - std::cerr << "Aborted removal." << std::endl; +// std::cerr << "Warning: removing " << &*v << " (" << v->point() << ") would change cover" << std::endl; +// std::cerr << "Aborted removal." << std::endl; return false; // removing would cause a cover change } diff --git a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_regular_triangulation_3.h b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_regular_triangulation_3.h index be92cae1569..9c3d8cc9478 100644 --- a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_regular_triangulation_3.h +++ b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_regular_triangulation_3.h @@ -633,8 +633,8 @@ public: if(!Tr_Base::periodic_remove(v, remover, cover_manager, true /*abort if cover change*/)) { - std::cerr << "Warning: removing " << &*v << " (" << v->point() << ") would change cover" << std::endl; - std::cerr << "Aborted removal." << std::endl; +// std::cerr << "Warning: removing " << &*v << " (" << v->point() << ") would change cover" << std::endl; +// std::cerr << "Aborted removal." << std::endl; return false; // removing would cause a cover change } diff --git a/Periodic_3_triangulation_3/include/CGAL/internal/Robust_periodic_weighted_circumcenter_traits_3.h b/Periodic_3_triangulation_3/include/CGAL/internal/Robust_periodic_weighted_circumcenter_traits_3.h index 7d99308892e..21e9d35e43e 100644 --- a/Periodic_3_triangulation_3/include/CGAL/internal/Robust_periodic_weighted_circumcenter_traits_3.h +++ b/Periodic_3_triangulation_3/include/CGAL/internal/Robust_periodic_weighted_circumcenter_traits_3.h @@ -73,8 +73,6 @@ public: if(ps(p, q, r, s, p2wp(c), o_p, o_q, o_r, o_s, Offset()) != ON_POSITIVE_SIDE) { - std::cout << "Warning: circumcenter is not in the power sphere!" << std::endl; - // switch to exact typedef typename Base_traits::Kernel K; typedef typename Exact_kernel_selector::Exact_kernel EK; @@ -115,8 +113,6 @@ public: if(ps(p, q, r, p2wp(c), o_p, o_q, o_r, Offset()) != ON_BOUNDED_SIDE) { - std::cout << "Warning: circumcenter is not in the power sphere!" << std::endl; - // switch to exact typedef typename Base_traits::Kernel K; typedef typename Exact_kernel_selector::Exact_kernel EK; @@ -154,8 +150,6 @@ public: if(ps(p, q, p2wp(c), o_p, o_q, Offset()) != ON_BOUNDED_SIDE) { - std::cout << "Warning: circumcenter is not in the power sphere!" << std::endl; - // switch to exact typedef typename Base_traits::Kernel K; typedef typename Exact_kernel_selector::Exact_kernel EK;