Commit Graph

1702 Commits

Author SHA1 Message Date
Sébastien Loriot 25a05e9f4c Merge branch 'CGAL-named_function_parameters-4.14' into master
Conflicts resolved by hand
2019-07-28 23:46:43 +02:00
Sébastien Loriot 2f81a21523 Merge 'CGAL-named_function_parameters' for 4.13-branch into 4.14-branch
Conflicts resolved by hand
2019-07-28 22:30:13 +02:00
Sebastien Loriot 2a426bb1e1
Merge pull request #4063 from sloriot/CGAL-NO_CXX11
Remove CGAL_CXX11 macro usage
2019-07-19 16:16:22 +02:00
Sebastien Loriot 667e4022f7
Merge pull request #4060 from sloriot/CGAL-doc_match_brackets
match @{ and @}
2019-07-18 16:26:43 +02:00
Sébastien Loriot 560c77f567 rename named function parameter class 2019-07-15 06:25:02 +02:00
Sébastien Loriot c0edb5ecaa remove CGAL_CXX11 macro usage 2019-07-08 11:42:17 +02:00
Sébastien Loriot 983645a51a match @{ and @} 2019-07-05 21:49:46 +02:00
Laurent Rineau 7b0c6f0cf7 Fix a stack-use-after-scope in Arr_polycurve_basic_traits_2
Before this patch, `Arr_polycurve_basic_traits_2` was holding a const
reference to a temporary object.

Here was the result of ctest, with the address sanitizer:
```shellsession
$ make && ASAN_OPTIONS=detect_leaks=0 ctest -L Arr -j6
[...]
The following tests FAILED:
        144 - execution___of__generic_curve_data (Failed)
        170 - execution___of__polycurve_circular_arc (Failed)
        172 - execution___of__polycurve_conic (Failed)
        176 - execution___of__polycurves_basic (Failed)
        178 - execution___of__polylines (Failed)
        2166 - test_traits_test_polylines__data_polylines_compare_y_at_x__polyline_traits (Failed)
        2168 - test_traits_test_polylines__data_polylines_intersect__polyline_traits (Failed)
        2169 - test_traits_test_polylines__data_polylines_split__polyline_traits (Failed)
        2171 - test_traits_test_polylines__data_polylines_assertions__polyline_traits (Failed)
        2175 - test_traits_conic_polycurve__data_polycurves_conics_compare_y_at_x__polycurve_conic_traits (Failed)
        2176 - test_traits_conic_polycurve__data_polycurves_conics_compare_y_at_x_left__polycurve_conic_traits (Failed)
        2177 - test_traits_conic_polycurve__data_polycurves_conics_compare_y_at_x_right__polycurve_conic_traits (Failed)
        2179 - test_traits_conic_polycurve__data_polycurves_conics_intersect__polycurve_conic_traits (Failed)
        2180 - test_traits_conic_polycurve__data_polycurves_conics_split__polycurve_conic_traits (Failed)
        2193 - test_traits_circular_arc_polycurve__data_Polycurves_circular_arcs_compare_y_at_x__polycurve_circular_arc_traits (Failed)
        2198 - test_traits_circular_arc_polycurve__data_Polycurves_circular_arcs_split__polycurve_circular_arc_traits (Failed)
        2221 - test_traits_non_caching_polylines__data_polylines_compare_y_at_x__non_caching_polyline_traits (Failed)
        2223 - test_traits_non_caching_polylines__data_polylines_intersect__non_caching_polyline_traits (Failed)
        2224 - test_traits_non_caching_polylines__data_polylines_split__non_caching_polyline_traits (Failed)
        2226 - test_traits_non_caching_polylines__data_polylines_assertions__non_caching_polyline_traits (Failed)
        2400 - execution___of__test_construction_polylines (Failed)
        2477 - execution___of__test_io (Failed)
```

