Commit Graph

99500 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 9c95b2ccb1 Add proper traits usage to PMP::stitch_borders 2022-07-07 16:51:04 +02:00
Mael Rouxel-Labbé 0e5c2c42b9 Fix doc warning 2022-07-07 10:15:09 +02:00
Mael Rouxel-Labbé f1c8a918e4 Specify namespace 2022-07-07 10:14:56 +02:00
Mael Rouxel-Labbé 4bd80e76f3 Remove unused variable 2022-07-07 10:14:36 +02:00
Mael Rouxel-Labbé 24267f881e Fix construction due to variant 2022-07-06 12:43:53 +02:00
Mael Rouxel-Labbé d003577d5d Improve tests 2022-07-06 12:43:53 +02:00
Mael Rouxel-Labbé 89b7bb125d Fix edge source not propagating distances to its extremities
The fix is to change the way windows are created for edge sources : if it's
a border edge, then treat it as a face source; if it's a non border edge,
then do a 2-split of the face (each halfedge reaches 2 vertices, for a total
of 4 targets: 2 opposite, 2 incident)
2022-07-06 12:43:53 +02:00
Mael Rouxel-Labbé 64b9bbd9c6 Misc code improvements 2022-07-06 12:43:52 +02:00
Sebastien Loriot 696ec4f21a
Merge pull request #6695 from afabri/Surface_mesh_segmentation-leak-GF
Surface_mesh_segmentation: fix the memory leak
2022-07-04 10:47:29 +02:00
Sebastien Loriot 31010b0820
Merge pull request #6707 from sloriot/NT-fix_fwd_dcl
Fix forward declaration living in the wrong namespace
2022-07-04 10:47:16 +02:00
Sebastien Loriot b0a4263eb6
Merge pull request #6713 from sloriot/PMP-radf_no_nm_vertices
Avoid creating border non-manifold vertices
2022-07-04 10:47:04 +02:00
Laurent Rineau ce87699ed3 Merge pull request #6667 from sloriot/CGAL-please_intel_2019
Please intel 2019 compiler
2022-06-29 09:42:02 +02:00
Laurent Rineau 7f43d3b095 Merge pull request #6669 from sloriot/PMP-dbav_attention
Better doc + early quit
2022-06-29 09:42:00 +02:00
Laurent Rineau 0e1b904820 Merge pull request #6670 from lrineau/Polyhedron_demo-fix_segfaults_at_exit-GF
Polyhedron demo: Fix segfaults at exit
2022-06-29 09:41:58 +02:00
Laurent Rineau 57aba4eae1 Merge pull request #6673 from afabri/STL_Extension-Skip_list_memory_leak-GF
STL_extension: Fix memory leak in Skiplist
2022-06-29 09:41:56 +02:00
Laurent Rineau 07cd88eb76 Merge pull request #6683 from lrineau/Nef_S2-fix_use_after_free-GF
Nef_S2: Fix a use-after-free
2022-06-29 09:41:54 +02:00
Laurent Rineau 725ce591ea Merge pull request #6686 from sloriot/Nef_3-fix_cstrt_index_map
Nef_3, conversion from Polyhedron_3 to Nef_3: fix constness and index maps
2022-06-29 09:41:52 +02:00
Laurent Rineau 7b7d8c8f4a Merge pull request #6687 from sloriot/BGL-euler_doc
fix doc after import from Polyhedron
2022-06-29 09:41:50 +02:00
Sébastien Loriot 1bc8b294f8 avoid creating border non-manifold vertices 2022-06-24 13:30:53 +02:00
Andreas Fabri b45e788c0f Add graph::clear() 2022-06-24 09:30:16 +02:00
Mael Rouxel-Labbé 2b25cb131c Fix forward declaration living in the wrong namespace
cherry-pick of cd9200091d
2022-06-24 08:46:12 +02:00
Sébastien Loriot 29b3fb1bde fix doc 2022-06-20 18:03:15 +02:00
Sébastien Loriot 078122cd2e test constructor and constness 2022-06-20 16:59:35 +02:00
Sébastien Loriot e9e07ea874 fix constness issues without constcast and use initialized Index pmap mechanism 2022-06-20 16:30:10 +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
Andreas Fabri 34ad804065 Cleanup after Mael's code review 2022-06-16 14:46:36 +01:00
Andreas Fabri 393dc06bf8 STL_extension: Fix memory leak in Skiplist 2022-06-16 12:34:30 +01:00
Sébastien Loriot 87b3866e1c early exit when we reached the last level of the hierarchy 2022-06-15 17:28:35 +02:00
Laurent Rineau 017614c1f0 Merge pull request #6655 from lrineau/Triangulation_3-fix_use_after_free-GF
Triangulation_3: fix a use-after-free in `T3::remove` and `T3::move*` methods
2022-06-15 10:17:25 +02:00
Laurent Rineau aeb4ed1fc9 Merge pull request #6656 from lrineau/PMP-fix_missing_header-GF
PMP.repair_polygon_soup.h: add #include <deque>
2022-06-15 10:17:23 +02:00
Laurent Rineau 4f27a0cf3c Fix segfaults
The segfaults at the destruction of plugins were because of uninitialized pointers.
2022-06-15 10:13:44 +02:00
Sébastien Loriot 1f8cf134da add a warning 2022-06-15 10:03:51 +02:00
Sébastien Loriot 62936f8ee7 please intel 2019 compiler 2022-06-13 17:01:35 +02:00
Laurent Rineau e806a25861 Merge pull request #6638 from sloriot/Argt-no_boost_pool_alloc
Disable boost pool allocator
2022-06-10 16:43:47 +02:00
Laurent Rineau 2f4b173d00 Merge pull request #6649 from lrineau/fix_issue_6647
CGALConfig.cmake: Warn only if CGAL_TEST_SUITE is set and CGAL_DATA_DIR is not
2022-06-10 16:43:45 +02:00
Laurent Rineau 59b7339cd1 Merge pull request #6650 from afabri/Boolean_set_operations-disambuguate_do_intersect-GF
Regularized Boolean Set Operations:  Help compiler to disambiguate
2022-06-10 16:43:43 +02:00
Laurent Rineau 81ac3b9a11 One more use-after-free in P3T3 2022-06-10 09:46:09 +02:00
Laurent Rineau 14b582f83d More use our free of `outer_map` 2022-06-10 09:15:11 +02:00
Laurent Rineau f8f48f262d Add #include <deque> 2022-06-08 16:10:29 +02:00
Laurent Rineau f438a2ed3a Fix a use-after-free
In an `unordered_map`, any insertion can invalidate iterators,
when the load factor triggers a rehashing.
2022-06-08 15:52:01 +02:00
Sébastien Loriot 7ba4fbcaab std++14 style enable_if 2022-06-07 20:57:57 +02:00
Andreas Fabri 8c13bdaea3 Add issue 6600 test case 2022-06-07 19:47:30 +01:00
Andreas Fabri ef5bca8d10 Regularized Boolean Set Operations: Help compiler to disambiguate 2022-06-07 17:08:46 +01:00
Laurent Rineau be0f802236 Warn only if CGAL_TEST_SUITE is set and CGAL_DATA_DIR is not 2022-06-07 16:34:02 +02:00
Laurent Rineau 54a992ff9f Thie branch targets 5.4.2 2022-06-07 13:00:45 +02:00
Laurent Rineau e09b9c8a24 Merge pull request #6430 from sloriot/Kernel_23-s2s2_double_better_precision
add a double version of alpha computation
2022-06-03 16:08:23 +02:00
Sébastien Loriot 3d4ca1ae4e completely disable boost pool allocator
some regressions are observed in multithreaded env
2022-06-02 18:44:06 +02:00
Sébastien Loriot 3909bfed10 use a simpler version with value clamp and nan handling
Herbie expression was failing to give a result a good
result on a simple case so I wrote a simpler version
2022-05-30 15:53:15 +02:00
Sébastien Loriot 6f84cbebc2 Merge remote-tracking branch 'cgal/5.3.x-branch' 2022-05-26 18:13:19 +02:00
Sebastien Loriot 775312074e
Merge pull request #6576 from lrineau/QGLViewer-fix_picking_with_HiDPI_screen-GF
Fix 3D demo with HiDPI screen
2022-05-26 18:06:45 +02:00