CDT_3 and Tetrahedral remeshing - missing API glue

Open
#8,963 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 3 days

@janetournois is already working on this.

Since Jul 9, 2025.

Assessment

This issue has not been assessed yet.

Description

Pkg::CDT_3

Issue Details

In the output of CDT and get_remeshing_triangulation(), each facet has its own Surface_patch_index.
When plc_face_id is given, some coplanar facets may be merged into one surface patch, but the other facets have their own patch ids.

Then, Tetrahedral_remeshing will treat all the patch (or facets) boundary edges as patch borders, and keep them (they can be resampled, but endpoints and geometry are kept).

If the user wants to keep the input edges as CDT does, then it's good. But if the user is fine with remeshing and modifying his surface mesh, we should add an option let tetrahedral remeshing flip them, for example.

In CGAL Lab, I added "reset surface patches" on a CDT, to have all surface facets with the same surface ID.
That's nice for smooth objects, but looses the patch, and hence feature edges, information, that we may want to keep.

We need an extra layer of API to merge surface patches into larger patches at the end of CDT.

Dominant language
C++
Stars
6.1k
Forks
1.6k
Avg merge
3d 19h
Merged PRs (30d)
55

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CGAL/cgal

All issues in CGAL/cgal

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.