Commit Graph

3883 Commits

Author SHA1 Message Date
Laurent Rineau 258d704a90 Merge pull request #6209 from sloriot/PMP-std_instead_of_boost
Use features available in std instead of boost
2022-02-24 19:57:17 +01:00
Laurent Rineau fa3527c54f Merge pull request #6183 from efifogel/Aos_2-construct_curve_2-efif
Aos 2 construct curve 2 efif
2022-02-08 23:44:41 +01:00
Sébastien Loriot 4ffc949199 replace boost::unordered by std::unordered
but in T3, Mesh_3, TDS_3, P3[TM]3
2022-02-03 19:11:12 +01:00
Laurent Rineau f9c05a0ba1 Merge pull request #6253 from afabri/P2T2-assert-GF
CGAL:   In testcode do not use CGAL_assertion  but assert
2022-02-02 16:38:22 +01:00
Efi Fogel 295e9b971e Commented out unused variables 2022-02-02 15:44:48 +02:00
Andreas Fabri 25d2b98903 TAU packages 2022-01-26 16:49:38 +00:00
Andreas Fabri 0ce35e88ff TAU packages 2022-01-26 16:45:19 +00:00
Andreas Fabri fef62b8624 Deal with Arrangement 2022-01-19 07:28:25 +00:00
Sébastien Loriot c169c41240 Merge remote-tracking branch 'maxGimeno/PMP-Example_of_new_mp_function-maxGimeno' into HEAD 2022-01-12 13:33:49 +01:00
Efi Fogel 5b9eb5caae Fixed caption of the vertical-decomposition figure. 2022-01-11 11:59:27 +02:00
Efi Fogel 774e353c46 Should be Geometry_traits_2 and not Traits; used auto instead. 2022-01-11 11:32:50 +02:00
Efi Fogel 02be367c32 Merge branch 'master' into Aos_2-construct_curve_2-efif 2022-01-09 17:03:58 +02:00
Sébastien Loriot 6d3176e061 move Named_parameters class in STL_extension
helpers stay in BGL because it depends on BGL tags
2022-01-07 15:12:22 +01:00
Efi Fogel 1081a67647 Fixed typeos ('!=' instead of '|=') 2022-01-05 19:42:15 +02:00
Efi Fogel fe06974730 Added missing 'const' 2022-01-04 16:17:34 +02:00
Laurent Rineau 973187d353 Merge pull request #6206 from sloriot/demo-boost_spirit_deprecated_headers
include non-deprecated headers
2022-01-03 16:22:37 +01:00
Sébastien Loriot ef1563b8fc include non-deprecated header 2021-12-27 11:15:07 +01:00
Efi Fogel 1d91eb1f88 Introduced the concep ArrTraits::ConstructCurve_2 (required by `ArraangementConstructCurveTraits_2 concept) 2021-12-16 17:51:37 +02:00
Efi Fogel 2200314849 Introduced the concep ArrangementConstructCurveTraits_2 used by polyline constructions 2021-12-16 17:45:42 +02:00
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
Laurent Rineau 3e877fa124 Merge pull request #6109 from afabri/CGAL-VC_max_warning-GF
PMP: Fix Warnings in Master
2021-11-18 12:27:21 +01:00
Sébastien Loriot bd4b6e6716 restore the include file
there is a subtility I'm missing with argt testsuite
if not included, then flags define in the script
cgal_test_with_cmake are not passed to CXX_FLAGS
2021-11-11 15:01:06 +01:00
Sébastien Loriot 6c8bedde0a add missing link to Core 2021-11-10 11:57:41 +01:00
Sébastien Loriot 50a47b2910 add missing target link 2021-11-10 10:21:34 +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 ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 58181afcdb remove useless include directives 2021-11-09 10:16:12 +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
Sébastien Loriot 90bc05e715 Merge pull request #6047 from MaelRL/PM-Fix_pmaps_reference_types_5.3-GF
Various fixes for property maps (5.3)
2021-10-29 17:39:22 +02:00
Laurent Rineau 101b794108 Merge pull request #6036 from sloriot/AOS_2-uncomment_models
No longer comment classes now documented
2021-10-29 17:00:04 +02:00
Laurent Rineau dc2654078a Merge pull request #6048 from sloriot/Argt-null_rad
Avoid creating a circle with 0 radius
2021-10-29 16:50:14 +02:00
Laurent Rineau 544f94101c Merge pull request #6048 from sloriot/Argt-null_rad
Avoid creating a circle with 0 radius
2021-10-29 16:46:45 +02:00
Sébastien Loriot fb46a94682 avoid creating a circle with 0 radius 2021-10-12 10:15:01 +02:00
Mael Rouxel-Labbé 131242bb80 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Mael Rouxel-Labbé 590ddf8015 Various fixes for pmaps:
- Use `value_type` when the returned type is not a reference
- Enforce `reference = value_type` if the returned type is not
  a reference (to avoid `typename PM::reference r = get(m, k)`,
  which will take a ref to a temporary if the `reference`
  typedef is an actualy reference)
- Do not use `put_get_helper` if the property map is not a `lvalue`
  **mutable** property map: the `put()` is `map[k] = v`, which
  is broken if `operator[]` does not return a reference
- The concept `boost::lvalue_property_map_tag` requires `operator[](key)`,
  not a reference in `get(map, key)`. You can have a readable property map
  returning a reference through its `get(map, key)`, but if there is
  no `operator[]`, it's just a `boost::readable_property_map_tag`
- Some const correctness to avoid copying maps with state
  or heavy keys in `get(map, key)` / `put(map, key, value)`
- Base the category of a wrapping pmap on what it offers instead
  of just forwarding the base property map's category
- Tried to do something like mutable lvalue pmap:
  * `value_type& operator[](key&)`
  * `ref get(map, const key&)`
  * `put(map, const key&, const value_type&)`
  and non-mutable lvalue pmap:
  * `const value_type& operator[](const key&)`
  * `ref get(map, const key&)`
  but not everything fits properly...
2021-10-08 15:38:47 +02:00
Mael Rouxel-Labbé df560987a6 Whitespace & cleaning changes 2021-10-08 12:13:43 +02:00
Sébastien Loriot c071a274dd no longer comment classes now documented 2021-10-08 11:08:58 +02:00
Laurent Rineau f581ff74d3 Merge pull request #5427 from sloriot/CGAL_data-moving_files
Regroup data: moving files

# Conflicts:
#	Nef_3/archive/triangulation/include/CGAL/partition_is_valid_2.h
2021-10-07 14:44:01 +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
Sébastien Loriot 1857a25d28 Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +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
Sébastien Loriot 250b8e9161 remove ./ prefix 2021-10-04 09:32:04 +02:00