-
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
deprecate Surface_mesher package #8248
Conversation
There is one issue left in |
I am quite surprised by this PR. I thought the urgency for CGAL-6.0-beta1 was to announce a deprecation:
This PR is deprecating all the headers, and then everything that uses Surface_mesher internal now has to move in a rush, before CGAL-6.0-beta1. Is there a chance that:
|
With commit 6547f64 I have repaired the reconstruction plugin, and tested it in CGAL Lab. It seems correct. On the console:
Note that the UBAN sanitizer does not like that code, for a null cell pointer: cgal/Poisson_surface_reconstruction_3/include/CGAL/Poisson_reconstruction_function.h Lines 261 to 264 in 6547f64
|
Fixed by 9cd4535. Now: cgal/Poisson_surface_reconstruction_3/include/CGAL/Poisson_reconstruction_function.h Lines 261 to 267 in 9cd4535
Maybe Edit: see the new issue #8260 |
``` include/CGAL/Poisson_reconstruction_function.h:263:70: runtime error: reference binding to null pointer of type 'struct value_type' ```
9cd4535
to
693206c
Compare
Poisson_surface_reconstruction_3/include/CGAL/Surface_mesher/Poisson_sphere_oracle_3.h
Outdated
Show resolved
Hide resolved
...econstruction_3/examples/Poisson_surface_reconstruction_3/poisson_reconstruction_example.cpp
Outdated
Show resolved
Hide resolved
Poisson_surface_reconstruction_3/include/CGAL/Mesh_3/Poisson_mesh_traits_generator_3.h
Outdated
Show resolved
Hide resolved
...rface_reconstruction_3/test/Poisson_surface_reconstruction_3/poisson_reconstruction_test.cpp
Outdated
Show resolved
Hide resolved
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Now it uses Mesh_3 (in sequential) instead of Surface_mesher.
It looks like that the In the 1.11.0 version it looks like the message cannot appear anymore except for the C++-20 modules |
The full diff is at https://gist.github.com/lrineau/f5408f2e0c57e35ebf13f48b4778db90 |
/force-build:wip |
The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/8248/wip/Manual/index.html |
[skip ci]
[skip ci]
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.
Looks good, now.
- Tested a few packages with CTest: ✔️
- Tested CGAL Lab with the reconstruction and xyz plugins: ✔️
100% tests passed, 0 tests failed out of 138
Label Time Summary:
Basic_viewer_Examples = 71.67 sec*proc (14 tests)
CGAL_build_system = 2.86 sec*proc (2 tests)
Installation = 2.86 sec*proc (2 tests)
Poisson_surface_reconstruction_3_Examples = 129.51 sec*proc (10 tests)
Poisson_surface_reconstruction_3_Tests = 235.40 sec*proc (10 tests)
STL_Extension_Examples = 29.91 sec*proc (14 tests)
STL_Extension_Tests = 280.70 sec*proc (72 tests)
Surface_mesher_Examples = 32.04 sec*proc (6 tests)
Surface_mesher_Tests = 60.02 sec*proc (10 tests)
Total Test time (real) = 152.82 sec
This is no problem. We use Mesh_3 as Surface Mesher. In fact even with Mesh_3 we somehow would lilke to have a function called |
I have created a new issue #8269 to track that idea. |
deprecate Surface_mesher package
Successfully tested in CGAL-6.0-Ic-264 |
Surface_mesher has not been updated for a long time and all its functionalities (and more) have been implemented in Mesh_3. We now officially recommend to use Mesh_3 instead by deprecating the package.
Fixes #3237
Fixes #8211