Commit Graph

92081 Commits

Author SHA1 Message Date
Laurent Rineau b9e60e2fa0 Merge pull request #5474 from danston/TBB-execution_failures-danston
Triangulation_3 and Mesh_3 Timeouts for parallel tests fix
2021-03-03 16:31:06 +01:00
Laurent Rineau db66ada0b2 Merge pull request #5476 from sloriot/PMP-needle_caps_ecm_bug
PMP: Remove needles&caps fixes
2021-03-03 16:31:03 +01:00
Laurent Rineau 1477d121aa Merge pull request #5483 from danston/OTR-make_move_iterator_fix-danston
Kd_tree using vector constructor instead of insert
2021-03-03 16:31:00 +01:00
Laurent Rineau f611b32b37 Merge pull request #5502 from maxGimeno/CGAL-CGAL-Disable_tests_that_use_gmp_if_not_found-5.1-maxGimeno
CMake Fixes when CGAL_Core is disabled (5.1)
2021-03-03 16:30:58 +01:00
Laurent Rineau bd7eebf319 Merge pull request #5503 from maxGimeno/DIstance-Fix_with_LEDA-maxGimeno
Fix compare() with LEDA
2021-03-03 16:30:56 +01:00
Maxime Gimeno 7c94a1f2bf Replace condition for a clearer equivalent one, and use APPEND for env property in Arrangement_2 2021-03-02 09:59:28 +01:00
Maxime Gimeno fb174a2779 Add CGAL_DISABLE_GMP to the properties of the ctest tests 2021-03-01 15:24:38 +01:00
Maxime Gimeno 82989ae1af specify CGAL::compare to prevent conflict with LEDA::compare() 2021-03-01 13:18:15 +01:00
Maxime Gimeno 7d21d5b62d De-activate some things that depend on CGAL_Core if it is not FOUND 2021-03-01 11:27:43 +01:00
Sébastien Loriot 85a9962892 2 fixes:
- an edge cannot be collapsed if both its endpoints are constrained -> allow cap classification
- an edge with two constrained endpoints can be flipped (if not constrained)
2021-02-22 14:50:41 +01:00
Dmitry Anisimov a61653b2d8 all parallel tests are executed serial only in case of TBB on 2021-02-22 12:03:05 +01:00
Dmitry Anisimov 5ca5472ba4 better style 2021-02-22 11:12:43 +01:00
Dmitry Anisimov 9689ad23c2 added RUN_SERIAL option to the parallel tests in Triangulation_3 and Mesh_3 2021-02-22 11:08:06 +01:00
Dmitry Anisimov 2aa9b0297c kd tree using vector constructor instead of insert 2021-02-22 09:46:27 +01:00
Mael Rouxel-Labbé 68f53bc518 Clean preconditions of is_needle/cap 2021-02-19 18:04:58 +01:00
Mael Rouxel-Labbé 8afeab71e7 Various fixes for PMP::remove_almost_degenerate_faces
See https://github.com/CGAL/cgal/pull/5476
2021-02-19 18:02:15 +01:00
Sébastien Loriot a75ad50a31 allow to handle a triangle as a cap if the collapse_length_threshold is not met 2021-02-19 16:53:01 +01:00
Sébastien Loriot 7ab4a8f6a2 handle constrained edges removed upon collapse 2021-02-19 14:38:20 +01:00
Laurent Rineau bb36a410f8 Merge pull request #5112 from sloriot/Kernel_23-bisector_sqrt
Allow an inexact version of bisector when no sqrt is available.
2021-02-18 15:18:11 +01:00
Laurent Rineau 7d760d8a72 Merge pull request #5350 from maxGimeno/PSP_3-Fixes-for_pointmatcher-maxGimeno
PSP_3: Fix pointmatcher support
2021-02-18 15:18:08 +01:00
Laurent Rineau adf74f81b7 Merge pull request #5369 from sgiraudot/Point_set_3-Fix_broken_properties_and_types-GF
[Point Set 3] Fix broken properties and types
2021-02-18 15:18:06 +01:00
Laurent Rineau 8525561889 Merge pull request #5378 from afabri/SDG-random_shuffle-GF
Segment Delaunay Graph demos: Use CGAL::cpp98::random_shuffle()
2021-02-18 15:18:04 +01:00
Laurent Rineau 0539b1ab3a Merge pull request #5409 from lrineau/Triangulation_3-fix__move__semantic__of__Triangulation_hierarchy_3-GF
Fix the move-semantic of Triangulation_hierarchy_3
2021-02-18 15:18:00 +01:00
Laurent Rineau e022b8f049 Merge pull request #5462 from maxGimeno/CGAL-Fix_qt_warnings-maxGimeno
Fix Qt warnings
2021-02-18 15:17:58 +01:00
Maxime Gimeno 0a085569bf Fix parent error 2021-02-17 08:37:57 +01:00
Maxime Gimeno 38f1b179c0 Test the dynamic_cast rsult 2021-02-16 09:56:32 +01:00
Maxime Gimeno 0010df67e6 Remove useless if. 2021-02-16 08:57:47 +01:00
Maxime Gimeno 4a6aa7e024 use Qt::MiddleButton instead of MidButton(deprecated since 5.6 or earlier) 2021-02-15 15:22:41 +01:00
Maxime Gimeno a74914ecbd Fix warning null pointer 2021-02-15 15:18:02 +01:00
Laurent Rineau 160118e7e9 Fix a warning from MSVC 2015
include\CGAL/array.h(67): warning C4814:
     'CGAL::Construct_array::operator ()': in C++14 'constexpr' will
     not imply 'const'; consider explicitly specifying 'const'

