cgal icon indicating copy to clipboard operation
cgal copied to clipboard

PMP: Add function that trims triangle mesh at a close polyline

Open afabri opened this issue 1 year ago • 2 comments

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

afabri avatar Sep 20 '22 13:09 afabri

/build:v0

afabri avatar Sep 20 '22 13:09 afabri

The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/6862/v0/Manual/index.html

github-actions[bot] avatar Sep 20 '22 13:09 github-actions[bot]

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.

MaelRL avatar Sep 27 '22 11:09 MaelRL

Could it be a demo plugin?

sloriot avatar Sep 27 '22 11:09 sloriot