mirror of https://github.com/CGAL/cgal
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:
commit
11bc0e4e7e
|
|
@ -39,7 +39,7 @@
|
|||
#include <sstream>
|
||||
|
||||
namespace CGAL {
|
||||
#ifdef CGAL_NEF_DEBUG
|
||||
#ifdef CGAL_USE_TRACE
|
||||
#define PIS(s) (s->first())
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue