Silenced some output

This commit is contained in:
Mael Rouxel-Labbé 2017-12-12 00:24:46 +01:00
parent 5ce19b18c5
commit 9a0075ef01
4 changed files with 6 additions and 10 deletions

View File

@ -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);

View File

@ -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
}

View File

@ -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
}

View File

@ -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<K>::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<K>::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<K>::Exact_kernel EK;