a new assertion about cavity triangulations

This commit is contained in:
Laurent Rineau 2023-03-09 12:57:36 +01:00
parent bee2138b01
commit ccb8b0533f
1 changed files with 6 additions and 0 deletions

View File

@ -984,6 +984,12 @@ private:
}
}
}
CGAL_assertion(std::all_of(facets_of_cavity.begin(), facets_of_cavity.end(), [&](const auto& f) {
const auto [v0, v1, v2] = this->make_vertex_triple(f);
Cell_handle c;
int i, j, k;
return cavity_triangulation.is_facet(vertex_map[v0], vertex_map[v1], vertex_map[v2], c, i, j, k);
}));
return cavity_triangulation;
}