Commit Graph

98940 Commits

Author SHA1 Message Date
Laurent Rineau c199795670 Merge pull request #6104 from sloriot/Property_map-fix_id_map_mutable
restore mutable property of the pmap
2021-11-18 12:27:23 +01:00
Laurent Rineau 3e877fa124 Merge pull request #6109 from afabri/CGAL-VC_max_warning-GF
PMP: Fix Warnings in Master
2021-11-18 12:27:21 +01:00
Laurent Rineau 4d38f2b7b3 Merge pull request #6114 from sloriot/CGAL-cmake_clean_up
Clean cmake scripts of examples and tests
2021-11-18 12:27:19 +01:00
Laurent Rineau ef69bdacb1 Merge pull request #6116 from lrineau/Fix_ctest_testsuite_for_three_demos
Call cgal_add_compilation_test to fix the CTest testsuite
2021-11-18 12:27:17 +01:00
Laurent Rineau 7b6855d5c3 Merge pull request #6117 from gdamiand/Polyhedron3-draw_bugfix-gdamiand
Remove -old option for Polyhedron_3 draw
2021-11-18 12:27:14 +01:00
Laurent Rineau a463b904f6 Merge pull request #6118 from lrineau/Voronoi_diagram_2-fix_cpp20_warning-GF
Voronoi_diagram_2: fix C++20 warnings [-Wambiguous-reversed-operator]
2021-11-18 12:27:11 +01:00
Laurent Rineau 630da18051 Merge pull request #6122 from MaelRL/CGAL-Prepare_changes.md-5.4-GF
Prepare CHANGES.md for 5.4
2021-11-18 12:27:09 +01:00
Laurent Rineau df47c7490b Merge pull request #6126 from dthul/patch-1
Mesh distance: use spatially sorted sample points
2021-11-18 12:27:07 +01:00
Daniel Thul bb83be1e73
Mesh distance: use spatially sorted sample points
The Hausdorff distance code makes a copy of the provided sample points and sorts them spatially such that the hints provided to the AABB tree will be good. There is an apparent mistake in the code though and instead of the spatially sorted sample points, the original (unsorted) ones are given to the AABB tree. The sorted ones are in fact never used.
This PR changes the code such that the sorted points are used.
2021-11-12 21:58:49 +01:00
Guillaume Damiand 2bbcabe71b The size of argv array is now 2, ending with nullptr. 2021-11-11 17:23:37 +01:00
Sébastien Loriot 3368b5af8c restore usage of use-file in Installation test
the script uses add_executable and linking to some CGAL targets
are needed. As I can't test it I prefer restoring the old behavior
2021-11-11 15:33:19 +01:00
Sébastien Loriot 32f40d82a7 workaround -Wmaybe-uninitialized
The init is legit as it prevents the reader to
do a useless loop and the writer to write
random number

In case of failing to read a face index or the number of faces,
the error bit in the stream is set anyway and the user has to
check it
2021-11-11 15:21:50 +01:00
Sébastien Loriot bd4b6e6716 restore the include file
there is a subtility I'm missing with argt testsuite
if not included, then flags define in the script
cgal_test_with_cmake are not passed to CXX_FLAGS
2021-11-11 15:01:06 +01:00
Mael Rouxel-Labbé e64089d690 Fix Heat Method & Weights package labels 2021-11-10 21:02:32 +01:00
Mael Rouxel-Labbé d41be445ab Concept formatting 2021-11-10 21:02:16 +01:00
Mael Rouxel-Labbé 3899ebaf24 Prepare CHANGES.md for CGAL 5.4 2021-11-10 21:02:04 +01:00
Sébastien Loriot 5a74a4981a still link with CGAL if Core is not present 2021-11-10 12:12:55 +01:00
Sébastien Loriot 6c8bedde0a add missing link to Core 2021-11-10 11:57:41 +01:00
Sébastien Loriot 833e51129f really use the type of the returned expression 2021-11-10 11:31:42 +01:00
Sébastien Loriot 50a47b2910 add missing target link 2021-11-10 10:21:34 +01:00
Guillaume Damiand ee11c858b5 The size of argv array is changed to 1 in all basic viewers. 2021-11-10 09:59:48 +01:00
Laurent Rineau 2e476304ed Fix warnings
> CGAL/Voronoi_diagram_2/Connected_components.h:103:19: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'CGAL::VoronoiDiagram_2::Internal::Connected_components<...>::HAVC') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]

