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: |
||
|---|---|---|
| .. | ||
| auxiliary | ||
| cmake/modules | ||
| demo | ||
| doc_html | ||
| examples | ||
| include/CGAL | ||
| lib/cmake/CGAL | ||
| package_info/Installation | ||
| test | ||
| AUTHORS | ||
| CGALConfig.cmake | ||
| CGALConfigVersion.cmake | ||
| CHANGES.md | ||
| CMakeLists.txt | ||
| INSTALL.md | ||
| LICENSE | ||
| LICENSE.BSL | ||
| LICENSE.COMMERCIAL | ||
| LICENSE.GPL | ||
| LICENSE.LGPL | ||
| LICENSE.RFL | ||
| README.md | ||
| REUSE.toml | ||
README.md
README
This distribution of CGAL includes:
| File or directory | Description |
|---|---|
AUTHORS |
current and former authors of CGAL |
CHANGES.md |
history of changes of CGAL |
CGALConfig.cmake |
CMake package configuration file for CGAL |
CGALConfigVersion.cmake |
CMake package version file for CGAL |
CMakeLists.txt |
main CMake project configuration file |
INSTALL.md |
information about the installation process |
LICENSE |
describes the license of CGAL |
LICENSE.BSL |
text of the Boost Software License (BSL) license |
LICENSE.COMMERCIAL |
text of the GeometryFactory Commercial license |
LICENSE.GPL |
text of the GNU General Public License (GPL) v3 license |
LICENSE.LGPL |
text of the GNU Lesser General Public License (LGPL) v3 license |
LICENSE.RFL |
text of the ETH Zurich Random Forest algorithm License (RFL) license |
README.md |
this file |
VERSION |
version number of this release of CGAL |
auxiliary/ |
directory containing miscellaneous things, such as icons needed for the demos on macOS |
cmake/ |
some scripts needed by the CMake build system |
data/ |
directory containing various geometric data used by examples and demos of CGAL |
demo/ |
many demo programs for the various packages of CGAL. These programs produce visual output. |
doc_html/ |
documentation, such as the CGAL Installation Guide |
examples/ |
programs illustrating the usage of various packages of CGAL. |
include/ |
the include files for the CGAL library (as well as small external libraries, see the file LICENSE) |
lib/ |
contains CMake package configuration files for CGAL |
scripts/ |
some useful scripts for CGAL programmers |