Commit Graph

2446 Commits

Author SHA1 Message Date
Efi Fogel c0838c533a Added Construct_curve_2. This is used by the (generic) code of the polyline traits. 2021-12-16 16:33:43 +02:00
Efi Fogel 5f436125e6 moved two redundant constructors that do not even compile 2021-12-16 16:33:02 +02:00
Efi Fogel 54b423c81b Used traits to construct curve 2021-12-16 11:13:12 +02:00
Sébastien Loriot 993a7b29b0 fix warnings about arithmetic operations on enum
cherry-pick of 364009
2021-11-29 17:59:12 +01:00
Laurent Rineau e683686055 Merge pull request #6094 from sloriot/AOS_2-remove_fast_pool_allocator
Fix issues with new containers for arrangement cells

# Conflicts:
#	Arrangement_on_surface_2/include/CGAL/Arr_dcel_base.h
2021-11-18 12:31:39 +01:00
Andreas Fabri a2ae7d8e13 Addess -Wdeprecated-anon-enum-enum-conversion 2021-11-10 08:22:46 +00:00
Sébastien Loriot c1d2fe3758 readd fast_pool allocator 2021-11-09 14:54:58 +01:00
Sébastien Loriot 5da848dbd3 rollback on changing the dcel to Compact_container
the freelist being not clear is actually an issue
when small arrangement are created out of large one
2021-11-09 14:50:09 +01:00
Sébastien Loriot 69f91992ee improve delete_all()
use Compact_container::clear() that will deallocate by blocks
and clear the freelist
2021-11-04 15:38:25 +01:00
Sébastien Loriot f0c94afce0 use default allocator that introduce a huge regression in some cases 2021-10-29 18:01:07 +02:00
Laurent Rineau 1ba982096a Merge pull request #5094 from sgiraudot/Boolean_operations-Use_GPS_based_polylines-GF
[Small Feature] Boolean Operations: Use polyline-based GPS
2021-10-07 14:27:23 +02:00
Mael Rouxel-Labbé 521c72d57e Fix typos 2021-10-04 13:34:07 +02:00
Mael Rouxel-Labbé 625848e629 Fix missing ':' in various namespaces 2021-10-04 13:21:47 +02:00
Laurent Rineau 0f26960174 Merge pull request #6019 from sloriot/CGAL-enum_arithm_w
Fix warnings about arithmetic operations on enum
2021-09-29 16:59:31 +02:00
Sébastien Loriot 3640099261 fix warnings about arithmetic operations on enum 2021-09-28 15:36:51 +02:00
Andreas Fabri c3d4306cb2 Replace sprintf with stringstream 2021-09-23 17:00:10 +02:00
Andreas Fabri e537c80442 Replace sprintf with stringstream 2021-09-23 17:00:09 +02:00
Andreas Fabri 055f87de26 Use std::array and avoid mem_set 2021-09-23 16:57:35 +02:00
Andreas Fabri 637d61c974 Fix in Arr_counting_traits_2.h 2021-09-23 16:57:34 +02:00
Sébastien Loriot 0ef13b30bf fix author 2021-09-23 11:10:43 +02:00
Sébastien Loriot 36249c0fa0 Merge remote-tracking branch 'cgal/master' into HEAD 2021-09-23 11:07:06 +02:00
Sebastien Loriot 4610cf3c66
Merge pull request #5904 from sloriot/CGAL-remove_config_flags
Replace macros with inline functions and remove a config flag
2021-09-10 17:38:50 +02:00
Sébastien Loriot 4afc249100 do not hide type definitions 2021-09-09 15:58:00 +02:00
Sébastien Loriot 6e1fc8a4e5 Merge remote-tracking branch 'cgal/master' into HEAD 2021-09-02 16:53:07 +02:00
Sébastien Loriot 5be3a41f26 try to silence warnings 2021-08-30 15:08:47 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Efi Fogel c3022226d7 Replaced unsigned with the correct integral type (which resolved some warnings) 2021-08-19 13:59:28 +03:00
Efi Fogel d14cece4ca Commenting out unused formal variables 2021-08-19 13:27:46 +03:00
Sébastien Loriot d4c7e220c1 Merge remote-tracking branch 'cgal/5.3.x-branch' 2021-08-13 18:27:28 +02:00
Sébastien Loriot b0a85960bf Merge remote-tracking branch 'cgal/5.2.x-branch' into HEAD 2021-08-13 18:27:07 +02:00
Sébastien Loriot fa2c353fff move impl outside of the class 2021-08-12 10:35:39 +02:00
Efi Fogel 8d95fb809b Pacify msvc 2021-08-11 18:37:30 +03:00
Efi Fogel 54b301cc56 handled unused variable (only used in debug mode). 2021-08-10 12:38:31 +03:00
Efi Fogel bfc5b7e6f8 Clean ups; Removed unused types and variables; Fixed limit => boundary terminology 2021-08-10 10:49:11 +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
Sébastien Loriot a3d04af49c fix issue in case an overlapping curve is split
in case an arrangement is updated and an overlap curve
is on an existing halfedge, the incident halfedge
to an event has to be updated after the split.
This is done by checking all left events in parent subcurves
of the overlapping subcurve.
2021-07-28 16:47:13 +02:00
Sébastien Loriot 5985db1fe8 fix typos 2021-07-28 16:47:12 +02:00
Maxime Gimeno 97cac65a86 Fix __GNUC__ tests 2021-07-23 10:59:49 +02:00
Maxime Gimeno a3d1765ab4 Merge remote-tracking branch 'cgal/master' into CGAL-Clean_up_boost_versions-maxGimeno 2021-07-19 14:18:40 +02:00
Mael Rouxel-Labbé 78ff9185b3 Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02:00
Laurent Rineau 59a0da4f13 Merge pull request #5692 from maxGimeno/CGAL_cpp11_atomic_and_threads-maxGimeno
CGAL:: Use std atomic and threads

# Conflicts:
#	Arrangement_on_surface_2/include/CGAL/Arr_counting_traits_2.h
2021-05-19 17:23:53 +02:00
Laurent Rineau 82bec8a1d6 Merge pull request #5692 from maxGimeno/CGAL_cpp11_atomic_and_threads-maxGimeno
CGAL:: Use std atomic and threads

# Conflicts:
#	Arrangement_on_surface_2/include/CGAL/Arr_counting_traits_2.h
2021-05-19 17:11:37 +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
Maxime Gimeno e6c767d5c9 Simplify the GNUC versions tests 2021-05-12 15:45:07 +02:00
Maxime Gimeno 393ae7dae6 Clean-up boost_version reqs 2021-05-12 15:03:53 +02:00
Maxime Gimeno 3e03d50b8a replace usages of CGAL::cpp11::atomic and thread by std:: calls 2021-05-07 11:10:30 +02:00
Maxime Gimeno e9b7595fff Deprecate CGAL headers for threads, atomic and result_of, and move their content to config.h as fallback 2021-05-07 11:09:24 +02:00
Efi Fogel ac8a07ca77 Fixed test data format; Added tests for (full) great circles; fixed construction of (full) great circles. 2021-05-05 21:23:53 +03: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
Sébastien Loriot 755693ba45 IO namespace in Arrangement package 2021-05-03 13:27:31 +02:00
Efi Fogel 2abf0c0f5b Added back the missing constructor of an x-monotone full great circle. 2021-04-29 16:36:41 +03:00
Efi Fogel 45d0050322 Fixed construction of full circles and other minor changes 2021-04-29 12:14:28 +03:00
Sébastien Loriot 1faa0e2992 replace internal use of boost::shared_ptr by std::shared_ptr 2021-04-28 10:55:26 +02:00
Efi Fogel ba8aec60f2 Small text fixes 2021-04-21 13:24:05 +03:00
Efi Fogel 9c7c9830c6 Fixed the move of curves from the top face 2021-04-07 09:49:14 +03:00
Efi Fogel f8f0e64ef4 Fixed the handling of a case where a spherical arc is added to an arr that already has an arc that lies on the identification curve; added a test. 2021-03-31 13:38:36 +03:00
Efi Fogel 9e5385d0bf Fixed the computation of the red and blue north face s 2021-03-25 15:49:58 +02:00
Efi Fogel 2d1e009209 Cleaned up 2021-03-25 12:53:48 +02:00
Simon Giraudot 3cf1853832 Rebase 2021-03-25 10:03:35 +01:00
Laurent Rineau 21755b1123 Merge pull request #5245 from GilesBathgate/create-assertions-fix
Allow -DNDEBUG and CGAL_nnn_assertions at the same time
2021-03-24 15:05:41 +01:00
Simon Giraudot 3448035fc6 Fix CC_iterator by making constructor from pointer explicit 2021-03-24 08:25:29 +01:00
Efi Fogel fd18c19b99 Fixed wrong conflic-resolving in previous merge. 2021-03-22 15:34:44 +02:00
Efi Fogel 30da4ebae2 Merge remote-tracking branch 'cgal/master' into Aos_2-boundary_objects-efic 2021-03-22 13:35:23 +02:00
Laurent Rineau dc36cee2d5 Merge pull request #5166 from sgiraudot/Arrangement_2-Enhanced_ccb_merge-GF
Arrangement 2: Enhanced CCB Merging for Surface Sweep
2021-03-10 11:53:16 +01:00
Laurent Rineau 06cd9422e4 Merge pull request #5166 from sgiraudot/Arrangement_2-Enhanced_ccb_merge-GF
Arrangement 2: Enhanced CCB Merging for Surface Sweep
2021-03-10 10:33:19 +01:00
Efi Fogel 74a0e95430 Added missing include 2021-03-03 11:01:18 +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 f9208ac7ae Replaced increment and decrement operators with superior std::next() and std::prev() 2021-03-01 15:32:21 +02:00
Efi Fogel 37dc35d8bf Used increment and decrement operators rather than addition and subtraction 2021-03-01 14:39:02 +02:00
Efi Fogel 5192d00a68 Removed obsolete make_curve_2 2021-03-01 00:06:52 +02:00
Efi Fogel e96a65bb74 Cleaned up and enhanced Construct_curve_2 2021-02-28 19:18:11 +02:00
Efi Fogel 1683b8d39c Cleaned up 2021-02-28 12:05: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
Mael Rouxel-Labbé 5efa544734 Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-02-22 17:19:40 +01:00
Laurent Rineau a735e849c0 Merge pull request #5152 from sloriot/CGAL-remove_bind
Replace usages of boost::bind
2021-02-05 16:14:04 +01:00
Sébastien Loriot 32b31fdc9b use one lambda 2021-02-02 11:09:46 +01:00
Sébastien Loriot 5311c150f5 boost transform iterator cannot use raw lambdas as begin/end iterator types must be identicals 2021-01-29 18:40:01 +01:00
Simon Giraudot 2e98995b29 Clean up and use fast pool allocator (faster) 2021-01-28 14:24:07 +01:00
Simon Giraudot 80e99153dc Use Compact Container in DCEL base instead of in place list 2021-01-28 10:30:55 +01:00
Mael Rouxel-Labbé 1f45360d7a Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-01-26 09:05:24 +01:00
Dmitry Anisimov 269a47d773
Merge branch 'master' into CGAL-clang_warnings_fix-danston 2021-01-14 16:51:13 +01:00
Dmitry Anisimov af94033a64 arrangement on surface 2 unused variables warning fixed 2021-01-07 16:39:03 +01:00
Sébastien Loriot 0d16ef14c5 replace bind in Arrangement_on_surface_2 2021-01-06 12:59:12 +01:00
Mael Rouxel-Labbé 6b87fe393d Fix various grammar issues 2020-12-05 11:11:33 +01:00
Giles Bathgate 07120b82fa Add missing header includes 2020-12-04 19:42:21 +00:00
Giles Bathgate 5a36ff89b5 Drop NDEBUG it is already visible through CGAL_NO_ASSERTIONS 2020-12-04 19:42:21 +00:00
Simon Giraudot becf548ee1 Update from review 2020-11-17 08:27:03 +01:00
Simon Giraudot 2f9cdd068b Sweep mode for Arrangement_2 2020-11-17 08:27:03 +01:00
Simon Giraudot 2341612609 Add chain of inner CCB handling to Arr_dcel_base 2020-11-17 08:27:03 +01:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Efi Fogel 6b64dc8def Merge branch 'master' into Aos_2-boundary_objects-efic 2020-11-11 09:38:55 +02:00
Laurent Rineau f33d835d2e Merge pull request #4939 from sgiraudot/Polygon-Vertex_pair_iterator-GF
Arrangement: Avoid constructing Segment_2/Line_2 objects when possible
2020-11-10 08:45:35 +01:00
Efi Fogel c596073ffc Un-deprecated bbox() (for now) 2020-11-05 10:43:47 +02:00
Laurent Rineau 10f399c1fd Merge pull request #5091 from sgiraudot/Arrangement-Fix_polycurve_intersection-efif-GF
[Arrangement] Fix polycurve overlap intersection
2020-11-04 20:46:07 +01:00
Laurent Rineau d4082e00f9 Merge pull request #5091 from sgiraudot/Arrangement-Fix_polycurve_intersection-efif-GF
[Arrangement] Fix polycurve overlap intersection
2020-11-04 20:44:24 +01:00
Efi Fogel bc83b00a2e Cleaned up and deprecated Arr_segment_2::bbox(), which was left by mistake... 2020-11-04 15:55:04 +02:00
Efi Fogel 9e9e572013 Fixed the intersection op. for the case where the 2 input curves have opposite directions 2020-10-28 11:38:45 +02:00
Efi Fogel 65d4593479 defined construct_opposite only if CGAL_ALWAYS_LEFT_TO_RIGHT 2020-10-27 17:47:39 +02:00
Laurent Rineau d08d6ca552 Merge branch '5.1.x-branch' 2020-10-23 16:06:55 +02:00
Laurent Rineau a7cd94f82f Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch' into 5.1.x-branch 2020-10-23 16:06:46 +02:00
Simon Giraudot c02ffb762b Use 2 booleans instead of an enum 2020-10-21 13:31:21 +02:00
Simon Giraudot adef28b496 Add assertions and fix bug 2020-10-21 10:12:51 +02:00
Efi Fogel 3f623d99df Construct opposite only if CGAL_ALWAYS_LEFT_TO_RIGHT 2020-10-21 08:40:51 +02:00
Simon Giraudot 615a8768dd Fix inverted segments 2020-10-21 08:40:51 +02:00
Simon Giraudot fcbbea5e0d Better handling of invertions 2020-10-21 08:40:51 +02:00
Simon Giraudot 7588d8803d Cache overlaps and dump at the end (inverted if needed) 2020-10-21 08:40:51 +02:00
Simon Giraudot 3e17be2b30 Merge branch 'Arrangement-Fix_polycurve_intersection-efif-GF' into Boolean_operations-Use_GPS_based_polylines-GF 2020-10-20 10:34:46 +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
Simon Giraudot 8f1d611dda Fix inverted segments 2020-10-19 13:34:31 +02:00
Simon Giraudot 4e25e0c650 Better handling of invertions 2020-10-19 11:47:14 +02:00
Simon Giraudot 4ff6c4952e Cache overlaps and dump at the end (inverted if needed) 2020-10-15 11:59:30 +02:00
Mael Rouxel-Labbé f55ef7dd50 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-10-09 18:36:17 +02:00
Ahmed Essam 32093e6ea3 Merge branch 'master' of https://github.com/CGAL/cgal into gsoc2020-aos_demo-theartful 2020-10-03 20:55:38 +02:00
Sebastien Loriot 03ff1a667f
Merge pull request #4784 from efifogel/Aos_2-remove_object-efif
Aos_2: Change Make_x_monotone_2 return type from legacy CGAL::Object to boost::variant
2020-10-02 15:19:36 +02:00
Ahmed Essam 1ae6f3f495 Fix past the "beginning" bug
This caused assertion error in msvc debug mode while running the demo
2020-10-01 15:56:44 +01:00
Ahmed Essam aa2bc8d05f Fix msvc min/max conflict (hopefully for the last time!) 2020-10-01 19:40:54 +01:00
Ahmed Essam 1fb65b6ea8 Fix msvc warning 2020-10-01 18:35:00 +01: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
Simon Giraudot 1d3c289481 Fix outdated variable name 2020-09-30 15:41:05 +02:00
Ahmed Essam f2115d534b Fix min/max macro conflict 2020-09-30 10:53:02 +02:00
Jane Tournois 5c8df6672a remove CGAL_CFG_MATCHING_BUG_ variants
the "matching bug" of msvc has been fixed since at least vs 2015
2020-09-25 14:25:14 +02:00
Ahmed Essam b238db17ae Merge remote-tracking branch 'cgal/master' into gsoc2020-aos_demo-theartful 2020-09-24 20:46:06 +02:00
Ahmed Essam 885759ff05 Fix compilation error with msvc2017
Fixes the compilation error in x64_Cygwin-Windows10_MSVC2017-Debug-64bits
platform.
CXXFLAGS=/DWIN32 /D_WINDOWS /W3 /GR /EHsc -D_CRT_SECURE_NO_DEPRECATE
-D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
-D_SCL_SECURE_NO_WARNINGS
-D_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING /fp:strict
/fp:except- /wd4503 /bigobj /permissive- /std:c++17 /D_DEBUG /MDd /Ob0
/Od /RTC1
LDFLAGS=/machine:x64 /debug /INCREMENTAL
Curve_renderer_2.h(1753): error C2760: syntax error: unexpected token
'identifier', expected ')'
Produced the error locally and for some reason adding the extra parenthesis
fixed the problem. Most probably a bug with msvc2017 with these flags.
2020-09-23 18:19:24 -07:00
Efi Fogel 92801f4f8f Chenged back size_t to unsigned int (at some point all Multiplicity types should be defined as size_t) 2020-09-23 14:27:53 +03:00
Efi Fogel 3f1647345b Initialized m_is_directed_right in default constructor 2020-09-23 14:27:22 +03:00
Mael Rouxel-Labbé 4694a48913 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-09-22 11:35:25 +02:00
Efi Fogel 70f5d0eede Removed redundant typedefs 2020-09-22 10:08:47 +03:00
Efi Fogel 3600f6ccd5 Updated 2020-09-16 15:32:04 +03:00
Efi Fogel b41988aa70 Merge remote-tracking branch 'cgal/master' into Aos_2-remove_object-efif 2020-09-15 17:18:34 +03:00
Laurent Rineau 6cf203f5ca Merge pull request #4861 from sgiraudot/Arrangement_2-Small_enhancements-GF
Arrangement 2: Small Enhancements
2020-09-11 15:07:50 +02:00
Efi Fogel 7cd3a2663b Updated 2020-09-08 17:46:08 +03:00
Simon Giraudot 2992fcc508 Add CGAL::Single to create range of one isolated element 2020-08-25 12:50:30 +02:00
Simon Giraudot 0678c996e5 Add option to close the curve 2020-08-25 12:38:25 +02:00
Simon Giraudot d09d4079cf Add function to make Curve_2 from range of points 2020-08-25 11:32:46 +02:00
Efi Fogel 23a02ff441 Pacify Windows msvc (definition of casting operator). 2020-08-25 11:48:20 +03:00
Mael Rouxel-Labbé 8682f9bafb Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-08-24 11:45:17 +02:00
Efi Fogel 58fb204e97 Placed back the bbox() function. (Will be deprecated in a separate commit.) 2020-08-24 11:52:27 +03:00
Simon Giraudot 267e7316f1 Fix: compute orientation before checking if segment is vertical 2020-08-24 09:41:43 +02:00
Efi Fogel b4e7a4ad02 Reverted the bbox computation optimization as it turns out it doesn't help 2020-08-22 21:04:40 +03:00
Efi Fogel a857651c21 Optimized the bbox construction in do_bboxes_overlap() 2020-08-20 20:39:50 +03:00
Ahmed Essam 48e0fee7dd Rebase fixes 2020-08-20 19:34:50 +02:00
Ahmed Essam 489499f081 Solve compiler warnings 2020-08-20 19:30:16 +02:00
Ahmed Essam 4e3c64f488 Fix some compiler warnings 2020-08-20 19:30:16 +02:00
Ahmed Essam 4bc9d2bff2 Add missing break 2020-08-20 19:30:16 +02:00
Ahmed Essam 087005d7c0 Fix warnings in algebraic traits 2020-08-20 19:30:16 +02:00
Ahmed Essam 78af28d4c5 Revert all changes outside the demo 2020-08-20 19:30:16 +02:00
Ahmed Essam e1ea14b461 some update 2020-08-20 19:26:10 +02:00
Ahmed Essam 2f0a283139 Use new originator constructor 2020-08-20 19:26:10 +02:00
Ahmed Essam 4ee591f500 Intersection points can be due to 2 or more points
to reproduce this bug, try upper envelope operation on the arrangement
by Jeb
2020-08-20 19:26:10 +02:00
Ahmed Essam 8b78d0e790 Fix bug with self intersecting curves 2020-08-20 19:26:10 +02:00
Ahmed Essam a2bc6227c3 Temporary change to be backward compatible with bezier serialization 2020-08-20 19:23:25 +02:00
Ahmed Essam 94ea08a2c4 Bezier serialization 2020-08-20 19:17:06 +02:00
Ahmed Essam 669b975f60 Unbounded faces, snapping and more! 2020-08-20 19:17:06 +02:00
Ahmed Essam e026e0b435 Revert "Add Approximate_number_type to Arr_circular_arc_traits"
This reverts commit 7db9e267b3d7d11f4372e00b0b4329d4412b5eb4.
2020-08-20 19:17:05 +02:00
Ahmed Essam 6b85115679 Add Approximate_number_type to Arr_circular_arc_traits 2020-08-20 19:17:05 +02:00
Ahmed Essam a19207b957 Clean up and big fixes 2020-08-20 19:17:05 +02:00
Ahmed Essam ac72f408a0 Move EnvelopeCallback class implementation to cpp file 2020-08-20 19:17:05 +02:00
Efi Fogel 9d6d9929ec Cleaned up. Moved some operations from the the curve (Arr_segment_2) to the traits and declared the former deprecated. Optimized further the Intersect_2 functor. 2020-08-20 19:53:52 +03:00
Simon Giraudot 3656be09c6 Only compute line if needed 2020-08-19 16:11:14 +02:00
Sébastien Loriot ae62039df3 remove used variable 2020-08-18 14:10:16 +02:00
Efi Fogel d309bdf2ca Used ..._object() member function to obtain functor objects and cleaned up formatting. 2020-08-18 12:16:27 +03:00
Simon Giraudot 7d23ac99e2 Update internal doc from review 2020-08-17 10:26:08 +02:00
Simon Giraudot 36a210065f Fix for cases where red and blue handles are differently typed 2020-08-17 10:11:28 +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
Simon Giraudot 901f52018c Some fixes + internal doc for indexed sweep 2020-08-13 09:52:47 +02:00
Simon Giraudot b7583f43d5 Add indexed sweep with isolated points 2020-08-13 09:19:50 +02:00
Simon Giraudot 6022a74ac8 Only use indexed sweep for curves with bottom(/top) side NOT contracted 2020-08-13 08:47:33 +02:00
Simon Giraudot acb96cba86 Get rid of index using pointer squatting + before/after functions 2020-08-12 15:56:46 +02:00
Ahmed Essam 3dc2804b9e Move _inc_to_right != cv._inc_to_right assertion to its right location 2020-08-11 13:23:08 +02:00
Ahmed Essam ff93e2b3bd Curve params "s" and "t" are interchangeable with self intersections 2020-08-11 13:18:30 +02:00
Ahmed Essam 6d949cd14f Fix bug with self intersecting bezier curves 2020-08-08 17:29:55 +02:00
Simon Giraudot caf5b31af6 Indexed sweep in overlay (WIP: triggers assertions in some tests) 2020-08-04 15:42:26 +02:00
Efi Fogel 5b6a8e83e3 Updated 2020-08-01 15:23:11 +03:00
Efi Fogel 6642407d60 Merge remote-tracking branch 'cgal/master' into Aos_2-boundary_objects-efic 2020-07-29 18:08:32 +03:00
Efi Fogel f0f0856679 Updated 2020-07-26 00:06:56 +03:00
Mael Rouxel-Labbé 0d66e19361 IO documentation fixes
See @sloriot's review:

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Polgyon_soup_mesh_IO/2nd_round/Answer_to_review

(+ some commits before and after this one)
2020-07-24 17:06:00 +02:00
Simon Giraudot becb663e39 Use fast pool allocator 2020-07-21 11:46:25 +02:00
Simon Giraudot 94155bd89e Fix assertion with explicit boolean conversion 2020-07-21 11:23:24 +02:00
Simon Giraudot a43b994425 Use specialized do_intersect + early ending 2020-07-21 10:19:06 +02:00
Simon Giraudot 4ee8f532b7 Early intersection ending with bbox 2020-07-21 10:19:06 +02:00
Efi Fogel 11c51142a4 Fixed zone computation 2020-07-21 10:04:04 +03:00
Efi Fogel e00e4adfa8 Cleaned up 2020-07-21 09:59:28 +03:00
Efi Fogel 87a3cf9458 Cleaned up 2020-07-21 09:57:34 +03:00
Efi Fogel b2bda2e603 Cleaned up 2020-07-21 09:56:13 +03:00
Efi Fogel ff20707e2f cleaned up 2020-07-21 09:52:09 +03:00
Efi Fogel 16f6196076 Merge branch 'Aos_2-boundary_objects-efic' of github.com:CGAL/cgal-public-dev into Aos_2-boundary_objects-efic 2020-07-21 09:51:17 +03:00
Efi Fogel 598a988fd5 cleaned up 2020-07-21 09:47:34 +03:00
Efi Fogel 372e838d73 Missing include of CGAL/assertions.h 2020-07-06 11:32:32 +03:00
Laurent Rineau cdfbe3b0df Merge branch 'releases/CGAL-5.0-branch' 2020-07-03 16:21:42 +02:00
Laurent Rineau bf88dfcc80 Merge pull request #4820 from sloriot/Argt-missing_it_cstr
Add constructor from base
2020-07-03 16:20:22 +02:00
Efi Fogel 09ad8ab1dc Replaced legacy CGAL::Object with modern variant 2020-07-02 19:12:43 +03:00
Efi Fogel 2aa0c9cefb Cleaned up 2020-07-02 19:11:30 +03:00
Efi Fogel 7cf9a11936 Cleaned up 2020-07-02 19:11:07 +03:00
Efi Fogel 89e5200b5b Cleaned up 2020-07-02 19:10:56 +03:00
Efi Fogel 5298ff114e Cleaned up 2020-07-02 19:10:29 +03:00
Efi Fogel 3d83f95897 Cleaned up 2020-07-02 19:10:21 +03:00
Efi Fogel 89ad70a2de Cleaned up 2020-07-02 19:10:08 +03:00
Efi Fogel 1b23ac2b08 Cleaned up 2020-07-02 19:10:00 +03:00
Efi Fogel d08f8b4ca1 Cleaned up 2020-07-02 19:09:51 +03:00
Efi Fogel e0c80487a7 Replaced legacy CGAL::Object with modern variant 2020-07-02 14:08:08 +03:00
Efi Fogel d58b971e85 Replaced legacy CGAL::Object with modern varian 2020-06-30 23:21:55 +03:00
Efi Fogel 436ba5fa35 Left over of replacing legacy CGAL::Object with variant 2020-06-30 21:23:16 +03:00
Efi Fogel 3c5552b14a Replaced legacy CGAL::Object with variant in vertical decomposition 2020-06-30 21:22:40 +03:00
Laurent Rineau e439aaf30c Merge pull request #4556 from theartful/arrangments_bugfix
Fix Bezier intersection bug around the boundaries (issue #3381)

# Conflicts:
#	Arrangement_on_surface_2/include/CGAL/Arr_geometry_traits/Bezier_cache.h
2020-06-30 16:39:17 +02:00
Laurent Rineau cba160f7f0 Merge pull request #4556 from theartful/arrangments_bugfix
Fix Bezier intersection bug around the boundaries (issue #3381)
2020-06-30 16:37:01 +02:00
Sébastien Loriot 3a53d241c8 add constructor from base 2020-06-30 09:51:05 +02:00
Mael Rouxel-Labbé 26355e2e32 Uniformize capital / third person usage of \brief 2020-06-25 15:13:47 +02:00
Efi Fogel 33b8d552e7 Fixed a bug of non-linear curves (when make-x-monotone produces more than one item) 2020-06-15 20:12:11 +03:00
Efi Fogel f73d067658 acified clang 2020-06-15 20:11:46 +03:00
Efi Fogel fdffdef85e Introduced Make_x_monotone_2 functor to convert CGAL::Object objects obtained from the circular kernel to variant 2020-06-15 17:21:17 +03:00
Efi Fogel e8f81ff4fc Cleaned up 2020-06-15 17:21:02 +03:00
Efi Fogel 03a2d28026 Further eliminated CGAL::Object 2020-06-14 10:47:45 +03:00
Efi Fogel c92f3b6fcf Cleaned up 2020-06-14 10:46:41 +03:00
Efi Fogel 8d1ff43997 Fixed comment 2020-06-14 10:45:50 +03:00
Efi Fogel 7ad0ffa012 Added missing Multiplicity typedef definition 2020-06-14 10:45:27 +03:00
Efi Fogel ecb632a056 Fixed comment 2020-06-14 00:43:16 +03:00
Efi Fogel 3849f5e154 Further eliminating CGAL::Object 2020-06-14 00:41:25 +03:00
Efi Fogel 40152a2582 Continues to eliminate CGAL::Object 2020-06-13 16:43:09 +03:00
Efi Fogel 708469fb5e MFurther eliminating CGAL::Object 2020-06-12 14:06:58 +03:00
Efi Fogel 0626eb0a2e First stage elliminating CGAL::Object 2020-06-11 12:32:33 +03:00
Laurent Rineau 319383c963 Revert "Merge pull request #4519 from lrineau/Kernel_23-Epeck_objects_in_Compact_container-lrineau_gdamiand"
This reverts commit bcab082f82, reversing
changes made to 2d3e126450.
2020-05-20 09:47:58 +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
Sebastien Loriot 5ccfdbe9e4
Merge pull request #4230 from efifogel/Aos_2-small_fixes-efif
Aos 2 small fixes efif
2020-05-05 14:26:20 +02:00
Sebastien Loriot bcab082f82
Merge pull request #4519 from lrineau/Kernel_23-Epeck_objects_in_Compact_container-lrineau_gdamiand
Enable the use of Lazy objects in Compact_container
2020-04-29 13:56:59 +02:00
Efi Fogel 4e19667750 Fixed unused local variable 2020-04-29 12:58:02 +03:00
Sebastien Loriot 0325219ce6
Merge pull request #4671 from maxGimeno/DGAL-Fix_MIN_MAX_issues-maxGimeno
CGAL: Min-max errors on windows
2020-04-27 09:46:04 +02:00
Sebastien Loriot 74d44ff97f
Merge pull request #4672 from maxGimeno/CGAL_Fix_MIN_MAX_5_0-maxGimeno
CGAL: Fixes for min/max 5.0
2020-04-27 09:45:35 +02:00
Sebastien Loriot 1c05c79244
Merge pull request #4673 from maxGimeno/CGAL_Fix_MIN_MAX_4_14-maxGimeno
CGAL: Fixes for min/max 4.14
2020-04-27 09:45:16 +02:00
Sébastien Loriot c5af2b25f3 Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch' 2020-04-22 13:27:29 +02:00
Sébastien Loriot 157bdbda08 Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2020-04-22 13:26:52 +02:00
Sebastien Loriot b02bf1c6e7
Merge pull request #4577 from theartful/bezier_bugfix
Fix bug in point_position in the bezier traits
2020-04-22 13:05:47 +02:00
Efi Fogel 5d37a1bbf8 Initialized some fileds of _Linear_object_cached_2 2020-04-22 00:31:33 +03:00
Efi Fogel 6fcbee1fa9 Removed redundant typedef statements 2020-04-21 17:12:21 +03:00
Maxime Gimeno 5b2d46cfa0 Fixes for min/max 2020-04-21 12:04:45 +02:00
Maxime Gimeno 50766d9d03 Fixes for min/max 2020-04-21 11:52:56 +02:00
Maxime Gimeno e9d41d7b7d Fixes for min/max 2020-04-21 11:38:37 +02:00
Efi Fogel 6eefda4e6d Added missing include <boost/variant.h> 2020-04-06 15:34:28 +03:00
Efi Fogel 4158542c86 Fixed intersection result 2020-04-01 12:31:51 +03:00
Efi Fogel 58276edba3 Cleaned up and Fixed intersection return type 2020-03-31 18:34:28 +03:00
Efi Fogel 523fcfdbc5 Cleaned up 2020-03-31 17:32:38 +03:00
Efi Fogel c1fed0bd0b Cleaned up 2020-03-31 17:30:55 +03:00
Efi Fogel 11059b4f84 Fixed typo 2020-03-29 13:33:08 +03:00
Efi Fogel dc0cab62a4 Fixed Intersect_2 to return optional of variant (instead of CGAL::Object) 2020-03-29 13:31:26 +03:00
Efi Fogel 077829724a Cleaned up; used result_of when computing intersections. 2020-03-29 13:25:18 +03:00
Efi Fogel f5f3440fc0 Used correct result of intersection 2020-03-29 13:02:24 +03:00
Efi Fogel 04adcb982f Cleaned up 2020-03-29 12:34:33 +03:00
Ahmed Essam 30104c6032 Fix bug in matching roots 2020-03-27 08:34:04 +01:00
Sébastien Loriot 97e46accad extra run of the script to remove tabs and trailing whitespaces 2020-03-26 19:26:37 +01:00
Sébastien Loriot 34ce87be56 Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:26:15 +01:00
Sébastien Loriot 180c06146f Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:10:41 +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
Sébastien Loriot 2419170514 be resilient to the absence of trailing whitespace in input 2020-03-26 13:24:27 +01:00
Ahmed Essam a7eb7cfe04 Fix bug in point_position in the brazier traits 2020-03-12 23:14:42 +02:00
Guillaume Damiand 5c9bb6f016 Rename PTR into PTR.p following the modifs in Handle.h 2020-02-14 11:30:56 +01:00
Efi Fogel c3c15948e6 Removed wrong comment 2019-12-18 09:06:18 +02:00
Efi Fogel b0c3c8492f Fixed typo 2019-12-18 09:05:45 +02:00
Efi Fogel 9d2ef0ed9a Commented out print out 2019-12-17 13:26:20 +02:00
Efi Fogel f25e420e65 Moved in_between complete implementation to the adapter class 2019-12-17 13:24:37 +02:00
Efi Fogel bac045d269 Used c++11 features to remove clutter 2019-12-17 13:24:06 +02:00
Efi Fogel 966bd50f9d Used c++11 features to remove clutter 2019-12-14 19:48:11 +02:00
Efi Fogel 33ffd8a0e0 Fixed is_in_x_range_2---handled the case where one of the curves is on the left or right boundary 2019-12-14 19:46:44 +02:00
Efi Fogel 70f7cb84b0 Used auto ro remove clutter 2019-12-14 19:45:01 +02:00
Efi Fogel 19f19f7dcb Cleaned up; added cprecondition 2019-12-14 19:44:30 +02:00
Efi Fogel d91194f469 Fixed documentation of Arrangement_2 (exploited inheritance). 2019-12-02 21:22:25 +02:00
Efi Fogel d1b33ff238 Cleaned up 2019-12-02 13:37:01 +02:00
Efi Fogel a47858ee25 Cleaned up 2019-12-02 13:36:52 +02:00
Efi Fogel 5408fdb115 Fixed is_betweein_imp() and do_overlap_impl() 2019-12-02 02:16:27 +02:00
Sébastien Loriot c662a59645 avoid a construction
this helps the sweep working with EPICK in case no
new construction are needed
2019-11-26 17:00:59 +01:00
Efi Fogel 2a3fbc0ee8 Merge remote-tracking branch 'cgal/master' into Aos_2-boundary_objects-efic 2019-11-19 09:47:44 +02:00
Laurent Rineau 092cf8e2c5 Merge pull request #4284 from sloriot/Sweep_surface_2-derecursive_overlaps_5.0
Derecursification of overlaps detection on the right of event - [5.X]
2019-10-25 16:26:17 +02:00
Sébastien Loriot 47c092557f Merge remote-tracking branch 'sloriot/Sweep_surface_2-derecursive_overlaps' into HEAD 2019-10-21 13:04:25 +02:00
Sébastien Loriot 52164b1fba First pass on removing license notice in header for LGPL files 2019-10-19 15:40:30 +02: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
Sébastien Loriot 90b199b952 fix typos 2019-10-18 09:40:01 +02:00
Laurent Rineau 13beab6ae3 Merge pull request #4278 from sloriot/AOS_2-Trapezoid_map_fixes
Trapezoid map fixes
2019-10-16 18:18:30 +02:00
Laurent Rineau 7143b69bb1 fix warning
```
include/CGAL/Arr_point_location/Td_active_trapezoid.h:98:10: warning: class Non_recursive_td_map_item_destructor was previously declared as a struct [-Wmismatched-tags]
  friend class internal::Non_recursive_td_map_item_destructor<Traits>;
         ^
```
2019-10-16 18:18:01 +02:00
Laurent Rineau e81a805cf6 Merge pull request #4278 from sloriot/AOS_2-Trapezoid_map_fixes
Trapezoid map fixes
2019-10-15 16:33:29 +02:00
Sébastien Loriot 770da55188 Prevent recursive calls to ~Handle while clearing the dag or removing elements in the dag 2019-10-09 18:15:31 +02:00
Sébastien Loriot 9694f5b1ce avoid extra call to random_shuffle 2019-10-08 18:10:26 +02:00
Sébastien Loriot f3092b5438 hide debug info 2019-10-08 18:01:05 +02:00
Sébastien Loriot 11b865e4e4 remove duplicate halfedges before rebuild
a halfedge can be associated to several nodes in the dag
(since a halfedge can contribute to several trapezoids)
2019-10-08 17:14:13 +02:00
Sébastien Loriot 678811cdde fix typo 2019-10-08 17:13:36 +02:00
Sébastien Loriot b2eb6a405b fix cw update
direction is not a good criteria, especially for dangling edges
2019-10-07 16:00:18 +02:00
Sébastien Loriot 08a3411d85 fix the update of cw halfedge of active vertex after update
cw source must be v and cw is the first halfedge seen from noon
when using cw order
2019-10-07 15:58:42 +02:00
Efi Fogel be96223d8e Fixed discrepancy between traits and subcurve-traits in the polycurve basic traits. 2019-09-18 13:20:17 +03:00
Efi Fogel ea6b70dfbc Down casted a variable of type Point_2 (extended direction) to the Kernel::Direction_2 type, so that it can be passed to kernel functors. 2019-09-18 13:19:30 +03:00
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
Efi Fogel 16b35aa0b2 Merge branch 'Aos_2-boundary_objects-efic-old' into Aos_2-boundary_objects-efic 2019-01-17 00:30:16 +02:00
Efi Fogel 8bcaf645af Added nested types 2019-01-16 21:21:57 +02: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
Sebastien Loriot fe262d6215
Merge pull request #3085 from afabri/Arrrangement_2-static_or_atomic-GF
Arrangement_2: Address all remaining points of issue #1384, but the renderer
2018-05-16 08:46:18 +02:00
Efi Fogel 972cede312 Cleaned up, stage 1. 2018-05-16 08:37:27 +03:00
Andreas Fabri 99bc374cce More forward declarations 2018-05-15 15:37:51 +02:00
Andreas Fabri 5690cc4a02 Arrangement_2: Add Forward Declaration 2018-05-15 15:37:51 +02:00
Andreas Fabri b984dce222 Address all remaining points of issue #1384, but the renderer 2018-05-11 08:32:11 +01:00
Efi Fogel 37ff684b6f Uncommented a necessary call to update the container of the curves when rebuilding 2018-05-06 15:54:46 +03:00
Laurent Rineau abea1b9cb6 Merge pull request #3028 from sloriot/Argt-missing_const
Add missing const
2018-04-24 17:33:30 +02:00
Laurent Rineau 81cfcf722d
Indentation 2018-04-23 13:26:50 +00:00
Laurent Rineau 1e1025e604
Fix the indentation!! 2018-04-23 13:09:34 +00:00
Andreas Fabri d7a4a4ac49 Use decltype 2018-04-21 09:41:23 +01:00
Andreas Fabri f0c1d3aab7 more allocator_traits 2018-04-19 14:49:05 +01:00
Laurent Rineau 095c27e2be cosmetic changes 2018-04-17 17:14:19 +02:00
Sébastien Loriot e0d0599949 add missing const 2018-04-17 16:01:35 +02:00
Andreas Fabri 97ac4d5f51 Exploit that construct is variadic 2018-04-17 14:15:07 +01:00
Andreas Fabri 7cbffac35b Deal with deprecated functions allocator<T>::construct/destroy 2018-04-17 13:35:04 +01:00
Andreas Fabri c54a6a4980 Put CGAL::random_shuffle() in the subnamespace cpp98 2018-04-11 09:32:23 +01:00
Efi Fogel ebe16ef2f8 Added missing definition of a constructor in compare-cy 2018-04-07 16:03:58 +03:00
Efi Fogel 5b35b2fb6e Added missing const 2018-04-07 16:03:32 +03:00
Andreas Fabri 063a91a771 Use CGAL::random_shuffle 2018-04-04 14:00:23 +01:00
Andreas Fabri 807c777f50 Remove unused variable 2018-03-30 13:32:57 +01:00
Efi Fogel fb0d16577e Merge branch 'Aos_2-fixes-efif-old' into Aos_2-fixes-efif 2018-03-21 19:55:10 +02:00
Efi Fogel 98b4a49690 Introduced compare_xy() 2018-03-21 19:04:12 +02:00
Laurent Rineau 85ce0157cf Merge pull request #2839 from afabri/STL_extension-replace_std_iterator-GF
STL_extension: Introduce CGAL::iterator
2018-02-23 17:34:57 +01:00
Laurent Rineau c409a61ec5 Merge pull request #2813 from MaelRL/BGL-doc_improvement-GF
BGL: Doc & tests improvements
2018-02-23 17:34:32 +01:00
Mael Rouxel-Labbé f99d3db974 Fixed conversion warnings 2018-02-20 17:20:36 +01:00
Andreas Fabri faa2866763 More CGAL_STATIC_THREAD_LOCAL_VARIABLE 2018-02-20 11:22:32 +00:00
Andreas Fabri d5523f80c0 Use CGAL_STATIC_THREAD_LOCAL_VARIABLE 2018-02-19 17:32:21 +00:00
Mael Rouxel-Labbé dafdafa0bb
Merge branch 'master' into BGL-doc_improvement-GF 2018-02-19 15:41:45 +01:00
Laurent Rineau 78e7060525 Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Mael Rouxel-Labbé 28d55f8981
Merge branch 'master' into BGL-doc_improvement-GF 2018-02-15 11:32:50 +01:00
Andreas Fabri 52549b1145 STL_extension: Introduce CGAL::iterator as replacement for the deprecated std::iterator 2018-02-14 18:46:45 +00:00
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +01:00
Mael Rouxel-Labbé e87001f764 Added null_vertex to Arrangement_2 graph traits 2018-02-08 18:15:40 +01:00
Andreas Fabri 6e66f6bb15 Fix two warnings about unused variable/parameter 2018-02-08 07:40:23 +00:00
Andreas Fabri e0cb4e4b4f int -> std::size_t 2018-02-02 07:31:11 +00:00
Andreas Fabri 11d5e2ec50 increment in the loop instead of decrement, after change from int to std::size_t as the latter is never negative 2018-02-01 10:13:06 +00:00
Andreas Fabri 769ac1a348 Arrangement_2 2018-01-26 08:14:34 +00:00
Andreas Fabri dc2f37a4ae disable/enable warnings 2018-01-24 08:59:20 +00:00
Andreas Fabri 18acb2ece9 Arrangements 2018-01-18 15:05:34 +00:00
Andreas Fabri 0625e73722 Replace CGAL::Open_hash by boost::unordered_set 2018-01-04 16:47:41 +01:00
Efi Fogel 72b7377d29 Fixed boundary tags 2017-12-31 19:03:33 +02:00
Efi Fogel 75a733f1a6 Handled the cases where an intersection point lies on the boundary 2017-12-31 19:02:23 +02:00
Efi Fogel 60e23aa1b9 Fixed boundary tags 2017-12-31 19:00:38 +02:00
Efi Fogel e30a595cd5 Fixed boundary tags 2017-12-31 18:57:47 +02:00
Efi Fogel 7271605d41 Fixed boundary tags 2017-12-31 18:55:50 +02:00
Efi Fogel fd834d771a Dispatched before_handle_event_imp() 2017-12-31 18:55:23 +02:00
Efi Fogel 557e948667 Introduced overloaded move_halfedge_indices(), and dispatched it 2017-12-31 18:54:26 +02:00
Efi Fogel 32aa9d5016 Fixed boundary tags 2017-12-31 18:51:42 +02:00
Efi Fogel 6d0d370423 Fixed boundary tags 2017-12-31 18:51:27 +02:00
Efi Fogel 30a92c4dd5 Fixed boundary tags 2017-12-31 18:45:48 +02:00
Efi Fogel 1ca6e69a5e Merge branch 'Aos_2-boundary_objects-efic-old' into Aos_2-boundary_objects-efic 2017-12-25 16:15:07 +02:00
Sebastien Loriot 6bbfed5352
Merge pull request #2236 from efifogel/Aos_2-surface_sweep-efif
Aos 2 surface sweep
2017-12-22 22:32:15 +01:00
Sebastien Loriot 03d36bb86d
Merge pull request #2671 from efifogel/Aos_2-mon_symetric_observer-efif
Aos_2: non symetrical observer
2017-12-22 22:14:43 +01:00
Laurent Rineau 08bc15141e
Merge branch 'master' into Aos_2-surface_sweep-efif 2017-12-19 17:20:28 +01:00
Laurent Rineau f2391a30a5 Merge pull request #2562 from afabri/Filtered_kernel-Do_intersect_2-GF
Add Static Filters for the Exact Construction Kernel
2017-12-19 16:29:53 +01:00
Efi Fogel e565f69e69 Saved end vertices of halfedge before removing the halfedge, so that they can be used later (after the halfedge is removed) 2017-12-19 14:57:47 +02:00