This is a question about the 3D Surface Mesh Generation tool in CGAL.
According to the documentation, I need to provide the surface to be meshed in implicit-form as a zero level-set surface. This seems to place a restriction on the input surface to be manifold.
The Problem
In my use-case, I need to generate mesh for a small 'region' of an otherwise larger 'parent' manifold implicit surface. The 'region' itself is non-manifold because it does not enclose a volume.
A way I can think of for tackling this is :
- Mesh the entire 'parent' surface, and then
- Extract the mesh corresponding to the required 'region'.
However, I want to avoid this for performance reasons.
How should I proceed with this ? Is any other module available in CGAL that can help me achieve this ?