Commit Graph

865 Commits

Author SHA1 Message Date
Sébastien Loriot 36249c0fa0 Merge remote-tracking branch 'cgal/master' into HEAD 2021-09-23 11:07:06 +02:00
Sébastien Loriot ab5d64e1c3 remove non-need comments 2021-09-23 11:04:19 +02:00
Sébastien Loriot 3728852d47 fix cmake 2021-09-23 10:04:35 +02:00
Dimitris Papavasiliou 7f04082cfc Add polygon set drawing functionality. 2021-09-10 21:52:46 +03:00
Efi Fogel 5e73fe1eba Merge remote-tracking branch 'cgal/master' into Aos_2-boundary_objects-efic 2021-08-04 12:22:09 +03:00
Sebastien Loriot 40f507a1f1
Merge pull request #5800 from MaelRL/SS-Doc_fixes-GF
Harmonization of some IO stream documentation
2021-07-19 07:56:48 +02:00
Sébastien Loriot 06c5462675 Merge remote-tracking branch 'cgal/5.2.x-branch' 2021-07-19 07:43:32 +02:00
Sébastien Loriot 32c7364831 update test to accept a relatively simple hole as being valid 2021-07-12 15:38:26 +02:00
Sébastien Loriot e599bd44cc fix validity check: holes can be relatively simple 2021-07-08 13:50:18 +02:00
Mael Rouxel-Labbé 78ff9185b3 Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02:00
Maxime Gimeno a76bd6081e Replace more sc text 2021-05-21 15:45:50 +02:00
Laurent Rineau 26ad68e486 Merge pull request #5649 from sloriot/CGAL-no_boost_shared_ptr
Replace internal use of boost shared_ptr
2021-05-18 18:14:12 +02:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Sébastien Loriot 1faa0e2992 replace internal use of boost::shared_ptr by std::shared_ptr 2021-04-28 10:55:26 +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
Simon Giraudot fbfe5f2679 Add missing return statements 2021-04-01 12:08:15 +02:00
Efi Fogel 3ed74414df Removed constructor of General_polygon_2 from a curve. 2021-03-08 18:50:37 +02:00
Efi Fogel 27e5db14b3 ed missing return type 2021-03-08 18:49:55 +02:00
Efi Fogel 2cd13748c1 Fixed the text and added missing intersection functions 2021-03-04 01:08:37 +02:00
Efi Fogel f0c722a713 Added missing constructors 2021-03-03 19:06:18 +02:00
Efi Fogel cacfb74537 Fixed typos; enhanced text with aggregated functions 2021-03-03 18:47:51 +02:00
Efi Fogel e114e44aa9 Split into specific headers. Enhanced description of the UsePolylines template parameter 2021-03-03 17:27:22 +02:00
Efi Fogel 76f44656eb Added missing constructors (from polygon + traits) and used them 2021-03-03 11:29:12 +02:00
Efi Fogel 514f123a75 Fixed back-conversion of polygons 2021-03-03 01:10:14 +02:00
Efi Fogel 95d67c613b Cleaned up; removed test functions (moved to test) 2021-03-03 01:09:51 +02:00
Efi Fogel 9ebe6a821d Added equality operator of general polygons 2021-03-03 01:09:09 +02:00
Efi Fogel e26bd67dc1 Enhanced the test with polygon conversions 2021-03-03 01:08:41 +02:00
Efi Fogel 35e03e857a Fixed aggregate operations with conversions 2021-03-02 15:19:03 +02:00
Efi Fogel 12a85a919b Merge remote-tracking branch 'cgal/master' into Aos_2-boundary_objects-efic 2021-03-01 15:39:36 +02:00
Efi Fogel 42d234b177 Cleaned up 2021-03-01 00:11:14 +02:00
Efi Fogel be3f6f4d0d Fixed typo. Gps_default_traits accepts the input-polygon (not the kernel) as a template parameter 2021-03-01 00:10:28 +02:00
Efi Fogel ba4e67c549 Added missing template parameter 2021-03-01 00:09:52 +02:00
Efi Fogel 7cfe16366e Removed obsolete make_curve_2 2021-03-01 00:07:20 +02:00
Efi Fogel 5690fb11e0 Fixed the conversions 2021-02-28 19:20:22 +02:00
Efi Fogel c58afad0e0 Temporarily added a test for cpolygon conversions. Eventually, this should be moved to a separate test. 2021-02-28 19:19:44 +02:00
Efi Fogel dbe7d29863 Fixed convert_polygon() 2021-02-28 19:18:31 +02:00
Efi Fogel f85aab400d Cleaned up 2021-02-28 19:13:42 +02:00
Efi Fogel 8fa117bcc6 Reinstated back conversions 2021-02-28 12:06:02 +02:00
Efi Fogel 33b4b05c98 Cleaned up 2021-02-24 18:59:54 +02:00
Efi Fogel 391c1a22ff Fixed documentation 2021-02-24 18:59:43 +02:00
Efi Fogel fb1d6dea5a Merge remote-tracking branch 'cgal/master' into Boolean_operations-Use_GPS_based_polylines-GF 2021-02-24 12:54:13 +02:00
Efi Fogel 124076bcb4 Merge remote-tracking branch 'cgal/master' into Bso-oriented_side-efif 2021-01-28 17:39:04 +02:00
Efi Fogel f0c9ee6062 Cleaned up 2020-11-30 10:22:19 +02:00
Efi Fogel ec9ab2f33f Cleaned up 2020-11-30 10:16:42 +02:00
Efi Fogel fcd12893e0 Refracted the code a bit. The code that determines whether to use (regular) polygons or polyline-based general polygons should reside in the internal function, and in particular, in functions that do not accept a traits as a parameter. 2020-11-30 10:03:43 +02:00
Efi Fogel 3778086ebf Fixed references to arrangement manual 2020-11-24 13:37:55 +02:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Maxime Gimeno 8e23d5c482 Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-11-10 09:00:41 +01:00
Simon Giraudot d193f5e165 Add missing include 2020-10-21 10:37:14 +02:00
Simon Giraudot 0b70318c51 Merge remote-tracking branch 'mine/Polygon-Vertex_pair_iterator-GF' into Polygon-Vertex_pair_iterator-GF 2020-10-20 09:01:29 +02:00
Efi Fogel 7db7a24a90 Fixed typo 2020-10-05 15:48:04 +03:00
Efi Fogel 29063b4d34 Added missing links and fixed syntax 2020-10-05 15:39:24 +03:00
Efi Fogel f81c9c2d00
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:18:55 +03:00
Efi Fogel 3a48f47a98
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:18:34 +03:00
Efi Fogel 37cc60b421
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:18:08 +03:00
Efi Fogel 5cbf5ff39b
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:17:54 +03:00
Efi Fogel 15999c1d87
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:17:33 +03:00
Efi Fogel 7cad2dd83b
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:17:04 +03:00
Efi Fogel 9215fb64c0
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:16:35 +03:00
Efi Fogel 0de8a77326
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:16:21 +03:00
Efi Fogel 03220ee24a
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:15:17 +03:00
Efi Fogel 4b621e1de5
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:15:07 +03:00
Efi Fogel 06ebe35eb2
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:14:56 +03:00
Efi Fogel 9b0b296cbe
Update Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 15:14:44 +03:00
Simon Giraudot 97bbb55fb2 Fix is_empty method for PWH 2020-10-05 09:06:56 +02:00
Efi Fogel 8c33fbbec3 Last fixes 2020-10-03 10:55:47 +03:00
Efi Fogel 2b7f65e8a0 Finished 2020-10-02 15:10:05 +03:00
Efi Fogel e189cf5bde Updated intersection() 2020-10-02 12:52:36 +03:00
Efi Fogel 15ef09b598 ifference() 2020-10-01 17:37:38 +03:00
Simon Giraudot 4f0648d17b Use Point_2/Point_2 constructor so that it also works with Arr_non_caching_segment_traits 2020-10-01 08:54:47 +02:00
Efi Fogel ed58eccc0f Fixed complement() 2020-10-01 03:27:15 +03:00
Efi Fogel 460faca82f Fixed complement() doc 2020-10-01 02:35:42 +03:00
Efi Fogel 7e7ee4d4a3 An uplift 2020-10-01 02:13:11 +03:00
Efi Fogel bd1501e184 Cleaned up 2020-09-30 13:32:54 +03:00
Efi Fogel e4ff676503 1st revision 2020-09-30 13:26:37 +03:00
Simon Giraudot 2321bc6ce8 Fix missing overloads + header 2020-08-31 15:45:44 +02:00
Simon Giraudot 927e54ebce Remove useless file 2020-08-31 14:29:01 +02:00
Simon Giraudot af079b90e2 Document General_polygon_2 constructor using curve 2020-08-31 14:18:51 +02:00
Simon Giraudot 96c5d90243 Update BSO documentation with polyline traits selection 2020-08-31 11:13:22 +02:00
Simon Giraudot d19e11c911 Add all overloads for auto polyline traits with InputIterators 2020-08-31 09:41:19 +02:00
Simon Giraudot 81b6cdea13 Add missings tests 2020-08-31 08:26:42 +02:00
Simon Giraudot 102c8c5399 WIP: overloads for iterator-based variants using transform iterators + enable_if 2020-08-27 15:48:09 +02:00
Simon Giraudot 722b489be3 Move conversion functions in separate file 2020-08-27 13:06:05 +02:00
Simon Giraudot 576114bcf0 Fix missing reference 2020-08-26 16:15:02 +02:00
Simon Giraudot 354f46dbe9 Update compilation test with all new overloads 2020-08-26 15:48:54 +02:00
Simon Giraudot 7a6beefdf7 Implement polygon conversion in output iterator 2020-08-26 15:48:41 +02:00
Simon Giraudot a85549da02 WIP: all boolean operations using polyline traits as default (segment variant can be selected by hand) 2020-08-26 14:33:40 +02:00
Simon Giraudot 76cd9a44fd Use explicit tag types to avoid enable_if / ambiguities 2020-08-26 12:49:40 +02:00
Simon Giraudot 2f82856c40 Deactivate overloads with Traits and implement tag-based traits selection for do_intersect 2020-08-25 15:29:20 +02:00
Simon Giraudot f9ce1721ac Introduce Gps polyline traits 2020-08-25 15:28:54 +02:00
Simon Giraudot 8ac49459d2 More constrained typing 2020-08-25 13:59:31 +02:00
Simon Giraudot 125308e815 Proof of concept using Polyline traits for general BO 2020-08-25 13:49:08 +02:00
Simon Giraudot 0678c996e5 Add option to close the curve 2020-08-25 12:38:25 +02:00
Simon Giraudot 51184bcf92 Update test 2020-08-25 11:33:39 +02:00
Simon Giraudot 1966601897 Replace constructor with point range by constructor with curve 2020-08-25 11:33:29 +02:00
Simon Giraudot 2f5eeb3efc Add point based construction for segment traits + update test 2020-08-25 09:30:00 +02:00
Simon Giraudot 86c9a3d603 Allow converter to handle non-random access iterators 2020-08-24 15:21:32 +02:00
Simon Giraudot daec064aa9 Add general polygon constructor using point iterators 2020-08-24 14:56:03 +02:00
Simon Giraudot cfa91cfa25 Points to x monotone curve iterator for init general polygon with polylines 2020-08-24 13:43:33 +02:00
Simon Giraudot 4f99fe893d Use vertex pair iterator in GPS to avoid constructing Segment_2 objects 2020-08-13 15:37:33 +02:00
Mael Rouxel-Labbé 00ca0211e1 IO documentation fixes 2020-08-04 15:47:56 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Laurent Rineau 14c3b7ec72 Merge pull request #4640 from mglisse/spaceship
C++20 fixes
2020-05-27 16:33:33 +02:00
Marc Glisse e2a77e54b8 More weirdo constructors 2020-05-24 11:18:01 +02:00
Marc Glisse 2756b2ac35 More weirdo constructors 2020-05-24 11:11:32 +02:00
Laurent Rineau 3d3788925b Merge pull request #4607 from efifogel/Aos_2-intersection-efif
Arrangement_on_surface_2: change intersection return types (from legacy CGAL::Object to variants)