This is fixed rather easily, by copying the traits class, instead of
holding a reference to it.
2019-06-18 15:18:15 +02:00
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +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
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
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +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
Laurent Rineau 2f8eeb0db3 Fix the headers dependency-hell around gmpxx in Number_types 2019-05-09 15:05:23 +02:00
Sébastien Loriot 4464229a52 remove cpp11 workarounds in argt related packages 2019-03-29 10:41:50 +01:00
Andreas Fabri dcb6c1478c Fix Arrangement_2 2019-02-08 08:57:43 +01:00
Andreas Fabri cc23699ea0 fix Arrangement_2 2019-01-28 09:14:59 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Andreas Fabri 0496d840ff Fix arrangement and lcc 2019-01-18 10:05:48 +01:00
Andreas Fabri 303aaa04ae Fix arrangement 2019-01-15 19:18:53 +01:00
Andreas Fabri de14c487da Fix Arrangement 2019-01-10 18:52:35 +01:00
Efi Fogel ace09977af Cleaned up the code 2019-01-02 12:22:58 +02:00
Efi Fogel 6d6c2f3717 Fixed initializer
with workaround for the absense of c++11 auto feature--added facets properly.
2018-11-30 10:09:31 +01:00
Efi Fogel 1d36c090ec Replaced c++11 feature with non-c++11 code. 2018-11-03 20:03:12 +02:00
Sébastien Loriot 9223c1b28e fix warnings 2018-11-01 12:52:02 +01:00
Efi Fogel 5afbc4985a Merge branch 'Aos_2-fixes-efif-old' into Aos_2-fixes-efif 2018-10-06 18:36:51 +03:00
Efi Fogel c0fc218fdf Implemented missing function object Compare_x_near_boundary_2. 2018-09-09 16:51:55 +03:00
Efi Fogel 5e7b21da7c Fixed API of surface builder 2018-09-09 14:39:56 +03:00
Efi Fogel 678e0b7066 Cleaned up and completed the implementation of Compare_xy of two curves. 2018-09-09 09:16:02 +03:00
Efi Fogel 0a94f758f8 Added Compare_xy_2 operator for 2 cx-monotone curves 2018-09-06 07:40:09 +03:00
Efi Fogel 949c118f03 Fixed computing the zone on a curve with an endpoint on the boundary. Introduced generic do_overlap() & is_between_cw(). 2018-09-06 07:37:46 +03:00
Efi Fogel 2187738873 Introduced do_overlap() and is_between_cw() 2018-09-06 07:35:43 +03:00
Efi Fogel e2fb25e2c0 Cleaned up comments 2018-09-04 16:08:03 +03:00
Efi Fogel 7a4e740991 Fixed handling dual arrangements. Instead of including a header file several times, define some macros and call them several times. 2018-09-01 19:44:52 +03:00
Sébastien Loriot 12651796a0 use a generic file with the argt class name being a macro
since several free functions needs to be defined, it seems
to be the simplest and cleanest solution
2018-08-28 10:35:46 +02:00
Sébastien Loriot f96854a359 cleaning up + also use the mechanism for Arrangement_2 2018-08-27 15:46:12 +02:00
Sébastien Loriot 348345a482 add missing specialization 2018-08-27 10:03:52 +02:00
Sébastien Loriot 085bfb0aef first try to make Dual working with Argt_with_history 2018-08-27 09:26:45 +02:00
Efi Fogel 66258c7d33 Cleaned up. In particular added 'm_' suffix to data member names. 2018-08-01 15:48:11 +03:00
Efi Fogel a9e37b6ac6 Merge branch 'Aos_2-fixes-efif-old' into Aos_2-fixes-efif 2018-08-01 10:13:29 +03:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Mael Rouxel-Labbé 6283291c8a Moved CGAL::iterator to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Laurent Rineau ed3df2366e Merge pull request #3109 from psarahdactyl/master
add missing const to compare_endpoints_xy_2 () operator taking x-mono…
2018-06-06 14:39:16 +02:00
Laurent Rineau 089e0c10ce Merge pull request #3093 from efifogel/Aos_2-ric_remove_edges-efif
Aos 2 ric remove edges efif

# Conflicts:
#	Minkowski_sum_2/test/Minkowski_sum_2/CMakeLists.txt
2018-05-28 13:58:28 +02:00
Efi Fogel 8631b3c09f Fixed a warning about an unsed variable. 2018-05-25 13:21:42 +03:00
sarahanne 078aa22839 add missing const to compare_endpoints_xy_2 () operator taking x-monotone-curve as a parameter 2018-05-22 15:23:16 -04:00
Efi Fogel 224a500ec7 Called locate_opt_empty() after the removal of an edge to reset the hint. Introduced update_vtx_cw_he_after_remove() and called it to update the cw halfedge of an active vertex when a halfedge is removed. 2018-05-16 17:52:15 +03:00
Efi Fogel 343ca15477 Introduced set_cw_he_visitor() member function 2018-05-16 17:49:02 +03:00
Efi Fogel 06d2fc762a Introduced member function reset_cw_he() 2018-05-16 17:48:15 +03:00
Efi Fogel d5a26a0bc0 Cleaned up; stage 2 2018-05-16 11:21:07 +03:00