问题
How does one enumerate/identify mesh boundaries in CGAL?
https://doc.cgal.org/latest/Mesh_3/Mesh_3_2mesh_polyhedral_domain_8cpp-example.html
shows how to read in the bounding polyhedron (defined by vertices and facets) from an off file, but I can't figure out how to associate selected facets with distinct boundary IDs -- this is required in the subsequent finite element analysis where I have to apply different boundary conditions on different parts of the mesh. I've tried to (ab)use the colour information (an additional optional integer following the vertex connectivity) in the off file but sadly that information gets ignored by CGAL.
来源:https://stackoverflow.com/questions/51106418/cgal-enumerating-identifying-mesh-boundaries