mirror of https://github.com/CGAL/cgal
mesh_smoothing
This commit is contained in:
parent
ce104376b4
commit
3e90f9ccf7
|
|
@ -161,8 +161,9 @@ public:
|
||||||
put(marks, e, false);
|
put(marks, e, false);
|
||||||
for(edge_descriptor e : edge_range)
|
for(edge_descriptor e : edge_range)
|
||||||
put(marks, e, true);
|
put(marks, e, true);
|
||||||
|
#ifdef CGAL_PMP_SMOOTHING_DEBUG
|
||||||
int flipped_n = 0;
|
int flipped_n = 0;
|
||||||
|
#endif
|
||||||
while(!edge_range.empty())
|
while(!edge_range.empty())
|
||||||
{
|
{
|
||||||
edge_descriptor e = edge_range.back();
|
edge_descriptor e = edge_range.back();
|
||||||
|
|
@ -172,8 +173,9 @@ public:
|
||||||
|
|
||||||
if(should_be_flipped(e))
|
if(should_be_flipped(e))
|
||||||
{
|
{
|
||||||
|
#ifdef CGAL_PMP_SMOOTHING_DEBUG
|
||||||
++flipped_n;
|
++flipped_n;
|
||||||
|
#endif
|
||||||
halfedge_descriptor h = halfedge(e, mesh_);
|
halfedge_descriptor h = halfedge(e, mesh_);
|
||||||
|
|
||||||
#ifdef CGAL_PMP_SMOOTHING_DEBUG_PP
|
#ifdef CGAL_PMP_SMOOTHING_DEBUG_PP
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue