-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Mesh 3 - mesh polyhedra with self intersections #5916
Mesh 3 - mesh polyhedra with self intersections #5916
Conversation
Would you mind using |
Sure! |
I have reviewed this PR. The functionality is certainly something we want to have in CGAL. However, as Jane said, that is a breaking change, where two concepts are amended: Even if only polyhedral mesh domains can benefit from the feature, for the moment all the users of Mesh_3 will be impacted by the new additions to the two concepts. Maybe we can find out a way to require the new fields conditionally. |
I agree |
the new visitor Facet_criterion_visitor_with_self_intersections allows to ignore "bad" mesh facets that have their dual intersecting a polyhedron facet that takes part into a self-intersection of the input model
…ormity # Conflicts: # Mesh_3/include/CGAL/Mesh_3/Refine_facets_3.h
a02cafa
to
887c8d9
Compare
@lrineau I have updated this PR. We have to decide whether we keep the breaking changes or find another API solution. |
I agree with you that the |
Summary of Changes
This PR introduces a new visitor for facet criteria to be able to deal with self-intersecting polyhedral inputs.
In the current version (c4142fa), there are 2 breaking changes :
Mesh_domain::Intersection
is changed fromstd::tuple<Point_3, Index, int>
tostd::tuple<Point_3, Index, int, bool>
std::array<bool, 4> self_intersections_table_
along with the associatedset_facet_on_self_intersection()
andis_facet_on_self_intersection()
has been added toCompact_mesh_cell_base
Release Management
Todo