Sebastien Loriot
3483e40b10
Mesh_3 - add `surface_only()` named parameter ( #8781 )
...
## Summary of Changes
Add the option `surface_only()` to `make_mesh_3()`, to completely skip
the "refine_cells" part of Mesh_3, and cancel perturbation and
exudation.
@soesau and I noticed that scanning cells, even in the context of
"Surface mesher", takes a lot of useless time.
@soesau you can use this branch for your benchmark
@lrineau do you think `surface_only` should be a member of `Mesher_3` or
a parameter of `Mesher_3::refine_mesh()` (as done here)?
## Release Management
* Affected package(s): Mesh_3
* [Small
Feature](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Mesh_3_surface_only() )
Pre-approved by
[User:Sloriot](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/User:Sloriot )
-- 2025/03/17
* Link to compiled documentation
[make_mesh_3()](https://cgal.github.io/8781/v0/Mesh_3/group__PkgMesh3Functions.html#gac8599a0c967075f740bf8e2e92c4770e )
and
[parameters::surface_only()](https://cgal.github.io/8781/v0/Mesh_3/group__PkgMesh3Parameters.html#gaa2618c09b6117d7caab12dccca16ee58 )
* License and copyright ownership: unchanged
2025-03-28 18:23:22 +01:00
Jane Tournois
3a94fcb68a
add surface_only() as a named parameter to make_mesh_3()
...
to completely skip the "refine_cells" part of Mesh_3
2025-03-11 16:58:28 +01:00
Sven Oesau
24d44e786b
Merge remote-tracking branch 'cgal/master' into PMP-PoissonDiskSampling-GF
2025-02-25 12:24:19 +01:00
Sébastien Loriot
4f9bf703e3
Merge remote-tracking branch 'cgal/6.0.x-branch' in master
2025-02-19 07:19:25 +01:00
Sébastien Loriot
f7629fa682
Merge remote-tracking branch 'cgal/5.6.x-branch' into cgal/6.0.x-branch
2025-02-19 07:18:41 +01:00
Sébastien Loriot
043becfe7f
Merge pull request #8273 from lrineau/CGAL-followup_PR_8170-lrineau
...
Improvement backports from CDT_3 branch (Follow-up to PR #8170 )
2025-02-12 19:43:35 +01:00
Sebastien Loriot
636368ed8f
Always init time_stamp to -2 ( #8714 )
...
It is not clear to me that this is the right thing to do:
- it is done for some classes
- but in some test, a comment mention that it should be uninitialized
(the test works if init to -1 but not to 0).
- Base_time_stamper is doing an init to -2
2025-02-12 19:40:27 +01:00
Sebastien Loriot
14b83f0d3e
boost::tie -> std::tie ( #8715 )
2025-02-12 19:36:19 +01:00
Andreas Fabri
98b6cf398d
change iterator category to bidirectional
2025-02-12 17:48:55 +00:00
Sven Oesau
bc97771d6a
added documentation
...
renamed weight_functor to weight_function
changed some default values of named parameters
2025-02-11 22:54:52 +01:00
Laurent Rineau
fa83d0bd45
fix Compact_container::reserve, with timestamps
2025-02-10 18:07:32 +01:00
Laurent Rineau
8eefb7f173
Merge branch 'master' into pr/lrineau/8273
2025-02-07 16:10:52 +01:00
Sebastien Loriot
e871025f36
update our CMake supported versions to ...3.31 ( #8727 )
...
## Summary of Changes
Update our CMake supported versions to ...3.31. That will suppress the
warnings about `CMP0167` (from CMake 3.30):
```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
```
## Release Management
* Affected package(s): all cmake scripts
* License and copyright ownership: maintenance by GF
2025-02-07 14:03:47 +01:00
Sven Oesau
f41a0a2e78
working poisson disk elimination
2025-02-05 17:27:20 +01:00
Laurent Rineau
e5001d1a50
update our CMake version 3.18...3.31
...
That will suppress the warnings about `CMP0167` (from CMake 3.30):
```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
```
2025-02-04 14:32:37 +01:00
Laurent Rineau
094507cfaa
fix an unrelated warning
...
That is not correct C++ code to copy uninitialized values.
2025-02-03 17:25:31 +01:00
Laurent Rineau
45da3684ba
Bug with Linear_cell_complex
...
One cannot call `std::allocator_traits<Alloc>::construct`, because some of linear cell complex classes have protected constructors with a lot of friend classes. They cannot be friend of all possible allocator classes, so...
2025-01-31 19:19:45 +01:00
Laurent Rineau
d582ec6ee1
bug fix
2025-01-31 19:17:36 +01:00
Laurent Rineau
fad5e30a54
initialize to -2, to use the debugging assertions
2025-01-31 18:09:07 +01:00
Laurent Rineau
5853673267
fix the concurrent compact container with timestamps
2025-01-31 18:07:59 +01:00
Laurent Rineau
b50579bd09
another fix for the buggy compiler from MSVC 2017
2025-01-31 10:12:04 +01:00
Laurent Rineau
571c2ccadc
fix compilation errors with C++>=20, or g++12.2.0
2025-01-30 17:39:32 +01:00
Sébastien Loriot
107f3696dc
boost::tie -> std::tie
2025-01-24 14:20:00 +01:00
Sébastien Loriot
eb0da467ed
always init time_stamp to -1
2025-01-24 11:08:34 +01:00
Laurent Rineau
0dcc287941
add CGAL::unordered_flat_set
2025-01-23 17:23:12 +01:00
Laurent Rineau
9ddc5294fa
cleanup in CGAL/Iterator_range.h
...
... and add a default constructor to create an
empty range (with singular iterators).
2025-01-23 09:32:51 +01:00
Laurent Rineau
1ce108778f
rewrite/refactor a lot of the code
2025-01-22 16:03:26 +01:00
Laurent Rineau
2869ad810b
fix compilation errors with C++<20
2025-01-15 19:08:01 +01:00
Laurent Rineau
d4e6ffddf4
fix protection against min/max macros
...
The regular expression I used was:
```
((?!(?:^.*(\/\/|\/\*).*|^ *\* .*|^[^"]*"(?:"[^"]*"|[^"])*))^(?:.*[ ,\(]|))(\b(?:(?:[A-Za-z]+::)*)(?:max|min))\b *\(
```
2025-01-14 16:12:34 +01:00
Laurent Rineau
bc8c1e6594
new allocator type, that allocates randomly on purpose
...
To debug non-determinism on Linux platforms.
2025-01-08 21:53:44 +01:00
Laurent Rineau
ea151ff987
fix CGAL_USE_BARE_STD_MAP with Polyline_constraint_hierarchy_2
2025-01-08 21:15:22 +01:00
Laurent Rineau
552685784b
Add CGAL::unordered_flat_map implementation
...
...and `refactor Polyline_constraint_hierarchy_2` to use it.
`CGAL::unordered_flat_map` will be Boost `unordered_flat_map` if availlable, or the standard `std::unordered_map` otherwise.
2025-01-08 11:46:23 +01:00
Jane Tournois
7e3aa09f2a
complete move file
2024-12-19 22:03:28 +01:00
Jane Tournois
a98101aa75
move tuple_like_helpers.h to STL_Extension to avoid dependency on Mesh_3
2024-12-19 17:38:14 +01:00
Laurent Rineau
8e5fab0c98
allow the initial points generator to be non-const
...
A lot of type erasure was necessary.
2024-12-18 16:45:25 +01:00
Laurent Rineau
e2d11a0fc5
allow a range as parameter
...
The preview implementation enforced the use of a full container.
2024-12-18 13:44:54 +01:00
Jane Tournois
75d3d30cb4
fix unused variable warnings and add a const
2024-11-05 10:27:54 +01:00
Jane Tournois
f3abf598ed
Merge remote-tracking branch 'cgal/master' into Mesh-3-rework-make-mesh-point-initialization-2-aclement
...
# Conflicts:
# Mesh_3/examples/Mesh_3/CMakeLists.txt
2024-11-04 12:42:37 +01:00
Sebastien Loriot
1690619625
CGAL: Modernize CMakeLists.txt ( #8528 )
...
## Summary of Changes
- Changed `PUBLIC` to `PRIVATE` in the `target_link_libraries()`
- ~~Link against `Boost::<COMPONENT>`~~ as we do more than just linking
and must use the `CGAL::_.._support`
- Use `target_compile_definitions()` and `add_compile_definitions()`
More to be done.
## Release Management
* Affected package(s): all
* Issue(s) solved (if any): fix one item of #4815
* License and copyright ownership: unchanged
2024-10-31 10:32:25 +01:00
Jane Tournois
f77f9c6847
Merge remote-tracking branch 'cgal/master' into Mesh-3-rework-make-mesh-point-initialization-2-aclement
...
# Conflicts:
# Installation/CHANGES.md
2024-10-23 16:35:56 +02:00
Sébastien Loriot
dd25a38a14
Merge pull request #8467 from afabri/STL_extension-Openmesh_conversion-GF
...
STL_extension: Add conversion operator
2024-10-21 19:15:22 +02:00
Laurent Rineau
96cd3e6f09
Merge remote-tracking branch 'cgal/master' into pr/afabri/8528
2024-10-17 00:25:24 +02:00
Andreas Fabri
95616154d5
More PRIVATE in LCC and Generalized_map
2024-10-09 07:19:52 +01:00
Andreas Fabri
527569346e
CGAL: Modernize CMakeLists.txt
2024-10-08 17:02:41 +01:00
albert-github
dd02af92a2
issue #8515 Spelling mistakes found checking `en-GB` to `en-US`
...
Spelling corrections, `en-GB` -> `en-US`
2024-10-05 11:28:29 +02:00
Jane Tournois
c1f2236ee3
Merge remote-tracking branch 'cgal/master' into Mesh-3-rework-make-mesh-point-initialization-2-aclement
...
# Conflicts:
# Installation/CHANGES.md
2024-09-30 14:02:09 +02:00
Jane Tournois
7c4ab1ca00
remove outdated named parameter
2024-09-30 13:04:00 +02:00
Jane Tournois
f3b9a5ac84
doc (Mael's review)
2024-09-30 12:46:29 +02:00
Jane Tournois
f0ad731919
cleaning
2024-09-30 12:12:54 +02:00
Jane Tournois
f4e2b3db69
remove useless generator() accessor
2024-09-26 11:02:34 +02:00