mirror of https://github.com/CGAL/cgal
handle degenerate triangles (usually created with the reprojection)
This commit is contained in:
parent
06a2f7b3b4
commit
054906fe7c
|
|
@ -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