Merge pull request #5702 from GilesBathgate/Nef_3-disable_nef_trace-GilesBathgate

Replace CGAL_NEF_DEBUG with CGAL_USE_TRACE
This commit is contained in:
Sebastien Loriot 2021-06-25 09:29:03 +02:00 committed by GitHub
commit 11bc0e4e7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

@ -39,7 +39,7 @@
#include <sstream>
namespace CGAL {
#ifdef CGAL_NEF_DEBUG
#ifdef CGAL_USE_TRACE
#define PIS(s) (s->first())
#endif

View File

@ -191,9 +191,8 @@ class Binary_operation : public CGAL::SNC_decorator<Map> {
Halffacet_handle f;
Point_3 p(normalized(ip));
#ifdef CGAL_USE_TRACE
CGAL_NEF_TRACEN("Intersection_call_back: intersection reported on " << p << " (normalized: " << normalized(p) << " )");
#ifdef CGAL_NEF_DEBUG
CGAL_NEF_TRACEN("edge 0 has source " << e0->source()->point() << " and direction " << e0->vector());
if( CGAL::assign( e, o1)) {
CGAL_NEF_TRACEN("edge 1 has source " << e->source()->point() << " and direction " << e->vector());

View File

@ -303,12 +303,12 @@ public:
CGAL_NEF_TRACEN("f_visible"<< f_visible->plane());
}
else if(fc.is_svertex()) {
#ifdef CGAL_NEF_DEBUG
#ifdef CGAL_USE_TRACE
// TODO: is there any warranty that the outter facet cycle enty point is always at first
// in the cycles list?
++fc; while( fc != fce) { CGAL_assertion( fc.is_svertex()); ++fc; }
#endif
CGAL_NEF_TRACEN( "no adjacent facets were found (but incident edge(s)).");
#endif
f_visible = Halffacet_const_handle();
}
else