Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autorefine for triangle soup #7614

Merged
merged 105 commits into from
Dec 26, 2023
Merged

Conversation

sloriot
Copy link
Member

@sloriot sloriot commented Jul 21, 2023

Summary of Changes

Add the function PMP::autorefine_triangle_soup() (and autorefine()) to resolve self-intersection of triangles.

This PR also improves the 3D triangle intersection computation when the triangles are coplanar. The same tricks could be backported in 2D if needed.

Release Management

  • Affected package(s): PMP
  • Feature/Small Feature (if any): here Pre-approved on 2023/12/12
  • Link to compiled documentation (obligatory for small feature) here
  • License and copyright ownership: GF

TODO:

  • small feature
  • CHANGED.md
  • tests
  • remove useless debug code
  • remove code branches hidden with the preprocessor if they are not needed anymore
  • address remaining TODO in the code (or decide to drop them)
  • add an option to remove duplicated triangles (coplanar patches opti...) Left for later if someone asks for it

Add self-intersection test and report functions for triangle soups
triangle_3_triangle_3_intersection now passes
@sloriot
Copy link
Member Author

sloriot commented Dec 8, 2023

/build:v1

Copy link

github-actions bot commented Dec 8, 2023

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

@afabri afabri added pre-approved For pre-approved small features. After 15 days the feature will be accepted. and removed Not yet approved The feature or pull-request has not yet been approved. labels Dec 12, 2023
sloriot and others added 4 commits December 12, 2023 11:53
# Conflicts:
#	Installation/CHANGES.md
#	Polygon_mesh_processing/examples/Polygon_mesh_processing/CMakeLists.txt
@sloriot
Copy link
Member Author

sloriot commented Dec 18, 2023

Successfully tested in CGAL-6.0-Ic-129

@sloriot sloriot added Accepted small feature and removed pre-approved For pre-approved small features. After 15 days the feature will be accepted. Ready to be tested labels Dec 26, 2023
@sloriot sloriot merged commit 6eff89b into CGAL:master Dec 26, 2023
9 checks passed
@sloriot sloriot deleted the PMP-BF_autorefine branch December 26, 2023 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants