Commit Graph

713 Commits

Author SHA1 Message Date
Laurent Rineau 79cb90d5e7 fix warning
```
In constructor ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = CGAL::Triangle_3<CGAL::Epick>; _U2 = bool; _T1 = CGAL::Triangle_3<CGAL::Epick>; _T2 = bool]’,
    inlined from ‘constexpr std::pair<typename std::__strip_reference_wrapper<typename std::decay<_Tp>::type>::__type, typename std::__strip_reference_wrapper<typename std::decay<_Tp2>::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = CGAL::Triangle_3<CGAL::Epick>; _T2 = bool]’ at /usr/include/c++/15/bits/stl_pair.h:1169:72,
    inlined from ‘std::pair<CGAL::Triangle_3<CGAL::Epick>, bool> CGAL::Epic_converter<IK>::operator()(const typename IK::Triangle_3&) const [with IK = CGAL::Simple_cartesian<CGAL::Interval_nt<false> >]’ at /mnt/testsuite/include/CGAL/Epic_converter.h:224:28:
/usr/include/c++/15/bits/stl_pair.h:464:11: warning: ‘<unnamed>’ may be used uninitialized [-Wmaybe-uninitialized]
  464 |         : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y))
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

-> Use the default constructor of the pair, instead of `make_pair`.
2025-09-25 16:28:13 +02:00
Sébastien Loriot b2ba32307c Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/6.1.x-branch' 2025-08-13 18:07:09 +02:00
Sébastien Loriot 419057ece4 Merge remote-tracking branch 'cgal/5.6.x-branch' into 'cgal/6.0.x-branch' 2025-08-13 18:05:54 +02:00
Sébastien Loriot b1f151e598 use only one specialization using FT
cannot get the specialization as an object inherits from Lazy
2025-08-07 18:19:02 +02:00
Andreas Fabri 851d03dadb merge master 2025-05-07 09:13:11 +01:00
Sébastien Loriot cc77715588 Merge pull request #6849 from JulyCode/gsoc2022-isosurface
Isosurfacing_3 (new package)
2025-04-03 21:41:22 +02:00
Sébastien Loriot a4170b1fb9 Merge pull request #8586 from MaelRL/Kernel_23-Fix_dangling_ref_in_CC3-GF
Do not rely on result_type definitions in kernels
2025-04-03 16:12:09 +02:00
Sébastien Loriot 7a3e2b0c35 workaround to what looks like a bug in gcc master with EPECK
reproduced with gcc@c39b0d4fae
2025-03-25 10:39:28 +01:00
Mael Rouxel-Labbé 691fd789f9 Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2025-03-24 21:34:55 +01:00
Mael Rouxel-Labbé 3935242329 Rewrite Epic_predicate without C++20 2025-03-18 12:04:43 +01:00
Mael Rouxel-Labbé 42c7a3627d Modernize Filtered_construction 2025-03-16 21:37:37 +01:00
Mael Rouxel-Labbé 96524bdf2b Use std::invoke, CGAL::cpp20, ... 2025-03-15 22:52:44 +01:00
Mael Rouxel-Labbé f9001833b1 Merge remote-tracking branch 'cgal/master' into Kernel_23-Fix_dangling_ref_in_CC3-GF 2025-03-15 14:09:28 +01:00
Andreas Fabri 6eaeb7a148 merge cgal/master 2025-02-28 08:55:20 +00: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
Mael Rouxel-Labbé 06f862eee7 Misc post-merge fixes 2025-01-17 12:27:21 +01:00
Mael Rouxel-Labbé 3b7a4ed21e Merge remote-tracking branch 'cgal/master' into Kernel_23-Fix_dangling_ref_in_CC3-GF 2025-01-16 11:52:34 +01:00
Andreas Fabri f0c6891fe2 Remove dependency with a forward declaration 2025-01-10 13:17:18 +00:00
Andreas Fabri 2a1ece6969 Add BBox_d 2025-01-10 11:18:38 +00:00
Mael Rouxel-Labbé 8c95fcca9c Update Filtered_predicate_with_state not to rely on a 'result_type' typedef 2025-01-08 17:20:44 +01:00
Mael Rouxel-Labbé 040f96557c Fix include filename 2024-12-29 23:38:36 +01:00
Mael Rouxel-Labbé 7b6886ed17 Misc cleaning 2024-12-20 16:16:26 +01:00
Mael Rouxel-Labbé c22fadaa32 Do not rely on the predicate providing result_type in Filtered_predicate 2024-12-20 16:15:47 +01:00
Mael Rouxel-Labbé 4d4549cad6 Get rid of result_type in Kernels + fix some bad return types (wip) 2024-12-20 16:13:35 +01:00
Mael Rouxel-Labbé 468dde773d Use a clearer name than "Static_filtered_predicate" for EPECK static filters 2024-12-20 16:00:20 +01:00
Mael Rouxel-Labbé a886420841 Misc cleaning 2024-12-20 15:47:07 +01:00
Mael Rouxel-Labbé e534750bbe Fix but don't fix broken Has_static_filters for EPECK
Tracked in #8671
2024-12-20 15:36:49 +01:00
Mael Rouxel-Labbé 6b1e666866 Remove superfluous code in Lazy_construction 2024-12-20 15:36:09 +01:00
Mael Rouxel-Labbé 9c9892c18e Use variadic functions in Static_filtered_predicate 2024-12-20 15:34:54 +01:00
Mael Rouxel-Labbé 7b6755f666 Remove code that was used to filter between different lazy constructions 2024-12-18 12:04:12 +01:00
Mael Rouxel-Labbé 9d10860b27 Use a single Lazy_construction class
Within the operator(), we do mostly what was done in separate functors
before, but can now be done in the same function because even
though the return type (deduced by decltype(auto)) is not the same
for each 'if' block, the C++17 constexpr allows different return
types in the different blocks.

Not only we factorize code, but we do not have to use result_types
anymore, and we can get the true result_type thanks to decltype()
on the actual functor + parameters call.
2024-12-18 12:01:04 +01:00
Mael Rouxel-Labbé 9188e8adc4 Fix name: polygonal_envelope > polyhedral_envelope 2024-12-17 22:47:13 +01:00
Mael Rouxel-Labbé 4783005cbf Remove unused functor 2024-12-17 22:32:28 +01:00
Mael Rouxel-Labbé 7f1e16d8da Factorize operator()s of Lazy_construction_variant 2024-12-17 22:07:35 +01:00
Mael Rouxel-Labbé db1fa6dfac Factorize Lazy_construction_object into a single operator() 2024-12-17 15:49:29 +01:00
Mael Rouxel-Labbé abc4fe6bf8 Remove unused Lazy_rep objects 2024-12-17 15:48:23 +01:00
Sébastien Loriot b32558b87e Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-12-16 11:47:34 +01:00
Mael Rouxel-Labbé 8524c6a3cf Remove unused functors
See commit a052572
2024-12-12 17:22:09 +01:00
Mael Rouxel-Labbé ea9c2a3a6c Remove unused functors
last used: 369498d (2011-07-06)
2024-12-12 17:20:49 +01:00
Mael Rouxel-Labbé a052572103 Remove unused functor
Last used in: a214d62 (2012-12-06)
2024-12-12 17:16:15 +01:00
Sébastien Loriot c050bb15a3 Merge remote-tracking branch 'cgal/master' 2024-11-15 11:41:07 +01:00
Sébastien Loriot 0b9b42ace5 Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-10-18 18:00:08 +02:00
Sven Oesau a06002ab2b Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-10-14 14:42:46 +02:00
Andreas Fabri 49572692b3 Add specialization of Evaluate<> for Lazy_exact_nt 2024-10-13 20:03:15 +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
Marc Glisse 316ab90c98 Clean up 2024-08-22 12:32:06 +02:00
Mael Rouxel-Labbé 67aba3fefe Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-06-20 10:18:49 +02:00
Laurent Rineau 32893b91c0 Merge pull request #8263 from lrineau/CGAL-update_minimal_cmake-GF
cmake_minimum_required(VERSION 3.12...3.29)
2024-06-12 10:06:12 +02:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
albert-github 36c8b7589d Spelling corrections
Last batch (for now) of spelling corrections in doxygen and normal comments
2024-05-31 19:05:34 +02:00