Commit Graph

105231 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé d2f6836a60 Use CGAL_AND 2025-01-16 10:42:21 +01:00
Mael Rouxel-Labbé 1e46c44142 Enable some disabled tests: operator==(Origin, Point_x) now exists 2025-01-16 10:41:47 +01:00
Mael Rouxel-Labbé 98201c6ecc Point_3 is no different from other kernel objects 2025-01-16 10:41:16 +01:00
Mael Rouxel-Labbé e4c0bf1ae5 Use const& for data member 2025-01-16 10:40:51 +01:00
Mael Rouxel-Labbé 604103d035 Regroup definitions of operator<=> for kernel objects + add missing 2025-01-16 10:39:21 +01:00
Mael Rouxel-Labbé 2f825080d5 Use the kernel's Boolean and enums 2025-01-16 10:37:38 +01:00
Mael Rouxel-Labbé 30064c18db Do not return const values 2025-01-08 17:26:04 +01:00
Mael Rouxel-Labbé 981e68c0e9 Fix using non-existant has_on_2 API 2025-01-08 17:25:48 +01:00
Mael Rouxel-Labbé d02e817bc1 Get rid of result types in function objects of Circular_kernel_23 2025-01-08 17:25:20 +01: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é b8830caa24 Remove superfluous precision 2025-01-08 17:20:20 +01:00
Mael Rouxel-Labbé b7de40afce Update enum_cast<Uncertain> calls to new API 2025-01-08 17:17:55 +01:00
Mael Rouxel-Labbé f26f41cff1 Minor CH3 test improvement 2024-12-29 23:39:21 +01:00
Mael Rouxel-Labbé 040f96557c Fix include filename 2024-12-29 23:38:36 +01:00
Mael Rouxel-Labbé c85b3884fa Update test for enum_cast<Uncertain> 2024-12-29 23:37:47 +01:00
Mael Rouxel-Labbé 7b160e34e3 Template the Uncertain enum_cast overload with Uncertain, not base enum
Templating by the base CGAL enum is just a way to have unintended
loss of uncertainty.
2024-12-29 23:17:58 +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é 9c517a47a2 Fix bad return types 2024-12-20 16:14:40 +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é 778ae1b9c8 Remove unused class 2024-12-20 15:25:03 +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
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
Mael Rouxel-Labbé dcb38f3151 Fix broken doc link 2024-11-12 14:53:03 +01:00
Mael Rouxel-Labbé 0d452b7cbd Remove extra parenthesis 2024-11-12 14:52:52 +01:00
Mael Rouxel-Labbé b02776b504 Remove wrong result_type (WIP: does not compile anymore) 2024-11-06 11:26:50 +01:00
Mael Rouxel-Labbé 181ccd2275 More instances of result_type --> dcltype(auto) 2024-11-06 11:25:47 +01:00
Mael Rouxel-Labbé b32491ad59 Revert sidechange 2024-11-03 21:06:31 +01:00
Mael Rouxel-Labbé 69c9abafe0 Remove obsolete debug cout 2024-11-03 20:53:24 +01:00
Mael Rouxel-Labbé 425fe50276 Add missing tests for filtered Cartesian kernels 2024-11-03 20:53:06 +01:00
Mael Rouxel-Labbé dd2fca2780 Actually test the full EPECK family 2024-11-03 18:16:13 +01:00
Mael Rouxel-Labbé ee451ed469 Fix dangling reference in Construct_center_3(Circle_3)
This fixes the issue, but it could still be broken e.g. by a kernel
that is based on a CGAL kernel, but redefines the Sphere_3 and
with Sphere_3-functor that would not return a const& (or in that
case the custom kernel needs to define the appropriate functors
too...)

But so much breaks into this configuration, that it's out of scope
for this fix.
2024-11-03 18:09:45 +01:00
Laurent Rineau 1709486fba next version will be 5.6.3 2024-10-22 16:36:00 +02:00
Sébastien Loriot 6065757250 Merge pull request #8556 from soesau/PSP3-cmake_tbb-GF
[PSP3] Updated TBB support in PSP3 CMakeLists.txt
2024-10-18 18:02:09 +02:00
Sébastien Loriot aed66d9e49 Merge pull request #8540 from soesau/Lab-Alpha_visualization-GF
[Lab] Fix transparency
2024-10-18 17:59:40 +02:00
Sébastien Loriot 32119c2a1a Merge pull request #8539 from afabri/Polygon-exact_area_bis-GF
Add specialization of Evaluate<> for Lazy_exact_nt
2024-10-18 17:59:24 +02:00
Sven Oesau ba33ac66e6 removing trailing whitespaces 2024-10-17 15:43:57 +02:00