cgal
cgal copied to clipboard
PMP: Add function that trims triangle mesh at a close polyline
Summary of Changes
We add a function that trims a triangle mesh at a given polyline that is close to the surface. The current implementation projects the points and then creates a clipping mesh by extruding the projected polyline by local normals.
Todo
- [ ] The extrusion distance is still a constant
- [ ] Is the function name well chosen since we keep both parts
- [ ] Could this be implemented with the shortest paths via projections points (intrinsic triangulation ?).
Release Management
- Affected package(s): Polygon_mesh_processing
- Issue(s) solved (if any): -
- Feature/Small Feature (if any): tbd
- Link to compiled documentation: link
- License and copyright ownership: GeometryFactory
/build:v0
The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/6862/v0/Manual/index.html
After offline discussion, it was decided to postpone the integration of this new function as the current implementation is too tailored for specific inputs (single CC, closed mesh, nice polyline, etc.) compared to the genericity of the name.
Also the projection of the polyline onto the mesh should likely be geodesics-based instead.
Could it be a demo plugin?