It cannot harm.
2021-02-11 14:36:26 +01:00
Laurent Rineau 519870c4cb Add support for MSVC 2015
MSVC 2015 has a partial support for C++14, and in particular for C++14
`constexpr` functions. Since Boost-1.57 (that is the minimal
requirement for CGAL since version 5.0), `<boost/config.hpp>` has a
macro `BOOST_CXX14_CONSTEXPR` that can be either `constexpr` for
fully-C++14 compilers, or empty for non-compliant compilers.
2021-02-09 15:38:08 +01:00
Laurent Rineau d4947399ff
Merge pull request #5445 from maxGimeno/CI-Backport_demo_tests-maxGimeno
CI: Add tests for the demo
2021-02-09 12:46:25 +01:00
Maxime Gimeno 0eae59b8cd Add tests for the demo 2021-02-09 09:58:12 +01:00
Laurent Rineau 5380ffd257 Merge pull request #5336 from maxGimeno/GraphicsView-Use_opengl_4_1_context-maxGImeno
Graphics_view: Upgrade glsl version in basic_viewer_shaders
2021-02-05 16:05:55 +01:00
Laurent Rineau 0a8a7d2ed6 Merge pull request #5347 from gdamiand/LCC_demo-bugfix-gdamiand
Bug fix in LCC demo
2021-02-05 16:05:52 +01:00
Laurent Rineau b7f0248f11 Merge pull request #5371 from maxGimeno/Fix_Nesf_2_parser-maxGimeno
Fix OOB issues in Nef_*
2021-02-05 16:05:50 +01:00
Laurent Rineau 11939d830f Merge pull request #5377 from sloriot/PMP-typo
Remove extra p
2021-02-05 16:05:48 +01:00
Laurent Rineau 48d96d674e Merge pull request #5397 from sloriot/BGL-iv_cpfg
Handle isolated vertices in the target mesh
2021-02-05 16:05:46 +01:00
Laurent Rineau 38a6e9f8a4 Merge pull request #5424 from sloriot/PMP-hole_filling_no_warnings
Do not emit warning as hole filling can fail
2021-02-05 16:05:43 +01:00
Laurent Rineau 46cb451bde Force a move-construction in the test case for issue #5396 2021-02-04 10:47:52 +01:00
Laurent Rineau b8bb3ffc09 Apply on triangulation_hierarchy_2 the same fix as in 3D 2021-02-04 09:21:36 +01:00
Laurent Rineau 9799879eef Modernize a bit <CGAL/array.h> assuming C++14 2021-02-03 21:51:00 +01:00
Laurent Rineau 8dbf50a94b Create CGAL::make_filled_array
That function template will replace my adhoc
`create_array_of_triangulation`.
2021-02-03 21:50:10 +01:00
Laurent Rineau cbc73a8fc4 Add the testsuite for Triangulation_2, factorize it with T_3
I have added the file
`Testsuite/include/CGAL/Testsuite/Triangulation_23/test_move_semantic.h`
so that is can be reused in the tests for `Triangulation_2` and
`Triangulation_3`.

So far, the tests in `test_delaunay_hierarchy_2.cpp` fail...
2021-02-03 15:52:55 +01:00
Sébastien Loriot 22724728e7 do not emit warning as hole filling can fail 2021-02-03 12:48:50 +01:00
Laurent Rineau e6fe1c2031 Add the testcase from issue #5396 2021-02-02 20:52:49 +01:00
Laurent Rineau f14ab371ae Test move-assignments 2021-02-01 23:17:46 +01:00
Laurent Rineau de8bf2fd87 Fix Triangulation_hierarchy_3::operator=(Triangulation_hierarchy_3&&) 2021-02-01 23:17:21 +01:00
Laurent Rineau fe99ad3a2f Check that a moved-from triangulation can be assigned 2021-02-01 21:06:47 +01:00
Laurent Rineau 3b0cea9a47 Check that clear() can be called on a moved-from triangulation 2021-02-01 20:43:42 +01:00