Commit Graph

554 Commits

Author SHA1 Message Date
Laurent Rineau 2b94f06f57 Remove trailing whitespces 2023-05-11 16:32:34 +02:00
Laurent Rineau 7260a9497c Add debug tool
Protected by the macro CGAL_DEBUG_TRIANGULATION_SEGMENT_TRAVERSER_3
2023-05-11 16:18:16 +02:00
Laurent Rineau 152f0038fb improve the test process
- call the API with two vertex handles, when possible,
- add a check that the reported simplices intersect the query segment,
- add a chech that two consecutive simplices are incident.
2023-05-11 15:12:39 +02:00
Laurent Rineau 5a9d6d4998 cosmetic changes 2023-05-11 15:04:46 +02:00
Laurent Rineau 6325190a73 even more test cases 2023-05-09 12:35:09 +02:00
Laurent Rineau 4a0b1477f9 new test cases 2023-05-05 16:55:04 +02:00
Laurent Rineau 2220a1815a arg, a trailing whitespace! 2023-05-05 15:42:43 +02:00
Laurent Rineau 36b3491672 add a new test case vfefv for the simplex traverser
For the moment, that new test fails.
2023-05-05 15:30:43 +02:00
Sébastien Loriot 7b85df810d boost::add_const -> std::add_const 2023-04-23 22:37:07 +02:00
Sébastien Loriot 99e7f4806a boost::int -> std::int 2023-04-23 18:43:10 +02:00
Laurent Rineau 2e80c46ba6 prefix output files by "dump_" 2023-04-19 17:15:44 +02:00
Laurent Rineau b34aeef800 Warn about missing subfaces 2023-03-21 10:04:22 +01:00
Laurent Rineau 87840d889d WIP: insert bbox points
That is a workaround to avoid polygons on convex hulls.
2023-03-20 16:27:48 +01:00
Laurent Rineau d52369a25b Use argv[2] instead of `dump.off`, for the output file name 2023-03-17 13:28:06 +01:00
Laurent Rineau 549ff7bdb0 Fix typo 2023-03-16 14:00:12 +01:00
Laurent Rineau 5c339515cf Merge branch 'CGAL-rename_ctest_test_names-GF' into Triangulation_3-CDT_3-lrineau
# Conflicts:
#	Polygon_mesh_processing/examples/Polygon_mesh_processing/CMakeLists.txt
#	Triangulation_3/benchmark/Triangulation_3/CMakeLists.txt
2023-03-15 14:32:28 +01:00
Laurent Rineau 2f0203be10 Merge pull request #7255 from lrineau/CGAL-rename_ctest_test_names-GF
CGAL CTest support: rename the test names

# Conflicts:
#	Mesh_3/test/Mesh_3/CMakeLists.txt
2023-03-15 14:23:32 +01:00
Laurent Rineau 08c007a00e Add method `recheck_constrainted_Delaunay` 2023-03-13 14:32:43 +01:00
Laurent Rineau 81580c3e85 Detect non-coplanar polygons 2023-03-09 12:52:52 +01:00
Laurent Rineau 90387d3f5b Write the result to dump.off 2023-03-09 12:52:17 +01:00
Laurent Rineau c86c0fea01 Use new oformat possibilitities 2023-03-09 11:40:51 +01:00
Laurent Rineau 8ae9a279a4 CDT: add tests 2023-03-08 17:01:58 +01:00
Laurent Rineau efe3822f33 Merge pull request #7115 from MaelRL/T3-test_cleaning-GF
(Partial) Cleaning of Triangulation_3 tests
2023-03-02 13:42:29 +01:00
Laurent Rineau fa07828cfe Deal with -DDCGAL_NO_DEPRECATED_CODE 2023-02-21 13:35:08 +01:00
Laurent Rineau ca4ec2bbd6 Merge pull request #7255 from lrineau/CGAL-rename_ctest_test_names-GF
CGAL CTest support: rename the test names
2023-02-06 15:15:07 +01:00
Laurent Rineau 3a23114476 Reduce debug informations, by default 2023-02-06 15:04:36 +01:00
Laurent Rineau d2d841f3dc Debug info about the polygon id 2023-02-06 15:04:36 +01:00
Laurent Rineau b2fdc15f71 Improve debugging 2023-02-06 14:42:28 +01:00
Laurent Rineau 907e13e0d6 Use Output_rep to display debug info 2023-02-06 14:42:21 +01:00
Laurent Rineau 1a9c20b5c0 Use Base_with_time_stamp 2023-02-06 14:41:56 +01:00
Laurent Rineau cddb01ab68 Merge pull request #7253 from lrineau/Triangulation_2-improve-CDT_2_debugging-GF
STL_Extension/Triangulation_2: improve CDT_2 debug messages
2023-02-06 14:17:40 +01:00
Laurent Rineau 6df18b668c CGAL CTest support: rename the test names
Now that CTest test names can contain whitespace, we can have
better looking names. That is also more practicle because we can now
copy-paste the target name in `compilation of  <target_name>`.
2023-02-06 12:04:57 +01:00
Mael 153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2023-01-27 22:09:02 +01:00
Mael fe8262b85a
Merge branch 'master' into T3-test_cleaning-GF 2023-01-27 21:49:54 +01:00
Laurent Rineau ea07116789 WIP on CDT_3 region 2023-01-18 17:49:18 +01:00
Laurent Rineau 4eb725191e Fix the create of the CDTt_2s 2023-01-18 17:27:34 +01:00
Laurent Rineau 1198b18cd9 Only dump the triangulation once, at the end 2023-01-06 11:41:15 +01:00
Laurent Rineau 611bbe0abd write_missing_segments_file return a Boolean 2023-01-06 11:40:41 +01:00
Laurent Rineau 41fe6192d9 Try to fix the 2D case 2022-12-21 16:02:28 +01:00
Laurent Rineau bf6815256b move edg files to Data/data 2022-12-19 12:20:03 +01:00
Laurent Rineau aa7ef5c16d Better testsuite
ctest --test-dir build/RelWithDebInfo -L CDT_3 -j4
2022-12-15 15:38:38 +01:00
Laurent Rineau 20c67be903 Merge pull request #7115 from MaelRL/T3-test_cleaning-GF
(Partial) Cleaning of Triangulation_3 tests

# Conflicts:
#	Kernel_23/include/CGAL/Kernel/interface_macros.h
2022-12-13 15:24:38 +01:00
Laurent Rineau b240dbab67 Add CDT::write_missing_segments_file 2022-12-13 14:27:03 +01:00
Mael Rouxel-Labbé ecced44ee7 Various test cleaning / improvements for Triangulation_3 2022-12-12 16:07:21 +01:00
Mael 6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2022-12-05 16:03:41 +01:00
Laurent Rineau 3f90b15dd2 Repair CMake issue 2022-12-05 09:57:05 +01:00
albert-github c32b1f4127 spelling corrections
Some spelling corrections (Directories starting with `S` rest - `W`),
2022-11-16 13:22:39 +01:00
Laurent Rineau ac44c7138d Merge remote-tracking branch 'cgal/master' into Triangulation_3-CDT_3-lrineau 2022-11-14 10:26:41 +01:00
Andreas Fabri c29f2cac52 Triangulation_3, Visibility_2 2022-10-13 07:55:32 +01:00
Mael Rouxel-Labbé 6f187f332c Misc minor fixes/improvements 2022-09-14 14:08:23 +02:00
Mael Rouxel-Labbé 7cb21c24b0 Uniformize message() for missing 3rd party libraries
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
Mael Rouxel-Labbé 28ba446895 Clean (some) CMakeLists.txt indentation 2022-09-06 15:38:18 +02:00
Mael Rouxel-Labbé 691313041d Add more tests for T23::operator== 2022-09-02 14:29:41 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Andreas Fabri 4400f00a69 Deal with Triangulation_3 2022-01-18 16:47:56 +00:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot d370326ec1 add CGAL_unreachable as requested by @lrineau and @mglisse 2021-10-27 14:45:10 +02:00
Sébastien Loriot 8350dea94a char* -> std::string 2021-10-04 09:49:24 +02:00
Sébastien Loriot 47028cd184 automatically move data files in data dir + update paths
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Laurent Rineau 4eecb252fe wip 2021-09-03 15:44:00 +02:00
Laurent Rineau aaf4af981a wip 2021-09-03 15:43:58 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Sébastien Loriot cff3cdb40e Merge remote-tracking branch 'cgal/5.2.x-branch' into HEAD 2021-08-12 10:23:57 +02:00
Mael Rouxel-Labbé b14fbe1875 Add more tests 2021-07-19 22:01:45 +02:00
Mael Rouxel-Labbé 3fcae5244d Add a few more tests 2021-07-19 15:58:10 +02: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
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
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +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
Laurent Rineau 44d36e534f Merge pull request #5474 from danston/TBB-execution_failures-danston
Triangulation_3 and Mesh_3 Timeouts for parallel tests fix
2021-03-03 17:22:18 +01:00
Laurent Rineau e8a1e05202 Merge pull request #5474 from danston/TBB-execution_failures-danston
Triangulation_3 and Mesh_3 Timeouts for parallel tests fix
2021-03-03 16:39:31 +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
Maxime Gimeno b80daff6fb Fixes 2021-02-19 11:31:52 +01:00
Laurent Rineau 8fc88a9463 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:19:11 +01:00
Laurent Rineau fa1a355751 Merge branch '5.1.x-branch' into 5.2.x-branch 2021-02-18 15:19:05 +01:00
Maxime Gimeno d5811d0a41 clang-tidy on tests 2021-02-18 15:15:12 +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 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
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 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
Laurent Rineau 0e0c536c02 Do not test is_valid(): a moved-from triangulation is not valid
A moved-from triangulation do not have the infinite vertex, and it is
of dimension -2. That is a valid TDS, but not a valid CGAL
triangulation.
2021-02-01 20:42:49 +01:00
Laurent Rineau ba9f226891 Add tests for move constructors 2021-02-01 14:47:18 +01:00
Maxime Gimeno 493f034fda Fix some warnings 2020-11-23 11:06:59 +01:00
Maxime Gimeno 8e23d5c482 Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-11-10 09:00:41 +01:00
Jane Tournois 9152be7543 remove useless and undocumented include 2020-10-27 15:32:34 +01:00
Jane Tournois 52a2265bda remove useless comments 2020-10-20 14:08:03 +02:00
Jane Tournois ca4526983d reintroduce complete test 2020-10-13 17:13:01 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Sébastien Loriot a92692160b please old libstd version (prior to 6) having issues with tuple and init-list 2020-07-21 11:26:53 +02:00
Jane Tournois 5f9d38df29 reintroduce (fixed) grid test 2020-07-06 08:19:30 +02:00
Jane Tournois 9e8d12d9cf Merge remote-tracking branch 'cgal/master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF
# Conflicts:
#	Installation/CHANGES.md
2020-07-06 06:57:32 +02:00
Laurent Rineau 9b8ecd720b Merge pull request #4636 from sgiraudot/CMake-Third_party_imported_targets-GF
CMake: Use Imported Targets for 3rd Party Libs
2020-06-05 17:54:14 +02:00
Laurent Rineau dcc4fb1cc1 Merge remote-tracking branch 'cgal/master' into CGAL-move_semantic_for_triangulations-GF
# Conflicts:
#	STL_Extension/include/CGAL/Compact_container.h
2020-05-20 09:46:26 +02:00
Simon Giraudot 421096fd7f Use imported targets everywhere 2020-04-15 14:06:13 +02:00
Jane Tournois 2105aebb13 add missing data 2020-04-14 15:11:50 +02:00
Sébastien Loriot a49881536d fix compilation errors and warnings 2020-04-10 18:30:50 +02:00
Sébastien Loriot d845d6ce8d Merge remote-tracking branch 'cgal/master' 2020-04-10 18:16:18 +02:00
Sébastien Loriot 2876ad9af1 remove trailing whitespaces 2020-04-10 18:15:32 +02:00
Jane Tournois e2df1a83aa temporarily disable a test 2020-04-10 16:36:16 +02:00
Jane Tournois 163f3c59fb add range iterators 2020-04-07 07:05:19 +02:00
Jane Tournois 1ef0d4b83d segment traverser end() does not need s and t as parameters
the API gets simpler and easier with these changes

+ fix last valid value of the simplex iterator in some cases

after this commit, only the test test_triangulation_on_a_grid() keeps failing
2020-04-03 18:02:37 +02:00
Jane Tournois b9660603b9 add the new API in the code
and adapt examples and tests consistently
2020-04-03 06:52:25 +02:00
Maxime Gimeno b6a5f23e4e remove trailing whitespaces 2020-04-02 15:02:27 +02:00
Maxime Gimeno e02a3fc37e Merge remote-tracking branch 'cgal/master' into TDS-file_input-maxGimeno 2020-04-02 15:00:23 +02:00
Jane Tournois a1b292e805 Merge remote-tracking branch 'cgal/master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF 2020-04-01 13:52:57 +01:00
Sébastien Loriot d1a323c730 extra run of the script to remove tabs and trailing whitespaces 2020-03-26 19:24:14 +01:00
Sébastien Loriot 86e25f7e71 Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:23:54 +01:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Laurent Rineau 4c86c9f58a wip 2020-03-10 16:42:15 +01:00
Laurent Rineau af8049e45c Merge branch 'CGAL-move_semantic_for_triangulations-GF' into Triangulation_3-CDT_3-lrineau
# Conflicts:
#	STL_Extension/include/CGAL/Compact_container.h
#	Triangulation_2/include/CGAL/Triangulation_2/internal/Polyline_constraint_hierarchy_2.h
#	Triangulation_3/benchmark/Triangulation_3/CMakeLists.txt
2020-02-24 15:32:36 +01:00
Laurent Rineau b56cdcb743 Add move-semantic to CGAL (non-periodic) 3D triangulations
- For `Triangulation_3`, the rule-of-zero cannot be used, because of
  the infinite vertex. A special copy-constructor and copy-assignment
  operators are required. But one can `= default the move-constructor
  and move-assignment operator, as well as the destructor.
- For `Delaunay_triangulation_3`, the rule-of-zero is
  sufficient. Nothing to do.
- For `Regular_triangulation_3`, the `hidden_point_visitor` data
  member is a function that is constructed with the `this` pointer, so
  the rule-of-zero cannot be used. Probably the move-constructor
  and move-assignment operator could be explicitly defaulted.
2020-01-31 12:01:43 +01:00
Maxime Gimeno 065a7ac0c6 Add a test for file_input() 2020-01-10 13:14:31 +01:00
Laurent Rineau a9aaae9b35 Rename the class 2019-12-19 13:04:28 +01:00
Laurent Rineau 69b091e566 Conforming from OFF files 2019-12-16 15:54:43 +01:00
Laurent Rineau 3885d233d9 Check that the inserting of new points also triggers the conforming 2019-12-13 18:35:33 +01:00
Laurent Rineau 7ac677a52e Cleanup the public API 2019-12-13 18:12:11 +01:00
Laurent Rineau 21da657a6c Make sure the insert(Point) function also trigger the conforming 2019-12-13 18:12:11 +01:00
Laurent Rineau b93a4a7d6d Refine subconstraints when needed 2019-12-13 17:55:01 +01:00
Laurent Rineau fa4f9d5f47 Fix the draw_triangulation 2019-12-11 11:23:42 +01:00
Laurent Rineau b35e41a470 First implementation of conforming triangulation 3, for edges 2019-10-29 14:38:55 +01:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Jane Tournois 9897f07508 fix test case 2019-10-17 10:35:47 +02:00
Jane Tournois d145abaf9a temporarily change the example for debugging : the commented queries do pass 2019-10-08 17:39:35 +02:00
Laurent Rineau 7e0f93f4c9 Add a case (assertion) 2019-10-03 15:26:57 +02:00
Laurent Rineau 7f02506b49 A more complete test 2019-10-03 15:03:46 +02:00
Jane Tournois ba02a4c7ad add 2 new simple tests for simplex and cell traversers 2019-10-03 12:25:36 +02:00
Jane Tournois 5813b65267 fix the end conditions of simplex iterator
now we get the last simplex traversed before getting end()
2019-10-03 12:25:36 +02:00
Laurent Rineau 2acb975ba4 Merge 'cgal/master' to fix conflicts 2019-09-11 14:35:38 +02:00
Jane Tournois 7a28923da9 remove useless macro 2019-09-10 19:21:45 +02:00
Laurent Rineau bbf559ee17 Merge remote-tracking branch cgal/master into Triangulation_segment_traverser_3-tvanlank 2019-09-10 19:21:38 +02:00
Laurent Rineau 495923158b make test compile after merge 2019-09-10 19:00:47 +02:00
Laurent Rineau 88a915779f Merge tag 'base2018' into HEAD
# Conflicts:
#	Triangulation_3/examples/Triangulation_3/CMakeLists.txt
#	Triangulation_3/include/CGAL/Triangulation_3.h
#	Triangulation_3/include/CGAL/Triangulation_utils_3.h
2019-09-10 18:41:08 +02:00
Laurent Rineau 32f80cbece Merge pull request #4018 from lrineau/CGAL-refresh_cmake_minimum_required-GF
CMake>=3.13: opt for for new policies up to 3.15
2019-07-01 11:16:30 +02:00
Laurent Rineau dbb1cb6c9b Merge pull request #3974 from afabri/Triangulation-add_ranges-GF
Triangulation_{2,3):  Add ranges
2019-07-01 11:16:05 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Andreas Fabri c34536be24
Apply suggestions from code review
Co-Authored-By: Mael <mael.rouxel.labbe@geometryfactory.com>
2019-06-05 17:26:37 +02:00
Andreas Fabri bb97332e72
Update Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_triangulation_3.h
Co-Authored-By: Mael <mael.rouxel.labbe@geometryfactory.com>
2019-06-05 16:40:05 +02:00
Laurent Rineau 39c8f7ae1f Merge pull request #3950 from afabri/Triangulation_23-PointWithInfo-GF
2D and 3D Triangulations:  Unify insertion of range of points with info
2019-06-05 11:20:23 +02:00
Andreas Fabri 285cdd5be5 Add more ranges and a testsuite 2019-06-04 10:40:13 +02:00
Laurent Rineau 419032d859 Merge pull request #3947 from MaelRL/CGAL-Fix_typos-GF
Fix some typos in code/comments/documentation
2019-05-23 08:50:14 +02:00
Andreas Fabri 2d1c78fdd9 Unify T3 2019-05-20 18:23:08 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Andreas Fabri a1609350aa Remove #include<CGAL/basic.h> amd put what is needed if something is missing 2019-03-27 15:21:33 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Mael Rouxel-Labbé f10a4acfe4 Clarified RT3 test 2019-01-21 14:48:33 +01:00
Sébastien Loriot 61169b394e Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' 2019-01-04 17:19:19 +01:00
Mael Rouxel-Labbé b6f6aeb844 Merge remote-tracking branch 'mine/T3-Fix_weighted_ranges_insertion_removal-GF' into T3-Fix_weighted_ranges_insertion_removal-GF 2018-12-18 13:20:58 +01:00
Mael Rouxel-Labbé ab67b0cc34 Fixed conversion warning 2018-11-19 16:00:29 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Mael 7e75a8a243 Fixed indentation (Thanks for the suggestion @MaelRL !) 2018-10-17 09:24:46 +02:00
Mael Rouxel-Labbé 8a7b11f344 Use actual weighted points in parallel regular triangulation tests 2018-10-03 16:06:09 +02:00
Mael Rouxel-Labbé 7490f34560 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-21 10:15:25 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Mael Rouxel-Labbé ddeb4c0cd7 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-07 15:14:19 +02:00
Mael Rouxel-Labbé 7ea3a8044e Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-05 14:39:18 +02:00
Mael Rouxel-Labbé 6afe88330d std::unary_function > CGAL::unary_function 2018-06-03 11:12:54 +02:00
Laurent Rineau c151778454 Merge pull request #3122 from MaelRL/T23-Fix_functor_return_type-GF
Triangulation_23: fix wrong return type in spatial_sort functor

# Conflicts:
#	Triangulation_3/test/Triangulation_3/test_regular_insert_range_with_info.cpp
2018-06-01 17:24:23 +02:00
Laurent Rineau 72d2c8e1ef Merge pull request #3122 from MaelRL/T23-Fix_functor_return_type-GF
Triangulation_23: fix wrong return type in spatial_sort functor

# Conflicts:
#	Triangulation_3/test/Triangulation_3/test_regular_insert_range_with_info.cpp
2018-06-01 17:21:44 +02:00
Mael Rouxel-Labbé 8ac412cb8a Fixed missing includes 2018-05-29 15:29:19 +02:00
Mael Rouxel-Labbé 8fb3f1a782 Improved RT3's tests of "insertion with info" types of functions 2018-05-28 15:45:02 +02:00
Mael Rouxel-Labbé bfdb89e595 Removed 'move_point()' from Triangulation_3 2018-05-24 14:50:40 +02:00
Mael Rouxel-Labbé b41f1d6272 Various deprecation-related improvements 2018-05-18 16:47:54 +02:00
Mael Rouxel-Labbé a0427ec756 Fixed abusing Triangulation_cell_base_3 for Delaunay triangulations
TriangulationCellBase_3 does not request a circumcenter;
DelaunayTriangulationCellBase_3 does.

Delaunay_triangulation_3 only compiled because
Triangulation_cell_base_3 (and Triangulation_ds_cell_base_3 !)
provided circumcenter() operators and DT3 inherited T3's TDS.

- The circumcenter() functions are removed where they shouldn't exist
- DT3 uses DT_cell_base_3 as cell base instead of T_cell_base_3
- Concepts/Classes that supposedly only required TriangulationCellBase_3
  and then built Delaunay triangulations with that (Alpha Shapes, etc.)
  are upgraded to request DelaunayTriangulationCellBase_3 (anyway, it
  wouldn't compile if you actually provided a model of
  TriangulationCellBase_3)
- Fixed various wrong templates in classes/concepts such as
  MeshVertexBase_3 not refining RegularTriangulationVertexBase_3
  and (only in the doc) defaulting to Triangulation_vertex_base_3
- Removed the deprecated class (for 4+ years) T_cell_base_with_circumcenter
2018-04-26 13:21:53 +02:00
Mael Rouxel-Labbé 7007f44f1f Removed deprecated (since 2014) cls Triangulation_cell_base_with_circumcenter_3 2018-04-26 13:00:21 +02:00
Andreas Fabri bbfeedcf5a Oliver's faster walk_to_next_3() 2018-03-16 19:24:36 +01:00
Sébastien Loriot 01af331c72 use https for all links to www.cgal.org and doc.cgal.org 2018-03-14 15:59:38 +01:00
Andreas Fabri f7ba8ff4df Fix Box_intersection_d, Minkowski_sum_2, Nef_3, Surface_mesh, Straight_skeleton, Triangulation_3 2018-02-23 11:35:58 +00:00
Laurent Rineau 3c6640bf59 Merge pull request #1436 from lrineau/CGAL-new_cmake-GF
Renewal of CMake scripts: header-only, ctest, CMake>=3.1

# Conflicts:
#	Installation/config/testfiles/CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG.cpp
2017-12-05 18:20:05 +01:00
Laurent Rineau 0681ac6dbc Fix the TBB_USE_FILE warnings 2017-11-15 17:00:02 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot 97e8ea1794 remove extra space 2017-11-12 10:17:51 +01:00
Laurent Rineau 1c4667b7ff Avoid all T_3 test run at the same time
... because they all save/load from the same file names.
2017-10-24 11:46:59 +02:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Mael Rouxel-Labbé 5354134469 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle 2017-05-24 12:18:49 +02:00
Mael Rouxel-Labbé 70e1ac97f6 Fixed Has_nested_type_Bare_point includes 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 22322e3c83 Annihilated Regular_triangulation_euclidean_traits_23 across all packages
Left a little bit alive in the tests and in the Triangulation_23/doc
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 9dc48b3d06 Fixed test_RT_cell_base_with_weigh... and added it to the CMakeLists
-Some wrong Bare_point/Weighted_point usage
-Fully instantiate the Regular_triangulation_cell_base_with_weighted_circum...
 with all the template parameters of the regular cell base
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 5833272bd0 Fixed usage of Bare point and Weighted point across Triangulation_3 2017-05-22 11:20:45 +02:00
Mael Rouxel-Labbé c597a79fe0 Fixed Triangulation_3's regular test
Constructing weighted points with (x,y,z,w) is ambiguous and that is why it was
disabled.
2017-05-22 11:20:45 +02:00
Mael Rouxel-Labbé fc62544731 Removed unused typedef 2017-05-22 11:20:45 +02:00
Mael Rouxel-Labbé 8f74332fbd Fixed missing typename 2017-05-22 11:20:45 +02:00
Mael Rouxel-Labbé ac1d7fb0a5 Fixed Triangulation_3's test using Traits::Bare_point/Weighted_point 2017-05-22 11:20:45 +02:00
Jane Tournois ca25e3176c make constructors of Weighted_point explicit
and fix compilation errors
2017-05-22 11:20:45 +02:00
Jane Tournois 8d1ca12a74 fix compilation of tests wrt Point vs Weighted point 2017-05-22 11:20:45 +02:00
Andreas Fabri c6f741c379 Changes after making Weighted_point_3(const Point_3) explicit 2017-05-22 11:20:45 +02:00
Andreas Fabri ea5f9934e2 The Weighted_point_mapper becomes a traits class; test_regular_3.cpp passes 2017-05-22 11:20:45 +02:00
Mael Rouxel-Labbé 757203e390 Removed wrong tests (see also issue 2067) 2017-05-13 22:25:39 +02:00
Mael Rouxel-Labbé bf425a46e6 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle
Strongly breaks P3T3, will be fixed in the next commits
2017-05-11 17:45:15 +02:00
Mael Rouxel-Labbé 46b489b2b5 Fixed Has_nested_type_Bare_point includes 2017-05-10 12:33:43 +02:00
Mael Rouxel-Labbé 97b789a741 Merge branch 'Kernel_Weighted_point_without_conversion-GF-old' into Kernel_Weighted_point_without_conversion-GF 2017-05-10 12:32:46 +02:00
Mael Rouxel-Labbé a7cabb5369 Annihilated Regular_triangulation_euclidean_traits_23 across all packages
Left a little bit alive in the tests and in the Triangulation_23/doc
2017-05-05 12:56:18 +02:00
Mael Rouxel-Labbé 9b763f8634 Fixed test_RT_cell_base_with_weigh... and added it to the CMakeLists
-Some wrong Bare_point/Weighted_point usage
-Fully instantiate the Regular_triangulation_cell_base_with_weighted_circum...
 with all the template parameters of the regular cell base
2017-04-27 11:53:03 +02:00
Mael Rouxel-Labbé 5856c7de2b Fixed usage of Bare point and Weighted point across Triangulation_3 2017-04-14 16:48:31 +02:00
Mael Rouxel-Labbé 3f0c1c72bb Fixed Triangulation_3's regular test
Constructing weighted points with (x,y,z,w) is ambiguous and that is why it was
disabled.
2017-04-14 15:35:00 +02:00
Mael Rouxel-Labbé 29402979c7 Removed unused typedef 2017-04-14 11:59:09 +02:00
Mael Rouxel-Labbé 013b684355 Fixed missing typename 2017-04-14 11:58:54 +02:00
Mael Rouxel-Labbé 3b7b8128d8 Fixed Triangulation_3's test using Traits::Bare_point/Weighted_point 2017-04-14 11:22:46 +02:00
Andreas Fabri 8cbbe0e165 Remove dependencies of Triangulation_3 on Triangulation_2 2017-04-06 11:08:37 +02:00
Andreas Fabri 3ec934e291 no need for CGAL_FUTURE 2017-04-05 09:56:48 +02:00
Andreas Fabri 2eeec0f30c fix file name; fix comments 2017-03-31 10:50:45 +02:00
Andreas Fabri a4414f1d10 Take Laurent's comments into account 2017-03-30 14:23:59 +02:00
Andreas Fabri 5200dc5ac2 Check dependencies 2017-03-29 14:27:50 +02:00
Jane Tournois 55e1533ded make constructors of Weighted_point explicit
and fix compilation errors
2017-03-06 13:54:29 +01:00
Jane Tournois fb54d23c8a fix compilation of tests wrt Point vs Weighted point 2017-03-03 14:08:49 +01:00
Andreas Fabri 30b7f131d7 Changes after making Weighted_point_3(const Point_3) explicit 2017-02-17 16:38:39 +01:00
Mael Rouxel-Labbé 103d4445ab Cleaned a test in Triangulation_3
Some code was unnecessarily commented + unused variable + indentation.

Adding myself to authors for the power_test_3 tests (see previous commits)
2017-02-15 15:10:24 +01:00
Mael Rouxel-Labbé 45241b92a2 Moved Robust weighted filtered circumcenter traits out of Mesh_3
Also, these traits do not derive from Regular_euclidean_traits anymore.
2017-02-13 18:13:19 +01:00
Andreas Fabri 2fab595c19 The Weighted_point_mapper becomes a traits class; test_regular_3.cpp passes 2017-02-08 16:24:14 +01:00
Jane Tournois 64e1718419 add testing when Delaunay triangulation is on a grid 2016-12-06 12:19:56 +01:00
Jane Tournois 66b38744e3 add cout to the test 2016-12-05 16:37:06 +01:00
Jane Tournois 868f188c95 uncomment the non degenerate case 2016-12-02 15:26:10 +01:00
Jane Tournois 010cfbeda2 add vertex - facet - edge test 2016-12-02 15:14:18 +01:00
Jane Tournois 8ea167cd5e add edge - face - vertex test case 2016-12-02 15:00:57 +01:00
Jane Tournois f7e0c9121b add the edge - facet - edge test case 2016-12-02 10:51:57 +01:00
Jane Tournois f3777a397c add test for simplex iterator 2016-11-29 17:52:10 +01:00
Andreas Fabri d624271315 Remove usage of Regular_triangulation_euclidean_traits_3 2016-11-21 16:43:40 +01:00
Andreas Fabri b978fa8fdd Fix the typedef for the Bare_point 2016-11-21 15:49:43 +01:00
Andreas Fabri d35c6c913d Use Weighted_point_mapper_3 2016-11-21 15:33:27 +01:00
Jane Tournois 6af2db1b91 Use Power_side_of_bounded_power_sphere instead of Side_of_bounded_orthogonal_sphere
both functors made the same computation, up the sign of the result.

The return type now is CGAL::Bounded_side, which makes things easier
 to understand and use
2016-11-03 14:55:39 +01:00
Jane Tournois 03e6b52fe3 fix RT3 tests by renaming functors consistently with kernel 2016-11-03 14:53:54 +01:00
Andreas Fabri 6d288d24d5 Use CGAL_USE_TYPE 2016-11-03 13:11:15 +01:00
Andreas Fabri 92406379e7 Add typename (Who removed them???) 2016-11-03 13:10:00 +01:00
Andreas Fabri ea50fb811d Cleanup. The 2D and 3D triangulation testsuite pass 2016-11-03 13:07:50 +01:00
Andreas Fabri 9e94ee6178 Change the Power_test 2016-11-03 13:07:17 +01:00
Andreas Fabri 95027822f5 move predicates and constructions in Kernel packages 2016-11-03 13:07:17 +01:00
Andreas Fabri 5edd015669 Use Weighted_point_triangulation_traits_3 2016-11-03 13:06:42 +01:00
Andreas Fabri af6c2e185e remove Compute_point_3 2016-11-03 13:06:02 +01:00
Andreas Fabri 2d15b06d5e Remove #ifdef 0 from debugging 2016-11-03 13:06:02 +01:00
Andreas Fabri 6a8f77c5ff Added CGAL::Weighted_point_3<K> and the predicates and constructions of the Regular Traits to the kernel
- The Regular 3 testsuite passes
- only 3D
- not documented
2016-11-03 13:04:43 +01:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Andreas Fabri eda920fba6 reindent to avoid warning 2016-01-26 17:01:20 +01:00
Clement Jamin 857dc76847 Test the parallel insertion of points with info 2015-10-27 12:22:31 +01:00
Clement Jamin 136488b149 Add a test for parallel insertion of points with info (bug: not parallel) 2015-10-27 11:10:41 +01:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Andreas Fabri f592fb7e89 move test files to TDS_2 and TDS_3 2015-08-23 16:12:02 +02:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Guillaume Damiand 9c78897ba5 Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-03-16 14:00:43 +01:00
Jane Tournois 3a5a65f264 update branch 2014-12-08 17:30:41 +01:00
Guillaume Damiand ebc4300334 Header only for random.cpp.
For the header only version, the global variable default_random no more exist => we need to replace all occurences of default_random by a call to the global function get_default_random().
As usual, no modification for the non header only version.
2014-11-14 14:20:26 +01:00