Marc Glisse
e7357ac003
Merge remote-tracking branch 'cgal/master' into mt-glisse
...
several PRs in Filtered_kernel conflicted with this :-(
2021-07-19 14:53:27 +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
Laurent Rineau
bc8dced954
Merge pull request #5771 from GilesBathgate/STL_ext-performance_object_assign-GilesBathgate
...
Simplify assign in Object.h
2021-06-17 09:27:23 +02:00
Laurent Rineau
00b8a234a3
Merge pull request #5731 from sloriot/handle_hash_null
...
Hash value of handles use directly the address of the node
2021-06-16 15:08:41 +02:00
Giles Bathgate
b575892a16
Simplify assign in Object.h
2021-06-08 18:21:46 +01:00
Sébastien Loriot
18ca811f7f
hash value of handles use directly the address of the node
2021-05-27 12:36:17 +02:00
Laurent Rineau
8fa0f55ac7
Merge branch 'master' into mt-glisse
2021-05-27 10:27:38 +02:00
Maxime Gimeno
747add59d6
Add a test for result_of.
2021-05-25 13:47:18 +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
2c4a5db3ce
Merge pull request #5631 from GilesBathgate/STL_ext-fix_uncaught_exceptions_cleanup-GilesBathgate
...
Fix uncaught exceptions cleanup
2021-05-18 18:14:14 +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
Laurent Rineau
bd98013623
Merge pull request #5665 from GilesBathgate/Polyhedron_3_TDS_3-compare_handle_nullptr-GilesBathgate
...
Polyhedron_3 and TDS_3 compare handle nullptr
2021-05-18 18:13:57 +02:00
Laurent Rineau
d6b2c8d9dc
Merge pull request #5671 from maxGimeno/CGAL_IO-Add_missing-deprecated_functions-maxGimeno
...
CGAL_IO: Add missing fallbacks
# Conflicts:
# BGL/include/CGAL/boost/graph/IO/INP.h
# Point_set_processing_3/include/CGAL/IO/write_xyz_points.h
2021-05-18 18:13:38 +02:00
Maxime Gimeno
393ae7dae6
Clean-up boost_version reqs
2021-05-12 15:03:53 +02:00
Maxime Gimeno
9028027131
Restore result_of.h and deprecate it
2021-05-07 12:54:40 +02:00
Maxime Gimeno
9533a9fea8
remove CGAL/result_of.h and move its content to config.h
2021-05-07 12:51:07 +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
Sébastien Loriot
4e519a3c7a
move documented IO functions in IO namespace
2021-05-05 13:15:37 +02:00
Giles Bathgate
b42bbded9b
Add null comparison operators to vector_iterator
2021-05-05 06:46:57 +01:00
Giles Bathgate
5ecd85248a
Fix capitalisation of macro name.
2021-04-28 21:03:45 +01:00
Giles Bathgate
33ea1f7c3b
Add destructor assertion catch to Multiset
2021-04-28 21:03:03 +01:00
Giles Bathgate
254f1bf6b9
Add conditional noexcept to Handle/Handle_for
2021-04-28 21:03:03 +01:00
Giles Bathgate
0ef8127c71
The CGAL_NOEXCEPT macro is no longer needed
2021-04-28 21:03:00 +01:00
Giles Bathgate
0dcadee486
Fix dereference after null in Polyhedron_incremental_builder_3.h
2021-04-28 17:54:19 +01:00
Laurent Rineau
7ba37d8967
Merge pull request #5408 from sgiraudot/Arrangement-Compact_container_based_DCEL-GF
...
Arrangement: Use Compact Container for DCEL
2021-04-28 15:24:21 +02:00
Sébastien Loriot
6672cd0014
use std::shared_ptr for CGAL::Object
2021-04-28 10:45:36 +02:00
Sebastien Loriot
5b253ad2fc
Merge pull request #4099 from sloriot/CGAL-epeck_pts_cmp
...
Speed up comparison of points
2021-04-21 15:24:11 +02:00
Sebastien Loriot
076cb5fa13
Merge pull request #5573 from maxGimeno/Demo-Fixes-maxGimeno
...
Polyhedron Demo: Trivial Warning
2021-04-17 10:53:46 +02:00
Sébastien Loriot
68dc09b3d9
optimize filter failures
...
cmp_epeck_points.cpp runtime goes from 23s. to 5s.
based on mglisse suggestion
2021-04-10 07:12:25 +02:00
Laurent Rineau
1b54449dc5
Merge pull request #4878 from danston/Kernels-decltypes-danston
...
Improve decltype/result_of/invoke_result
2021-04-06 15:13:21 +02:00
Maxime Gimeno
8f7e12ebdc
Fix another similar warning
2021-04-06 13:17:37 +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
Laurent Rineau
d6e9bdd0c1
Merge pull request #5269 from GilesBathgate/move-assignment-operators
...
Move assignment operators
2021-03-24 15:05:39 +01:00
Simon Giraudot
3448035fc6
Fix CC_iterator by making constructor from pointer explicit
2021-03-24 08:25:29 +01:00
Dmitry Anisimov
00c185b028
Merge branch 'master' into Kernels-decltypes-danston
2021-03-12 12:06:20 +01:00
Laurent Rineau
b2ed4e5f7e
Merge pull request #5423 from afabri/PMP-corefine_OM-GF
...
PMP:: Use operator< instead of operator> as OM only implements the former
Conflicts:
Polygon_mesh_processing/examples/Polygon_mesh_processing/corefinement_consecutive_bool_op.cpp
Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/intersection_impl.h
2021-03-10 11:33:30 +01:00
Andreas Fabri
fa44e3c543
Add missing const
2021-03-05 08:18:45 +00:00
Laurent Rineau
3ab3b10d47
Merge pull request #5247 from MaelRL/SDG-Fix_doc-GF
...
Doc improvements for TDS-related classes
2021-03-03 17:38:18 +01:00
Laurent Rineau
8c3f5ccb93
Merge pull request #5496 from afabri/BGL_fix_hash_openmesh_edge-GF
...
Provide specialization of hash for the edge_descriptor we provide for OpenMesh
2021-03-03 17:21:25 +01:00
Andreas Fabri
3a9ffc89cf
Reorganize #ifdef as the edge_descriptor is not the one from OpenMesh
2021-02-26 16:33:13 +00: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
Marc Glisse
220d26da98
Merge remote-tracking branch 'cgal/master' into mt-glisse
2021-02-18 22:10:12 +01:00
Laurent Rineau
8fc88a9463
Merge pull request #5409 from lrineau/Triangulation_3-fix__move__semantic__of__Triangulation_hierarchy_3-GF
...
Fix the move-semantic of Triangulation_hierarchy_3
2021-02-18 15:19:11 +01:00
Marc Glisse
52b07799b4
Bug fixing
2021-02-17 00:25:16 +01:00
Marc Glisse
612037fb12
Missed one occurence in a search&replace
2021-02-16 21:16:59 +01:00
Laurent Rineau
160118e7e9
Fix a warning from MSVC 2015
...
include\CGAL/array.h(67): warning C4814:
'CGAL::Construct_array::operator ()': in C++14 'constexpr' will
not imply 'const'; consider explicitly specifying 'const'
It cannot harm.
2021-02-11 14:36:26 +01:00
Dmitry Anisimov
81d9556707
Merge remote-tracking branch 'upstream/master' into Kernels-decltypes-danston
2021-02-10 10:06:45 +01:00
Dmitry Anisimov
af3f6dd07f
fixed warnings with Intersect_3 and result_of
2021-02-09 17:30:06 +01:00
Laurent Rineau
519870c4cb
Add support for MSVC 2015
...
MSVC 2015 has a partial support for C++14, and in particular for C++14
`constexpr` functions. Since Boost-1.57 (that is the minimal
requirement for CGAL since version 5.0), `<boost/config.hpp>` has a
macro `BOOST_CXX14_CONSTEXPR` that can be either `constexpr` for
fully-C++14 compilers, or empty for non-compliant compilers.
2021-02-09 15:38:08 +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
Laurent Rineau
9799879eef
Modernize a bit <CGAL/array.h> assuming C++14
2021-02-03 21:51:00 +01:00
Laurent Rineau
8dbf50a94b
Create CGAL::make_filled_array
...
That function template will replace my adhoc
`create_array_of_triangulation`.
2021-02-03 21:50:10 +01:00
Sébastien Loriot
5da7e84bab
decltype(auto) -> auto
2021-02-02 10:58:31 +01:00
Sébastien Loriot
e49fd1e732
deref it once
2021-01-29 18:04:19 +01:00
Andreas Fabri
0cb34126af
Remove typedefs
2021-01-29 12:35:16 +00:00
Andreas Fabri
55e23ae840
Remove types from Binary_compose_2 (which is not documented
2021-01-29 10:37:41 +00: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
Giles Bathgate
2ceedcfe81
Fix segmentation fault in destructor of Handle_for_virtual.h
2021-01-14 14:56:04 +00:00
Marc Glisse
9f0f7eb033
is_currently_single_threaded
2021-01-11 19:40:13 +01:00
Marc Glisse
a513a4802a
comment about __libc_single_threaded
2021-01-10 23:50:41 +01:00
Maxime Gimeno
3d1c41fd14
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2021-01-07 15:05:28 +01:00
Laurent Rineau
85325d789f
Merge pull request #5090 from afabri/FastEnvelope-GF
...
Polygon Mesh Processing: Add envelope test
2021-01-06 16:11:56 +01:00
Laurent Rineau
bbf4a54a9f
Merge pull request #5104 from gdamiand/CMap-other_containers-gdamiand
...
Allow to use compact container or concurrent compact container for CMap, GMap and LCC
2021-01-06 16:11:54 +01:00
Sébastien Loriot
ea0386c333
replace last bind
2021-01-06 12:59:12 +01:00
Giles Bathgate
9aea175746
Add a move constructor to Handle.h
2020-12-13 13:52:52 +00:00
Giles Bathgate
d29baab363
Add a move assignment operator to Handle.h
2020-12-13 13:50:19 +00:00
Mael Rouxel-Labbé
6b87fe393d
Fix various grammar issues
2020-12-05 11:11:33 +01:00
Giles Bathgate
5a36ff89b5
Drop NDEBUG it is already visible through CGAL_NO_ASSERTIONS
2020-12-04 19:42:21 +00:00
Giles Bathgate
e7aebc424e
Fix uncaught exception in In_place_list.h
2020-11-29 14:42:55 +00:00
Giles Bathgate
48831abece
Fix uncaught exception in Handle_for.h
2020-11-29 14:42:55 +00:00
Giles Bathgate
78bbe15325
Add a destructor assertion catch macro
2020-11-28 14:17:59 +00:00
Maxime Gimeno
3b70343590
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-11-16 16:19:43 +01:00
Marc Glisse
6338f89ae4
conditional code for TSAN
2020-11-13 19:39:24 +01:00
Marc Glisse
bf0a42d740
lock-like protection for update_exact
...
The exact choice of memory_order_* is hard, and even for versions that
seem to work on x86_64 TSAN complains like crazy.
TODO: a version that, instead of blocking if another thread is updating,
also does the computation, with suitable protection to ensure that
pruning the tree cannot happen while anyone is computing on it.
TODO: try having AT in Lazy instead of Lazy_rep (i.e. not shared) to
avoid the indirection. We can possibly choose one or the other depending
on the type.
2020-11-13 19:39:24 +01:00
Marc Glisse
0bd0e7e47d
atomic count in Handle
2020-11-13 19:39:24 +01:00
Marc Glisse
29c9fd3f02
Refactor ++ and -- in Handle
2020-11-13 19:39:24 +01:00
Marc Glisse
3edf7a836d
atomic count in Handle_for
2020-11-13 19:39:24 +01:00
Marc Glisse
695fe37394
Constructor for Rep
2020-11-13 19:39:24 +01:00
Marc Glisse
511103e14c
Use a constructor for RefCounted
2020-11-13 19:39:24 +01:00
Andreas Fabri
f246c4abf8
merge
2020-11-13 16:26:57 +00:00
Laurent Rineau
d0dd5a93bf
Merge pull request #4639 from janetournois/Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF
...
Small feature - Triangulation Segment Cell/Simplex Iterator
2020-11-10 08:45:38 +01:00
Laurent Rineau
21c48c50dd
Merge pull request #4899 from sgiraudot/STL_Extension-Multiset_with_CC_allocation-GF
...
Surface Sweep: Enhance memory allocation with Compact Container
2020-11-04 20:46:18 +01:00
Guillaume Damiand
086a09991f
Add index method in concurrent compact container (to have same API for CC and CCC)
2020-10-22 10:29:57 +02:00
Simon Giraudot
6b991a95ad
Update code with changes in Compact container
2020-10-22 09:45:31 +02:00
Simon Giraudot
739a8b66e8
Use named constructor to resolve ambiguity
2020-10-22 08:59:49 +02:00
Simon Giraudot
781f367580
Add option to use CC for allocation in multiset
2020-10-22 08:59:48 +02:00
Simon Giraudot
b31b6ba980
Construct iterator from pointer
2020-10-22 08:59:47 +02:00
Simon Giraudot
2c490b7ec7
Merge remote-tracking branch 'mine/Surface_sweep_2-Small_unordered_set-GF' into Surface_sweep_2-Small_unordered_set-GF
2020-10-20 15:17:24 +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
Sébastien Loriot
87b8f66e14
update from master
2020-10-20 09:19:13 +02:00
Andreas Fabri
b101674749
Make the intersection point static; Move the normal construction higher up
2020-10-20 09:17:15 +02:00
Jane Tournois
2bf4da4edc
Merge branch 'master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF
...
# Conflicts:
# Installation/CHANGES.md
2020-10-19 16:27:04 +02:00
Mael Rouxel-Labbé
f55ef7dd50
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-10-09 18:36:17 +02:00
Sebastien Loriot
7652091b9c
Merge pull request #4931 from sloriot/CGAL-cosmetic_cleanup
...
Cosmetic cleaning
2020-10-02 15:15:31 +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
Simon Giraudot
ff845cc7ca
Fix single
2020-08-25 13:48:48 +02:00
Simon Giraudot
2992fcc508
Add CGAL::Single to create range of one isolated element
2020-08-25 12:50:30 +02:00