Commit Graph

435 Commits

Author SHA1 Message Date
Laurent Rineau 78e2d5e4d2 Merge pull request #6478 from afabri/Nef_3-replace_deque_by_vector_and_reserve-GF
Nef_3: Add overloads with ORIGIN in predicates
2023-03-02 13:42:35 +01:00
Andreas Fabri 49f7a40593 Use CGAL_Assertion_code() 2023-02-09 09:42:55 +00:00
albert-github 3674c937f7 spelling corrections
Some spelling corrections (Directories starting with `M`-` N`),
some backward work
some forward work
2022-11-15 15:21:01 +01:00
Andreas Fabri c352a9cd28 Address -Wunused-but-set-variable 2022-10-11 07:45:45 +01:00
Laurent Rineau 8a1c379e04 Merge pull request #6683 from lrineau/Nef_S2-fix_use_after_free-GF
Nef_S2: Fix a use-after-free
2022-06-29 09:50:39 +02:00
Laurent Rineau 6e8f312437 Fix a use-after-free
In the expression `M[--L.end()] = M[start];`, the hash map `M` can be
rehashed during the evaluation of the expression. That can lead to a
use-after-free when the reference to `M[start]` is loaded, and the evaluation
of `M[--L.end()]` triggers a rehash, and invalidates the reference to
`M[start]`.
2022-06-20 11:58:40 +02:00
Sebastien Loriot 269a391fa0
Merge pull request #6558 from lrineau/Installation-remove_wd4503-GF
CMake script updates: version of CMake and /wd4503 is only for MSVC 2015
2022-05-13 15:53:36 +02:00
Sebastien Loriot 0e0b813736
Merge pull request #6471 from GilesBathgate/Nef_3-performance_stdmap-GilesBathgate
Nef_3: Performance std::map -> std::unordered_map
2022-05-13 15:47:24 +02:00
Giles Bathgate 8770c7a0cd
Update Nef_S2/include/CGAL/Nef_S2/ID_support_handler.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-05-10 12:06:32 +01:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Andreas Fabri 2a5fcdcfb1 Add reserve() in generic code and change comment to avoid warning 2022-04-13 12:59:21 +01:00
Andreas Fabri 9023aaa542 More code for ORIGIN 2022-04-07 10:39:01 +01:00
Andreas Fabri 68a1fb4aad Use orientation with ORIGIN 2022-04-06 18:54:40 +01:00
Andreas Fabri ff15795882 Use orientation with ORIGIN 2022-04-06 17:40:49 +01:00
Giles Bathgate 9cdf8ba469 Use cross product instead of Plane_Plane intersection line 2022-04-02 18:10:06 +01:00
Sébastien Loriot 99f0598f3e Merge pull request #6378 from GilesBathgate/Nef_3-performance_sphere_circle-GilesBathgate
Nef_3: Sphere circle constructors.
2022-03-29 17:45:52 +02:00
Giles Bathgate 16bed97ec5 Remove sizing of hash tables in copy constructors, size just grows 2022-03-17 20:21:12 +00:00
Andreas Fabri 9a50014cc3 locally tested :< 2022-03-17 14:08:23 +01:00
Andreas Fabri bfebf2cd6f Change at two more places 2022-03-17 13:48:26 +01:00
Giles Bathgate 42cff9ee28 Use new kernel functors 2022-03-14 21:46:30 +00:00
Giles Bathgate 34da7cc64c Init hashtable size in Sphere_map 2022-03-11 21:27:32 +00:00
Giles Bathgate 933604b1e6 Init hashtable size in SNC_structure 2022-03-11 21:27:32 +00:00
Giles Bathgate ada0800a4f Prepare code for improvements to Kernel functors 2022-03-10 23:51:15 +00:00
Giles Bathgate 5136fea47a Rotate the parameters to orthogonal_vector, keep same parity of the permutation 2022-03-10 21:08:45 +00:00
Giles Bathgate 9e7e555024 Use functor instead of global function, tidy degenerate case 2022-03-09 17:42:00 +00:00
Giles Bathgate 1e26a739c5 Rename tag to Assume_d_equal_0 2022-03-08 08:18:16 +00:00
Giles Bathgate 57e9fa449d Add comment, and use is_zero 2022-03-04 17:35:00 +00:00
Giles Bathgate c6ae1fb238 Use conventional method for calling base members 2022-03-03 19:45:06 +00:00
Giles Bathgate a0d5fae2bd Add Origin based constructor to sphere_point and avoid conditional constructor 2022-03-03 18:55:37 +00:00
Andreas Fabri 79a38d5cb9 CGAL Examples: CGAL_assertion -> assert 2022-01-24 10:19:04 +00:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Mael Rouxel-Labbé 521c72d57e Fix typos 2021-10-04 13:34:07 +02:00
Sébastien Loriot 142fac63b5 Merge pull request #5699 from GilesBathgate/Nef_3-snc_decorator_deduplication-GilesBathgate
Remove duplicate code in SNC_const_decorator/SNC_decorator
2021-06-25 09:47:59 +02:00
Giles Bathgate 0572bc5f25 Rename pole function to orthogonal_pole 2021-06-13 17:03:52 +01:00
Giles Bathgate 6fb1928ab4 Use CGAL::ORIGIN instead of Point_3(0,0,0) in Sphere_segment 2021-06-13 17:03:52 +01:00
Giles Bathgate cb26fcb831 Remove code duplication in Sphere_segment 2021-06-13 17:03:50 +01:00
Giles Bathgate 5e3c93fa45 Add required headers to Sphere_segment 2021-06-13 17:03:05 +01:00
Laurent Rineau e3d5fccf5b Merge pull request #5684 from GilesBathgate/Nef_3-performance_snc_constructor-GilesBathgate
Nef_3 performance - has_on_after_intersection in SNC_constructor
2021-05-19 17:24:08 +02:00
Laurent Rineau 2c4a5db3ce Merge pull request #5631 from GilesBathgate/STL_ext-fix_uncaught_exceptions_cleanup-GilesBathgate
Fix uncaught exceptions cleanup
2021-05-18 18:14:14 +02:00
Giles Bathgate 77054d4f2a Remove duplicate code in SNC_const_decorator/SNC_decorator 2021-05-10 18:26:29 +01:00
Giles Bathgate a6b05d083e Use has_on_after_intersection in Sphere_segment 2021-05-07 22:59:28 +01:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Giles Bathgate 5ecd85248a Fix capitalisation of macro name. 2021-04-28 21:03:45 +01:00
Giles Bathgate 0ef8127c71 The CGAL_NOEXCEPT macro is no longer needed 2021-04-28 21:03:00 +01:00
Sebastien Loriot b7323389c7
Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno
Update maximum cmake versions
2021-04-17 10:58:14 +02:00
Sebastien Loriot 0c6404d1bc
Merge pull request #5596 from sloriot/Doc-precompiled_demos
Add doc for precompiled demos
2021-04-17 10:57:02 +02:00
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Sébastien Loriot 350b9172c5 replace %CGAL by \cgal (but in titles) 2021-04-11 14:52:01 +02:00
Maxime Gimeno 17602e589e Merge remote-tracking branch 'cgal/master' into CGAL-clang_tidy__nullptr_on_Mesh_2-GF 2021-04-07 09:17:51 +02:00