Commit Graph

652 Commits

Author SHA1 Message Date
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
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
Andreas Fabri 49572692b3 Add specialization of Evaluate<> for Lazy_exact_nt 2024-10-13 20:03:15 +01:00
Laurent Rineau 9f96166d44 Merge branch '5.5.x-branch' into 5.6.x-branch
# Conflicts:
#	Polygon/include/CGAL/Polygon_2_algorithms.h
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2024-03-22 09:09:57 +01:00
Sébastien Loriot f34745c4d8 use a functor for collapsing the DAG to not depend on Filtered_kernel
nor inclusion order
2024-03-14 10:02:30 +01:00
Sébastien Loriot 2c8567ed16 add overload for Quotent as specialization for std::arithmetic result in undefined behavior 2024-03-06 10:48:52 +01:00
Sebastien Loriot 11b92e94f8
Add an alternative of Mpzf using boost cpp_int (#7191)
## TODO:
- [x] branch size
- [x] boost backend should not be the default in 5.6
2023-05-22 09:23:35 +02:00
Laurent Rineau 11ff3c57bd
Merge branch 'master' into CGAL-boost_mp_exact_ring_selector 2023-04-14 09:44:23 +02:00
Andreas Fabri b301aead85 Add a macro to not use interval arithmetic 2023-04-13 16:15:18 +01:00
Laurent Rineau 1dce90ee79 Merge remote-tracking branch 'cgal/master' into CGAL-allow_Epick_with_float-GF 2023-04-07 10:59:51 +02:00
Laurent Rineau 618a71cd0c Merge pull request #7234 from GilesBathgate/Lazy-remove_boost_pp_usage-GilesBathgate
Lazy_kernel: Replace BOOST_PP repeat macros with variadic templates
2023-02-24 16:14:46 +01:00
Giles Bathgate 5ed01d1498 Remove unneeded undef 2023-01-31 19:39:25 +00:00
Sébastien Loriot 9e137bca24 Merge 'cgal/master' 2023-01-31 12:26:55 +01:00
Giles Bathgate b3c49d0ed2 Replace BOOST_PP repeat macros with variadic templates 2023-01-30 22:12:14 +00:00
Mael 153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2023-01-27 22:09:02 +01:00
Mael 0ff7882997
Merge branch 'master' into feature/bug_documentation_spell_20221113 2022-12-06 22:21:06 +01:00
Mael 6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2022-12-05 16:03:41 +01:00
Laurent Rineau e8ec440859 Merge branch 'master' into Kernel-Compare_distance_3_RT_FT__always_Filtered_predicate_RT_FT-GF
# Conflicts:
#	STL_Extension/doc/STL_Extension/CGAL/Concurrent_compact_container.h
2022-12-05 14:51:31 +01:00
Mael da0b13699c
Merge branch 'master' into Kernel-Compare_distance_3_RT_FT__always_Filtered_predicate_RT_FT-GF 2022-12-02 23:19:29 +01:00
Mael Rouxel-Labbé b5c21e1f5d Http -> https + update some dead links 2022-11-23 18:54:37 +01:00
albert-github 45478184de spelling corrections
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
Laurent Rineau 9a7757c86e decltype(auto) -> auto to avoid references to temp
Visual Studio diagnoses:
```
C4172 : returning address of local variable or temporary
```

(reverts 0e898d9094)
2022-11-09 09:47:04 +01:00
Laurent Rineau 0e898d9094 decltype(auto) for Bbox_[23]
In the cartesian converter, the conversion of a bbox (2D or 3D)
returns a reference.
2022-11-08 12:00:13 +01:00
Laurent Rineau 9a881390a6 Rename Is_a_trivial_construction (remove `_a`) 2022-11-07 16:23:33 +01:00
Laurent Rineau 1c5454dcbe Add Converting_construction to Simple_precision_epick
The difficulty is to detect/define which constructions are "trivial"
and must not be wrapped into `Converting_construction`. Otherwise the
use of `Cartesian_converter`, that uses trivial constructions itself,
can lead to loops and infinite call stacks.
2022-10-28 12:07:58 +02:00
Mael Rouxel-Labbé 10eb694d38 Replace if constexpr with C++14 compatible code 2022-10-13 23:11:05 +02:00
Mael Rouxel-Labbé 2c23a6d5c5 Revert back to wrapping result_type to distinguish FT-necessary operator()s 2022-10-12 21:24:59 +02:00
Mael Rouxel-Labbé 873cc884b5 Get rid of _RT / _RT_FT kernel interface macros 2022-09-22 12:03:25 +02:00
Mael Rouxel-Labbé 214e072959 Switch from RT_sufficient to FT_necessary 2022-09-22 12:02:53 +02:00
Laurent Rineau 0141404f4d Merge pull request #6809 from lrineau/Filtered_kernel-fix__do_intersect__Bbox_3__Triangle_3__static_filters-GF
Fix static filter of Do_intersect_3(Bbox_3,Triangle_3)
2022-09-13 12:33:03 +02:00
Laurent Rineau ad2a07e653 Merge pull request #6809 from lrineau/Filtered_kernel-fix__do_intersect__Bbox_3__Triangle_3__static_filters-GF
Fix static filter of Do_intersect_3(Bbox_3,Triangle_3)
2022-09-13 12:32:20 +02:00
Laurent Rineau f52298a8c5 WIP: try to always use Filtered_predicate_RT_FT 2022-09-08 17:30:14 +02:00