mirror of https://github.com/CGAL/cgal
## Summary of Changes Added a `initial_points_generator` parameter in make_mesh_3. With this parameter, we can use a custom functor when initializing the C3t3 complex. This functor must follow the [Initial_points_generator](https://cgal.github.io/7798/v0/Mesh_3/classInitialPointsGenerator.html) concept. Tasks: - [x] Add `initial_points_generator` parameter in `make_mesh_3` - [x] Make an example - [x] Write `Construct_initial_points_labeled_image` into a header - [x] Make `initialize_triangulation_from_labeled_image` use `Construct_initial_points_labeled_image` - [x] Change definition of concept `InitialPointsGenerator` to output `std::tuple<MeshDomain::Point_3, int dimension, MeshDomain::Index>` (instead of `std::pair<MeshDomain::Point_3, MeshDomain::Index>`) - [x] Make it pass checks - [x] Document `initial_points_generator` parameter in `make_mesh_3` - [x] Document `Construct_initial_points_labeled_image` header - [x] Document example - [x] Delete `initialize_triangulation_from_labeled_image` and `initialize_triangulation_from_gray_image` - [x] Make an example of labelled and gray image initialisation with the parameter or the old custom initialization. - [x] Make small feature page - [x] add `Construct_initial_points_gray_image.h`, similar to `Construct_initial_points_labeled_image.h` - [x] Maybe add a test ? - [x] announce in `CHANGES.md`, see https://github.com/CGAL/cgal/pull/7798#issuecomment-2082701644 ## Release Management * Affected package(s): Mesh_3 * Issue(s) solved (if any): * fix #922 * fix #7469 * discussion #7537 * previous closed PR #7757 * Feature/Small Feature (if any): [Mesh_3_initial_points_generator_parameter](https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Mesh_3_initial_points_generator_parameter) * Link to compiled documentation [*here*](https://cgal.github.io/7798/v4/Manual/index.html): * [make_mesh_3](https://cgal.github.io/7798/v4/Mesh_3/group__PkgMesh3Functions.html#gac8599a0c967075f740bf8e2e92c4770e) has been modified to receive the parameters : * [initial_points_generator](https://cgal.github.io/7798/v4/Mesh_3/group__PkgMesh3Parameters.html#gaf53777b83f1b2f3e7d49275dbab6e46b) * [initial_points](https://cgal.github.io/7798/v4/Mesh_3/group__PkgMesh3Parameters.html#gae94f38c6cd23cce45a55608e881a546a) * The [InitialPointsGenerator](https://cgal.github.io/7798/v4/Mesh_3/classInitialPointsGenerator.html) concept that the functor must be a model of. * A model of this concept : [Construct_initial_points_labeled_image](https://cgal.github.io/7798/v4/Mesh_3/structCGAL_1_1Construct__initial__points__labeled__image.html) * License and copyright ownership: |
||
|---|---|---|
| .. | ||
| demo/Lab | ||
| package_info/Lab | ||