mirror of https://github.com/CGAL/cgal
Merge pull request #7385 from sloriot/PMP-tr_fix_deg_tri
handle degenerate triangles (usually created with the reprojection)
This commit is contained in:
commit
2262bc9909
|
|
@ -188,6 +188,10 @@ void tangential_relaxation(const VertexRange& vertices,
|
|||
}
|
||||
prev = n;
|
||||
}
|
||||
|
||||
if (first_run)
|
||||
return true; //vertex incident only to degenerate faces
|
||||
|
||||
if (!get(ecm, edge(first_h, tm)))
|
||||
if (to_double(first * prev) <= 0)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue