Laurent Rineau
a8fca35b1d
Merge pull request #4735 from lrineau/Triangulation_2-fix_CDT_2_degenerate_case-GF
...
Fix a bug in <CGAL/Constrained_triangulation_2.h>
2020-05-27 16:32:49 +02:00
Laurent Rineau
0ea385712f
Fix compatibility with C++03
2020-05-22 14:52:18 +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
Laurent Rineau
12c0ec0935
New debug code in <CGAL/Constrained_triangulation_2.h>
...
... tested in `test/Triangulation_2/test_cdt_degenerate_case.cpp`.
2020-05-19 17:25:10 +02:00
Sébastien Loriot
a76c910647
Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch'
2020-04-06 15:47:02 +02:00
Sébastien Loriot
bb25ae576a
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch'
2020-04-06 15:45:04 +02:00
Mael Rouxel-Labbé
1cb3736f1a
Fix compilation errors
2020-04-03 09:03:56 +02:00
Mael Rouxel-Labbé
733f71a6bc
Do not initialize variables / change the triangulation in assertions
...
Otherwise things break when DNDEBUG is used
2020-04-02 16:16:06 +02: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
8bb22d5b2c
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of the 5.0 release branch
+ manual fix of the files (indentation was changed in the meantime):
* Spatial_sorting/include/CGAL/Multiscale_sort.h
* Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot
8b153fb495
Merge branch 'cgal/releases/CGAL-5.0-branch'
...
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +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
20910607d5
std::set and std::map are not nothrow-move-constructible
2020-02-21 14:22:44 +01:00
Laurent Rineau
75ec5c0da7
Add move-semantic to T_2, CT_2, Dt_2, and CDT_2
...
Still todo: `Constrained_triangulation_plus_2`, and
`Triangulation_hierarchy_2`.
2020-01-31 15:48:45 +01:00
Laurent Rineau
3e90fa10fd
Merge pull request #4406 from afabri/Triangulation_2-fix_Projection_traits-GF
...
Triangulation_2: Projection_traits::Construct_bbox_2 must return Bbox_2
2019-12-17 09:16:32 +01:00
Laurent Rineau
617878b063
Merge pull request #4406 from afabri/Triangulation_2-fix_Projection_traits-GF
...
Triangulation_2: Projection_traits::Construct_bbox_2 must return Bbox_2
2019-12-17 09:14:23 +01:00
Andreas Fabri
4d4b891362
T2: Projection_traits::Construct_bbox_2 must return Bbox_2
2019-12-13 15:47:43 +01:00
Mael
cf83a22e2d
Merge branch 'master' into T2-Throw_on_collinear_strongly_intersecting_segments-GF
2019-12-02 16:32:29 +01:00
Mael Rouxel-Labbé
6d8ae46618
Fix unused variable warning
2019-11-25 09:24:23 +01:00
Mael Rouxel-Labbé
fd4c75317a
Don't use preprocessor macros within an assert
2019-11-21 10:03:06 +01:00
Mael Rouxel-Labbé
7aa94df489
Mute warning about using CDT_2+ in CDT_2 test
2019-11-15 11:55:32 +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
Mael
e919441cf6
Remove useless macro
2019-10-11 09:05:31 +02:00
Mael Rouxel-Labbé
dd9e6340fe
Silence some warnings
2019-10-01 13:39:21 +02:00
Mael Rouxel-Labbé
362c4f917b
Remove wild 'std::exit(1)'
2019-10-01 13:32:43 +02:00
Mael Rouxel-Labbé
e4c0bcffa0
Update usage of intersection tags
2019-09-19 18:32:34 +02:00
Mael Rouxel-Labbé
9b2a7f09d7
Merge branch 'T2-Throw_on_collinear_strongly_intersecting_segments-GF-old' into T2-Throw_on_collinear_strongly_intersecting_segments-GF
2019-09-19 15:50:49 +02:00
Maxime Gimeno
0bda2dd231
remove c++11
2019-09-17 09:39:46 +02:00
Mael Rouxel-Labbé
197a29436c
Test new tag
2019-08-22 12:45:19 +02:00
Mael Rouxel-Labbé
970b0cfeaa
Add few more tests
2019-08-19 18:02:06 +02:00
Mael Rouxel-Labbé
5ef8c966ea
Add some tests for CDT throwing on intersections
2019-08-19 17:55:06 +02:00
Laurent Rineau
c0ba28f80a
Merge branch 'releases/CGAL-4.14-branch'
2019-07-03 11:18:20 +02:00
Laurent Rineau
e79bfd5d03
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-07-03 11:10:03 +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
Andreas Fabri
a9bd8226bc
Do not use C++11
2019-06-26 15:35:11 +02:00
Andreas Fabri
060ec7c5c2
No auto
2019-06-26 14:47:35 +02:00
Andreas Fabri
aeac816801
Triangulation_2: Fix remove_vertex_from_constraint-GF
2019-06-26 14:34:41 +02:00
Andreas Fabri
c1f337d585
Triangulation_2: Fix CDT_plus_2::remove_constraint()
2019-06-20 12:17:15 +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
7a49b48019
Add code and test for all_edges()
2019-06-12 09:23:57 +02:00
Andreas Fabri
cc76597a3e
Fix in the testcase. Forgot to test if the range is empty, before dereferencing the iterator
2019-06-11 12:02:27 +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
7111518cb0
Fix usage of Vertices_in_constraint
2019-06-05 08:02:19 +02:00
Andreas Fabri
785ae04e0b
Add ranges to Regular_triangulation_2
2019-06-04 12:45:42 +02:00
Laurent Rineau
b8fe6b10ee
Merge pull request #3804 from afabri/CGAL_tests_must_not_include_basic-GF
...
Do not include <CGAL/basic.h>
2019-05-21 16:37:01 +02:00
Andreas Fabri
2d1c78fdd9
Unify T3
2019-05-20 18:23:08 +02:00
Laurent Rineau
90782d4b7f
Revert the merge of two pull-requests that target CGAL-4.14-branch
...
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Andreas Fabri
a3d535c553
Fix compilation, Add documentation, Add test for IO
2019-05-02 10:41:12 +02:00
Andreas Fabri
26b26ea506
Remove deprecated function
2019-04-30 12:21:06 +02:00
Andreas Fabri
4724e3a358
Remove deprecated function
2019-04-30 12:21:03 +02:00
Sébastien Loriot
564a6c72f4
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch'
2019-04-23 10:46:32 +02:00
Sébastien Loriot
0651c97fdd
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into HEAD
2019-04-23 10:45:27 +02:00
Andreas Fabri
f1c6990a57
Add a test for a reported issue
2019-04-18 13:52:34 +02:00
Andreas Fabri
899364b87b
Remove files that were deprecated in 4.9
2019-04-12 14:57:18 +02:00
Andreas Fabri
100d4f34ef
Merge branch 'Triangulation_2-internal-GF-old' into Triangulation_2-internal-GF
2019-04-09 15:20:59 +02:00
Sébastien Loriot
ce126b87c6
remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead
2019-03-29 13:28:32 +01: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
Andreas Fabri
5fdcfc989f
Merge branch 'master' into Triangulation_2-internal-GF
2019-03-22 11:55:22 +01:00
Andreas Fabri
427deceb9e
Do not #define short names in the T2 testsuite
2019-02-14 12:51:52 +01:00
Andreas Fabri
7a84f58c0d
T2, Spatial_searching, Ridges, Stream_lines
2019-02-14 10:15:50 +01:00
Sébastien Loriot
e4cbae525c
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into HEAD
2019-01-31 11:25:26 +01:00
Mael Rouxel-Labbé
1e27cfba44
Add layers.xy data file for T2 tests
2019-01-11 14:38:35 +01:00
Andreas Fabri
7009079e0c
Move files to include/CGAL/Triangulation_2/internal and remove deprecated files
2019-01-11 13:46:58 +01:00
Mael Rouxel-Labbé
04f3ad63fa
Added some sanity tests for the T2 find_conflict functions
2019-01-11 12:33:16 +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
Laurent Rineau
908311e903
Merge branch 'releases/CGAL-4.11-branch' into releases/CGAL-4.12-branch
2018-07-20 17:34:47 +02:00
Laurent Rineau
0585ffcc39
Merge pull request #3232 from lrineau/Triangulation_2-Debug_CDT2-lrineau
...
Fix CDT_2 errors, using snapping of intersection points (cont.)
2018-07-20 17:20:16 +02:00
Laurent Rineau
29f1f5147d
add a test for bug #2999
2018-07-13 17:15:23 +02:00
Andreas Fabri
e20672ea77
Update _test_line_face_circulator.h
2018-02-13 12:13:06 +01:00
Sébastien Loriot
ee57fc2d6c
add SPDX identifier for files under the GPL-3+ license
2017-11-12 10:17:51 +01:00
Laurent Rineau
bf8c3701b3
Be careful with parallel test that reuse same files
2017-10-20 11:47:41 +02:00
Laurent Rineau
d064199f30
Fix a warning
2017-07-18 16:46:56 +02:00
Andreas Fabri
8463b1a251
Add implementation and test of Constrained_edges_iterator
2017-07-18 13:44:21 +02:00
Mael Rouxel-Labbé
d10ae41efd
Added result_types to triangulation 2 test traits
2017-06-28 10:16:23 +02:00
Mael Rouxel-Labbé
671e7bfda5
Triangulation_2 test traits must define Construct_point_2
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
1091661007
Do not provide Bare_point overloads in Regular_triangulation_2
...
Additional:
-- Simplify the hierarchy_2: there is no need to distinguish between
Bare_point and Weighted_point, that is the point (!) of the type "Point"
in Triangulation_2.
-- Use Weighted_point in tests
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé
e96f05f31b
Fixed Bare_point / Weighted_point usage in Triangulation_2
2017-06-28 10:14:35 +02:00
Andreas Fabri
d73be575f5
Do in 2D what we did in 3D
2017-06-28 10:14:35 +02:00
Andreas Fabri
d624271315
Remove usage of Regular_triangulation_euclidean_traits_3
2016-11-21 16:43:40 +01:00
Andreas Fabri
f488b9baf9
Changes after Laurent's review
2016-11-03 14:53:15 +01:00
Andreas Fabri
ea50fb811d
Cleanup. The 2D and 3D triangulation testsuite pass
2016-11-03 13:07:50 +01:00
Andreas Fabri
9dde08c414
WIP
2016-11-03 13:07:50 +01:00
Sébastien Loriot
7e2ee496de
update project name of cmake scripts of tests
2016-09-08 00:26:37 +02:00
Sebastien Loriot
7630d2a6fc
Merge pull request #875 from sloriot/Triangulation_2_and_PMP-fix_Triangulation_2_projection_traits_3
...
PMP: make triangulate_faces works with non filtered kernels
2016-05-05 14:55:11 +02:00
Andreas Fabri
db4c17ad68
fixes after Sebastien's remarks
2016-04-25 16:05:28 +02:00
Andreas Fabri
7f6550a48d
Remove the xy_3 traits classes; Deprecate Triangulation_euclidean_traits_2
2016-04-12 17:38:25 +02:00
Sébastien Loriot
4c29bf1b44
CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR
2016-03-24 16:33:46 +01:00
Sébastien Loriot
881e4d3199
request Core only in examples, tests and demos when really needed
2016-03-07 22:36:57 +01:00
Sébastien Loriot
2d191d6651
commit CMakeLists.txt for all examples and tests
2016-03-07 17:39:36 +01:00
Sébastien Loriot
d7e9261d58
hide the filtered projection traits behind the projection traits
...
the selection of the base class is done using Kernel::Has_filtered_predicates
2016-03-02 21:57:54 +01:00
Andreas Fabri
f592fb7e89
move test files to TDS_2 and TDS_3
2015-08-23 16:12:02 +02:00
Laurent Rineau
6fc32e43fe
Merge pull request #74 from lrineau/Triangulation_2-fix_projection_traits-GF
...
Fix a bug in Triangulation_2_projection_traits.h and its filtered version
2015-06-10 12:30:29 +02:00
Laurent Rineau
8f0bb6dc46
Add a test case that shows Triangulation_2_projection_traits.h is buggy.
2015-05-08 17:49:49 +02:00