diff --git a/Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h b/Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h index e041e3420e1..c86af513ea5 100644 --- a/Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h +++ b/Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h @@ -203,6 +203,10 @@ public: TriangleAccessor().triangles_end(p)), bounding_tree_(&tree_) // the bounding tree is tree_ { + if(!p.is_pure_triangle()) { + std::cerr << "Your input polyhedron must be triangulated!\n"; + CGAL_error_msg("Your input polyhedron must be triangulated!"); + } } Polyhedral_mesh_domain_3(const Polyhedron& p,