null vector for degenerate faces is only expected for EPECK

can be non-null for other kernels
This commit is contained in:
Sven Oesau 2022-09-26 08:59:34 +02:00
parent a9d5e019b7
commit 08cf03e349
1 changed files with 5 additions and 2 deletions

View File

@ -99,7 +99,10 @@ void test(const Mesh& mesh,
if(CGAL::is_triangle(halfedge(f, mesh), mesh))
{
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);
}