-
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
Isotropic remeshing: add example with custom dummy sizing #7873
Isotropic remeshing: add example with custom dummy sizing #7873
Conversation
/// a function that updates the sizing field value at the vertex `v`. | ||
void update(const vertex_descriptor v, | ||
const PolygonMesh& pmesh); | ||
/// function called after the addition of the split vertex `v` in `pmesh`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we mention that the sizing field at v
may have to be updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sizing field class does register it and does what it needs to do. Uniform_sizing is not using it and neither does the custom example. Something like, "can be used to updated pre-computed sizing" can be added if you want to insist on that point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I think that it is important to say it. If there is nothing to update, then it's easy. Otherwise it's good to know that it is here that the user should do it.
Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/Adaptive_sizing_field.h
Outdated
Show resolved
Hide resolved
Successfully tested in CGAL-6.0-Ic-122 |
This PR was successfully tested, but there are two unresolved discussions:
For the moment, I will not merge this PR. I let you go on with the discussions. |
This pull-request was previously marked with the label |
I fixed both requests that are doc only in doc only files. Local doc testsuite is fine with the changes. Restoring "Tested" flag. |
/build:v2 |
The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/7873/v2/Manual/index.html |
Polygon_mesh_processing/doc/Polygon_mesh_processing/Concepts/PMPSizingField.h
Outdated
Show resolved
Hide resolved
Co-authored-by: Jane Tournois <[email protected]>
This pull-request was previously marked with the label |
Add a sizing interpolating the size along the y-axis and also improve the concept.