-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add do_snap parameter to PMP::autorefine_triangle_soup #8744
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 do_snap parameter to PMP::autorefine_triangle_soup #8744
Conversation
…umber type; tested with EPECK et EPICK
What do you think of |
do you suggest to create a new function |
renaming the named parameter, provided Mael thinks it is a better name too. |
I do not like an |
note that's a named parameter, not a free function |
there is already the named parameter : |
OK, but I also meant the function |
for that one it could be |
and PMP examples fully red https://cgal.geometryfactory.com/CGAL/testsuite/summary-6.1-Ic-91.html?package=Polygon_mesh_processing_Examples |
..._mesh_processing/include/CGAL/Polygon_mesh_processing/internal/triangle_soup_snap_rounding.h
Outdated
Show resolved
Hide resolved
…nternal/triangle_soup_snap_rounding.h
Successfully tested in CGAL-6.1-Ic-170 |
Polygon_mesh_processing/doc/Polygon_mesh_processing/Concepts/PMPAutorefinementVisitor.h
Show resolved
Hide resolved
Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/autorefinement.h
Outdated
Show resolved
Hide resolved
..._mesh_processing/include/CGAL/Polygon_mesh_processing/internal/triangle_soup_snap_rounding.h
Show resolved
Hide resolved
This pull-request was previously marked with the label |
fdaac8c
to
f0464a9
Compare
Successfully tested in CGAL-6.1-Ic-184 |
Summary of Changes
The PR adds the
do_snap
parameter toautorefine_triangle_soup()
. When set totrue
, the coordinates are rounded to fit indouble
with additional subdivisions, preventing any self-intersections from occurring.Todo
Release Management