# Conflicts:
#	Installation/CHANGES.md
2020-05-19 10:55:30 +02:00
Sébastien Loriot 157bdbda08 Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2020-04-22 13:26:52 +02:00
Efi Fogel 6fcbee1fa9 Removed redundant typedef statements 2020-04-21 17:12:21 +03:00
Sébastien Loriot cdcc50de20 change format to avoid useless link creations 2020-04-14 18:07:42 +02:00
Sébastien Loriot 6c7cf090c2 fix typos 2020-04-14 17:50:32 +02:00
Efi Fogel 61d51502c0 Fixed documentation of intersection return types 2020-04-06 16:37:46 +03:00
Efi Fogel 7436c149e1 Fixed intersection return type 2020-04-06 01:23:45 +03: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
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
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
Sébastien Loriot fbafb9d06f fix remaining mismatches and fix bugs 2019-07-10 11:40:45 +02:00
Sébastien Loriot c0edb5ecaa remove CGAL_CXX11 macro usage 2019-07-08 11:42:17 +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
Laurent Rineau be0d07d150 Merge pull request #3979 from afabri/CGAL-null_ptr-GF
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-17 14:10:35 +02:00
Laurent Rineau 77b5d9fdde Merge pull request #4004 from lrineau/CGAL-various_cmake_fixes-GF
Various cmake improvements
2019-06-17 13:54:19 +02:00
Laurent Rineau 96912aaa20 Merge branch 'releases/CGAL-4.14-branch' 2019-06-17 13:53:42 +02:00
Laurent Rineau 04bf5e7248 Merge pull request #3998 from sloriot/BO2-fix_outer_ccb_supply
Fix outer ccb supply chain
2019-06-17 13:51:28 +02:00
Laurent Rineau 395e4965b7 Remove use of qt5_use_modules (warned deprecated with CMake-3.14) 2019-06-14 15:15:40 +02:00
Sébastien Loriot dcb9630633 add test file highlighting the bug fixed by the previous commit 2019-06-13 09:43:10 +02:00
Sébastien Loriot 4117fcd727 allocate new outer ccb if the initial set is empty 2019-06-13 09:31:02 +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 959ea27b4e Merge pull request #3889 from sloriot/CGAL-remove_link_to_old_demos
Remove link to old demos
2019-05-06 15:30:29 +02:00
Laurent Rineau b3d9e97abe Merge pull request #3889 from sloriot/CGAL-remove_link_to_old_demos
Remove link to old demos
2019-05-06 15:02:01 +02:00
Sébastien Loriot c92996cd5a remove link to old Qt3 demos 2019-04-29 17:27:04 +02:00
Maxime Gimeno 8860f12b25 Use automoc as much as possible 2019-04-18 16:11:08 +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
Sébastien Loriot d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Andreas Fabri 930556a484 Remove #include<CGAL/basic.h> amd put what is needed if something is missing 2019-03-27 15:25:41 +01:00
Laurent Rineau 82451a276d Merge pull request #3774 from sloriot/BO2-fix_outer_ccb_set
Fix error in outer CCB setting
2019-03-19 18:26:54 +01:00
Sébastien Loriot 6fc06efd70 fix progation when no inner ccb is adjacent to a outer ccb to be updated 2019-03-15 18:28:18 +01:00
Laurent Rineau 2671d056cf Merge pull request #3685 from afabri/CGAL-cleanup-GF
CGAL:  Clean up examples and tests
2019-02-28 20:48:48 +01:00
Laurent Rineau 5e96380e55
Merge branch 'master' into Bso-validation-efif 2019-02-25 09:53:15 +00:00
Efi Fogel f3b6d06d58 Added test to test validation or relatively simple polygons 2019-02-23 11:22:55 +02:00
Efi Fogel 07f9ac6430 Fixed the validation of orientation. (This time fixed it right...) 2019-02-23 11:20:56 +02:00
Efi Fogel 58ae1c521b Guarded local variable used only in DEBUG mode 2019-02-19 16:08:55 +02:00
Efi Fogel 2d4a477296 Fixed validation of orientation of a relative simple polygon 2019-02-16 14:27:55 +02:00
Efi Fogel c224060c7a Added the real test 2019-02-16 14:27:44 +02:00