I changed `operator==` into friend functions.
2021-11-10 09:35:10 +01:00
Sébastien Loriot 3bab771c52 restore removed lines 2021-11-10 09:33:23 +01:00
Andreas Fabri a2ae7d8e13 Addess -Wdeprecated-anon-enum-enum-conversion 2021-11-10 08:22:46 +00:00
Guillaume Damiand 5afc4cd6e2 Remove -old option for Polyhedron_3 draw 2021-11-09 19:02:36 +01:00
Sébastien Loriot 6680a6e6f9 constructing a string from nullptr is undefined behavior 2021-11-09 16:20:48 +01:00
Laurent Rineau 33ff2bf3eb Call cgal_add_compilation_test to fix the CTest testsuite 2021-11-09 16:09:54 +01:00
Sébastien Loriot 4eb1464aed fix Identity_map mutability and fix CGAL code using it 2021-11-09 11:37:24 +01:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 262a04cef2 remove useless POLICY setting 2021-11-09 10:19:14 +01:00
Sébastien Loriot 58181afcdb remove useless include directives 2021-11-09 10:16:12 +01:00
Sébastien Loriot 513d67d957 update version requirements 2021-11-09 10:07:25 +01:00
Sébastien Loriot 6905342894 remove non-default copy constructor 2021-11-08 14:15:41 +01:00
Laurent Rineau b26fa9b5ba Merge branch '5.3.x-branch' 2021-11-04 18:22:02 +01:00
Laurent Rineau 89f775c699 Merge pull request #6085 from lrineau/Stream_support-fix_examples_CMakeLists.txt-GF
Fix a bad merge from PR "Re-organize I/O #4255"
2021-11-04 18:21:54 +01:00
Laurent Rineau 1bee6ffae9 Merge pull request #6093 from sloriot/Data-fix_liver
Fix liver
2021-11-04 18:21:52 +01:00
Laurent Rineau 111d719aad Merge pull request #6100 from dpapavas/doo-sabin-gmpq-fix
Fix Doo Sabin subdivision for Gmpq-based kernels
2021-11-04 18:21:50 +01:00
Laurent Rineau 2e1a1e006b Merge pull request #6103 from sloriot/CGAL-basic_viewer_target
Add CGAL::CGAL_Basic_viewer target
2021-11-04 18:21:48 +01:00
Laurent Rineau 94afd3a8ad Merge pull request #6085 from lrineau/Stream_support-fix_examples_CMakeLists.txt-GF
Fix a bad merge from PR "Re-organize I/O #4255"
2021-11-04 18:21:26 +01:00
Laurent Rineau 5dcc4ddfd3
Merge pull request #6096 from sloriot/Installation-mt_change 2021-11-04 16:39:13 +01:00
Sébastien Loriot 6dd4bd73d6 improvement 2021-11-04 16:34:07 +01:00
Andreas Fabri 2478b854c3 Use CGAL::cpp11::result_of 2021-11-04 09:14:02 +01:00
Andreas Fabri 77ae994690 static cast size_t -> int 2021-11-03 23:20:12 +01:00
Andreas Fabri bd60afc8e5 static cast an enum to int before multiplication 2021-11-03 23:17:01 +01:00
Andreas Fabri 3dd497f2b6 Do not use #warning 2021-11-03 22:24:51 +01:00
Andreas Fabri 451e9e9b26 Fix calls to min and max 2021-11-03 22:09:02 +01:00
Laurent Rineau c8107012b5
Merge pull request #6105 from janetournois/Mesh_3-weighted_images-GF 2021-11-02 14:38:11 +01:00
Jane Tournois 6638da2761 add changes 2021-11-02 14:16:22 +01:00
Sébastien Loriot d33d8d72d7 add missing include statement 2021-11-02 13:54:36 +01:00
Sébastien Loriot 07421357a7 fix phrasing 2021-11-02 11:52:53 +01:00