mirror of https://github.com/CGAL/cgal
null vector for degenerate faces is only expected for EPECK
can be non-null for other kernels
This commit is contained in:
parent
a9d5e019b7
commit
08cf03e349
|
|
@ -98,8 +98,11 @@ void test(const Mesh& mesh,
|
|||
// tests on non triangular meshes are @todo
|
||||
if(CGAL::is_triangle(halfedge(f, mesh), mesh))
|
||||
{
|
||||
if(PMP::is_degenerate_triangle_face(f, mesh))
|
||||
assert(get(fnormals, f) == CGAL::NULL_VECTOR);
|
||||
if (PMP::is_degenerate_triangle_face(f, mesh))
|
||||
{
|
||||
if (std::is_same<K, EPECK>())
|
||||
assert(get(fnormals, f) == CGAL::NULL_VECTOR);
|
||||
}
|
||||
else
|
||||
assert(get(fnormals, f) != CGAL::NULL_VECTOR);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue