Commit Graph

2134 Commits

Author SHA1 Message Date
Mael 153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2023-01-27 22:09:02 +01:00
Laurent Rineau 5f8930db8c Merge branch '5.5.x-branch'
# Conflicts:
#	Convex_hull_2/test/Convex_hull_2/ch_test_CH.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SC.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SH.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SS.cpp
#	Straight_skeleton_2/include/CGAL/constructions/Straight_skeleton_cons_ftC2.h
#	Straight_skeleton_2/include/CGAL/predicates/Straight_skeleton_pred_ftC2.h
2023-01-27 21:16:14 +01:00
Sven Oesau f741e3516d addition of Kinetic_shape_partitioning_Traits_3
separation of Kinetic_shape_reconstruction_3 into Kinetic_shape_partitioning_3 and Kinetic_shape_reconstruction_3 (WIP)
adding Linear_cell_complex to dependencies
renaming a few parameters in KSR::Parameters_3
removal and renaming of named parameters

one pass on the documentation
2023-01-27 19:21:15 +01:00
Jane Tournois 293f851f46 rename NP detect_features to features_detector 2023-01-24 12:18:17 +01:00
Sébastien Loriot 69c21bccc3 Merge 'master' 2023-01-24 11:29:48 +01:00
Sven Oesau 4b87b331e7 Merge remote-tracking branch 'master/master' into Kinetic_shape_reconstruction-new_package-soesau 2023-01-18 14:44:02 +01:00
Mael Rouxel-Labbé 92413a6f79 Clarify resize(array) to be specific to arrays (it also matched maps and sets) 2023-01-16 14:30:04 +01:00
Giles Bathgate 22b069720a Replace use of lexical_cast<std::string> with std::to_string
use std::prev in Plane_3_Triangle_3_intersection.h do to lack of
implicit header include.
2023-01-15 17:23:04 +00:00
Mael Rouxel-Labbé 4ee5f28c54 Refactor Isosurfacing_3 2023-01-14 00:00:54 +01:00
Jane Tournois 46617ad48f add input_features named parameter
this way the user can
* detect features (on bbox and inside image),
AND
* provide his own features

WARNING : features MUST NOT overlap, or feature protection will endlessly loop
2023-01-13 16:13:52 +01:00
Mael 4d22c90474
Merge branch 'master' into feature/bug_documentation_spell_20221113 2023-01-04 10:06:45 +01:00
hoskillua f6855fef22 single vertex computation
implemented single vertex curvature computation
compared against the whole mesh computation on both cases of no radius and with radius on some vertices
still need to add tests, documentation and an example file
2023-01-03 12:13:26 +02:00
Sébastien Loriot 2e0bc5ec99 Revert "Prevent_deref shall not return a reference to the iterator as it can be copied"
it seems to have dramatic consequences on the runtime when using Polyhedron in test_pmp_clip
for example.

This reverts commit 7c4123152b.
2022-12-22 17:25:58 +01:00
Sébastien Loriot f372bbe7c2 make smooth an option that is OFF by default 2022-12-19 14:35:16 +01:00
Laurent Rineau 20c67be903 Merge pull request #7115 from MaelRL/T3-test_cleaning-GF
(Partial) Cleaning of Triangulation_3 tests

# Conflicts:
#	Kernel_23/include/CGAL/Kernel/interface_macros.h
2022-12-13 15:24:38 +01:00
Andreas Fabri 39ebebdb5b merge master 2022-12-08 16:49:09 +00:00
Mael 0ff7882997
Merge branch 'master' into feature/bug_documentation_spell_20221113 2022-12-06 22:21:06 +01:00
Mael 6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2022-12-05 16:03:41 +01:00
Jane Tournois 07fb42117c add named parameters and doc 2022-12-05 15:56:56 +01:00
Laurent Rineau e8ec440859 Merge branch 'master' into Kernel-Compare_distance_3_RT_FT__always_Filtered_predicate_RT_FT-GF
# Conflicts:
#	STL_Extension/doc/STL_Extension/CGAL/Concurrent_compact_container.h
2022-12-05 14:51:31 +01:00
Laurent Rineau 67b5c791e9 Merge pull request #7075 from MaelRL/CGAL-Fix_some_links-GF
Update some links + https
2022-12-05 12:22:06 +01:00
Laurent Rineau 5443a005bd Repair the binary I/O of CDT_3 2022-12-05 09:56:14 +01:00
Mael da0b13699c
Merge branch 'master' into Kernel-Compare_distance_3_RT_FT__always_Filtered_predicate_RT_FT-GF 2022-12-02 23:19:29 +01:00
Andreas Fabri 8ddf7848a0 forward call instead of duplicated code 2022-11-30 10:03:45 +00:00
Andreas Fabri 699454ae84 STL Extensions: Correct spelling 2022-11-29 13:22:00 +00:00
Andreas Fabri 7babddf443 PMP: Replace parameter with named parameter 2022-11-29 12:45:47 +00:00
Laurent Rineau 5c943e558c Merge pull request #6935 from lrineau/CGAL-fix_autotest_with_ctest-GF
Fix autotest_cgal_with_ctest
2022-11-25 10:15:07 +01:00
Laurent Rineau 6cff086454 Merge pull request #7067 from sloriot/PMP-clean_up_pmp_bo_params
Remove no longer needed function
2022-11-25 10:14:59 +01:00
Laurent Rineau b363b7e4af Merge pull request #6935 from lrineau/CGAL-fix_autotest_with_ctest-GF
Fix autotest_cgal_with_ctest
2022-11-25 10:14:18 +01:00
Sébastien Loriot c5207cb5ad Merge remote-tracking branch 'cgal/master' into HEAD 2022-11-24 09:54:56 +01:00
Mael Rouxel-Labbé b5c21e1f5d Http -> https + update some dead links 2022-11-23 18:54:37 +01:00
Sébastien Loriot fd00ce2d02 seems that the no_parameter function is no longer needed 2022-11-21 16:02:04 +01:00
Sébastien Loriot 7322c7908d try to workaround warnings 2022-11-21 14:09:08 +01:00
hoskillua e302b02f76 Docs: adding bibtex, ack of DGtal, Authors + Renaming vars + minor fix
+ removing last commit's approach
2022-11-19 11:02:26 +02:00
Sébastien Loriot 4d797b55c4 try working around a warning 2022-11-17 19:03:30 +01:00
albert-github eed54a0ae5 spelling corrections
Some spelling corrections (Directories starting with `O`-`S` , first part),
some backward work
some forward work
2022-11-15 18:45:39 +01:00
albert-github 3674c937f7 spelling corrections
Some spelling corrections (Directories starting with `M`-` N`),
some backward work
some forward work
2022-11-15 15:21:01 +01:00
Laurent Rineau ac44c7138d Merge remote-tracking branch 'cgal/master' into Triangulation_3-CDT_3-lrineau 2022-11-14 10:26:41 +01:00
albert-github 2bcc9ad8c5 Link corrections
- Correcting some permanent redirects
- corrected link for to `max_element`, link was incorrect
2022-11-13 13:19:22 +01:00
Laurent Rineau 2e90313b07 In cpp20 namespace: CGAL::cpp20::remove_cvref 2022-11-09 10:50:01 +01:00
hoskillua 866287a98e minor naming conventions fixes 2022-11-08 20:13:04 +02:00
Jane Tournois 4ebbe922bd Merge remote-tracking branch 'cgal/master' into Mesh_3-triple_line_extraction-GF
# Conflicts:
#	BGL/include/CGAL/boost/parameter.h
#	Installation/CHANGES.md
#	Mesh_3/doc/Mesh_3/CGAL/Labeled_mesh_domain_3.h
#	Mesh_3/include/CGAL/Labeled_mesh_domain_3.h

+ fix compilation
+ prepare for using detect_features
2022-11-08 16:17:33 +01:00
Laurent Rineau 92d8d1c805 Merge remote-tracking branch 'cgal/master' into CGAL-allow_Epick_with_float-GF
# Conflicts:
#	Mesh_3/test/Mesh_3/test_meshing_3D_image.cpp
2022-11-08 12:11:06 +01:00
Laurent Rineau 8c9281f440 Merge pull request #6642 from sloriot/gsoc2022-boost_np
Replace usage of Boost parameters with CGAL named function parameters
2022-11-07 10:08:38 +01:00
Laurent Rineau 8e8153c0ac Merge pull request #6871 from afabri/CGAL_assertions-GF
CGAL: No longer per package assertions
2022-11-03 09:44:48 +01:00
Laurent Rineau 2e971f75cc Merge pull request #6955 from afabri/STL_extension-doc_improvements-GF
STL_extension: Doc Improvements
2022-11-03 09:44:43 +01:00
Sébastien Loriot a9162809c4 fields should be taken by const ref 2022-10-31 10:18:39 +01:00
Laurent Rineau d24b180293 Merge branch 'master' into gsoc2022-boost_np 2022-10-28 15:39:36 +02:00
Laurent Rineau 51a1179d3b Add c++20 std::remove_cvref, for convenience
@mglisse Next time you need it... it is now here.
2022-10-28 12:07:58 +02:00
Sébastien Loriot 0cac6a9da8 Merge remote-tracking branch 'sloriot/PMP-decimation' into PMP-decimation 2022-10-25 14:55:57 +02:00
Sébastien Loriot 7c4123152b Prevent_deref shall not return a reference to the iterator as it can be copied
iterator being taken by copy usually, if a function takes a
an iterator by copy and that function returns the reference
type of the deref operator then a reference to a temporary
will be returned.
2022-10-24 17:58:52 +02:00
Sébastien Loriot 9179a2d41b fix conversion warning 2022-10-24 09:17:40 +02:00
Sébastien Loriot 2285a79148 fix warning 2022-10-21 09:31:03 +02:00
Sébastien Loriot 4ca779d991 fix warning 2022-10-20 11:22:40 +02:00
Sébastien Loriot 645e33aa56 fix warnings 2022-10-19 17:00:03 +02:00
Sébastien Loriot 40c1fdc03d use MSVC overload for everybody
clang master also have issue with the generic variadic versions
2022-10-18 06:05:13 +02:00
Andreas Fabri c04dceb71d Merge master 2022-10-14 14:40:58 +01:00
Andreas Fabri 469a0362b5 Take Laurent's review into account 2022-10-14 11:34:34 +01:00
Laurent Rineau b232f4bcfd Merge pull request #6942 from sloriot/CGAL-header_clean_up
Clean up in headers
2022-10-13 15:17:39 +02:00
Mael Rouxel-Labbé 2c23a6d5c5 Revert back to wrapping result_type to distinguish FT-necessary operator()s 2022-10-12 21:24:59 +02:00
Sébastien Loriot 56eb3c59e1 apply suggestions from review 2022-10-11 14:50:50 +02:00
Laurent Rineau 4f758f846d Remove two more mentions of CGAL::copy_n 2022-10-11 11:36:42 +02:00
Laurent Rineau 16ed309a29 Fix the list of documented algorithms 2022-10-11 11:30:44 +02:00
Andreas Fabri db44e2853c Polish in CGAL/algorithm.h 2022-10-11 09:31:57 +01:00
Laurent Rineau b51fb86202 Merge pull request #6910 from albert-github/feature/bug_STL_Extension_increasingly
STL_Extension: wrong formulation of precondition
2022-10-07 15:46:49 +02:00
Laurent Rineau df3d74ead3 Merge pull request #6922 from albert-github/feature/bug_STL_Extension_example
STL_Extension: example not shown properly
2022-10-07 15:46:37 +02:00
Andreas Fabri def163afc2
Update STL_Extension/include/CGAL/assertions.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-10-07 14:25:18 +02:00
Andreas Fabri fa3f8a5872 Do the test if we want to assert at runtime only when CGAL_ENABLE_DISABLE_ASSERTIONS_AT_RUNTIME is defined 2022-10-07 11:21:02 +01:00
Sébastien Loriot f3d0d76f6b add or move include guards 2022-10-06 15:35:41 +02:00
Sébastien Loriot c0ff903d21 fix default values 2022-10-05 21:41:20 +02:00
Sebastien Loriot a61e6bc346 Apply review from Jane
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2022-10-04 18:56:34 +02:00
Andreas Fabri 9b357c6aff Reintroduce the runtime switch to enable/disable assrtions 2022-10-04 10:35:05 +01:00
Sébastien Loriot 042d5b5a9a add migration notes 2022-10-03 18:35:24 +02:00
Sebastien Loriot 69516da282
no need for return doc 2022-10-03 09:45:22 +02:00
albert-github ad343087fd STL_Extension: example not shown properly
On the page `STL_Extension/classCGAL_1_1Dispatch__or__drop__output__iterator.html` it is obvious that the `\` is missing.
To get the reference right (due to the `\ref` in the `cgalExample`) the file must also be added to the list of examples
2022-10-02 11:48:06 +02:00
Sébastien Loriot fc4c86a491 try to work around MSVC 2015 bugs... 2022-09-30 15:54:30 +02:00
albert-github 39c752dfd1
Update STL_Extension/include/CGAL/In_place_list.h
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-09-29 10:32:10 +02:00
albert-github fea5528a5c STL_Extension: worng formulation of precondition
In  STL_Extension/classCGAL_1_1In__place__list.html we see the line:
```
Both lists are increasingly sorted. A suitable operator< for the type T
```
the word `increasingly` means `more and more`, though most likely `in increasing order` is meant here
2022-09-28 18:59:31 +02:00
Andreas Fabri f411e0902c
STL_extension: doc improvements
Add `()` to functions.   Backtick.
2022-09-27 10:57:18 +02:00
Andreas Fabri 130ab04b09 Generator: Fix links 2022-09-27 09:48:58 +01:00
Sébastien Loriot 54a6462273 move code so that we can reinject mesh_3 parameters functions into NFP class 2022-09-26 20:09:58 +02:00
Andreas Fabri d3fca65ae5 CGAL: No longer per package assertions 2022-09-23 12:49:40 +01:00
Mael Rouxel-Labbé 214e072959 Switch from RT_sufficient to FT_necessary 2022-09-22 12:02:53 +02:00
Sébastien Loriot 6b07cbdadd clean up Mesh_3 internal parameters 2022-09-21 15:45:14 +02:00
Sébastien Loriot c879db0bcd add a way to disambiguate template overloads for named parameters 2022-09-19 06:29:15 +02:00
Sébastien Loriot 0e62685f39 force images to be taken by reference 2022-09-16 14:36:06 +02:00
Mael Rouxel-Labbé 6f187f332c Misc minor fixes/improvements 2022-09-14 14:08:23 +02:00
Laurent Rineau 4b660d9ec9 Another proposal for Filtered_predicate_RT_FT
Instead of having the return type wrapped in a `Needs_FT` tag,
not the call operator overloads that can be called with `RT` are
"tagged" by adding a last argument of type `RT_sufficient` with a
default value.
2022-09-07 11:10:13 +02:00
Mael Rouxel-Labbé 9b265fddf8 Uniformize REQUIRED / QUIET usage:
Following this:
- CGAL: always REQUIRED
- CGAL component: COMPONENT / OPTIONAL_COMPONENT (never QUIET)
- required 3rd party: (not QUIET) + message(NOTICE "") on NOT_FOUND
- optional 3rd party: QUIET + message(STATUS "") except for Polyhedron/demo
- 3rd party components: COMPONENT / OPTIONAL_COMPONENT
                        (QUIET depending on required or optional 3rd party)
2022-09-06 16:24:27 +02:00
Mael Rouxel-Labbé 4fc486b195 Purge CMakeLists.txts from obsolete code / noise 2022-09-06 16:19:11 +02:00
Mael Rouxel-Labbé 7cb21c24b0 Uniformize message() for missing 3rd party libraries
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
Mael Rouxel-Labbé 28ba446895 Clean (some) CMakeLists.txt indentation 2022-09-06 15:38:18 +02:00
Laurent Rineau b114789abf Fix spelling 2022-09-06 13:56:31 +02:00
Sven Oesau 80eb8601e6
Merge branch 'CGAL:master' into Region_growing-revision-soesau 2022-09-02 16:42:41 +02:00
Laurent Rineau 2923eff641 Fix a warning `-Wnull-pointer-subtraction`
https://clang.llvm.org/docs/DiagnosticsReference.html#wnull-pointer-subtraction
2022-09-02 11:33:07 +02:00
Laurent Rineau 7c92341be7 Introduce CGAL_Kernel_pred_RT_or_FT
This commit introduces a new kind of predicate in
`<CGAL/Kernel/interface_macros.h>`. In addition to
  - `CGAL_kernel_pred` for predicates,
  - `CGAL_Kernel_pred_RT` for predicates that can be implemented using a
    ring-type,

now there is also:
  - `CGAL_Kernel_pred_RT_or_FT` for predicates with multiple overloads of
    `operator()`, some needing a field type and other needing a ring type
    (without the division operator).

The C++ code can discriminate between the two cases with a special wrapper
for the return type: `CGAL::Needs_FT<result_type` instead of `result_type`
(defined in `<CGAL/tags.h>`.

In `<CGAL/Filtered_predicate.h>`, in addition to the usual class template
 `Filtered_predicate`, there is now also `Filtered_predicate_RT_FT` that
 takes three predicates as template parameters instead of two:
  - the exact predicate with an ring-type,
  - the exact predicate with a field-type,
  - the approximate predicate (with `Interval_nt` as number-type).

For the moment, only `Compare_distance_3` in
`<CGAL/Cartesian/function_objects.h>` is using the new
`Filtered_predicate_RT_FT`.

Before this commit, the file
`Kernel_23/test/Kernel_23/include/CGAL/_test_new_3.h` was testing
`Compare_distance_3` only with three points or for points. This commit adds:
  - a test with `Point_3, Point_3, Segment_3`, and
  - a test with `Line_3, Point_3, Point_3`, that actually needs a field type
    with its current implementation.

In the test `Kernel_23/test/Kernel_23/Filtered_cartesian.cpp`, the macro
`CGAL_NO_MPZF_DIVISION_OPERATOR` is defined, to remove the division operator
from `CGAL::Mpzf`. `CGAL::Mpzf` is a ring-type, even with its `operator/`
(because that `operator/` can only compute exact divisions), but with
`CGAL_NO_MPZF_DIVISION_OPERATOR` defined, that is now checked by the compiler.
2022-09-02 11:31:47 +02:00
Laurent Rineau 59566d3fd8 Merge pull request #6800 from sloriot/SMS-test_relax_order
SMS test relaxed order
2022-08-29 11:35:49 +02:00
GYuvanShankar 530d6e0f78 Fixed tests not running in Mesh_3 2022-08-23 14:58:15 +05:30
Sébastien Loriot d085d7b368 use macros for compatibility
internal code to be updated
2022-08-19 00:55:54 +02:00
Laurent Rineau d49ee20965
Merge pull request #6665 from sloriot/CGAL-std_type_traits 2022-08-17 13:56:54 +02:00
Sébastien Loriot ad6329c263 Merge 'cgal/master' into gsoc2022-boost_np 2022-08-16 17:52:18 +02:00
Sébastien Loriot 4143d143e0 fix assertion 2022-08-16 17:23:07 +02:00
Sébastien Loriot a1525c6367 remove duplicated parameter 2022-08-05 17:03:54 +02:00
Sébastien Loriot 313c38b050 restore np removed 2022-08-05 15:29:05 +02:00
Sébastien Loriot 861588abe1 Merge 'sloriot/CGAL-std_type_traits' into master 2022-08-03 20:19:51 +02:00
Sébastien Loriot e564f4eaa5 Merge remote-tracking branch 'cgal/master' 2022-08-02 12:05:51 +02:00
GYuvanShankar 1ee7340343 Removed np for mandatory param for certain fns 2022-07-27 20:16:47 +05:30
hoskillua 19076d38cc Merge remote-tracking branch 'upstream/master' into gsoc2022 2022-07-27 15:41:48 +02:00
Sébastien Loriot 7d656a0a25 Merge remote-tracking branch 'sloriot/gsoc2022-boost_np' into HEAD 2022-07-27 09:24:08 +02:00
hoskillua 41be3688ae Mean and Gaussian Curvatures + Visualizer (Still wip) 2022-07-26 19:32:17 +02:00
Sébastien Loriot 347a0220b3 restrict the parameter pack to Named_function_parameters 2022-07-26 18:02:33 +02:00
Sébastien Loriot b1ee7ba78e move outside experimental namespace with a better API and doc 2022-07-26 15:06:49 +02:00
Laurent Rineau 0f7749432c Merge pull request #6412 from afabri/Triangulation_2-mark_domains-GF
Triangulation_2: Add CGAL::mark_domain_in_triangulation
2022-07-24 18:08:41 +02:00
GYuvanShankar 520545d543 Named parameter for mandatory parameters DRAFT 2022-07-19 13:10:35 +05:30
Sébastien Loriot b89bb215d3 WIP: removing InputRange from type definition 2022-07-18 18:04:45 +02:00
Sébastien Loriot 916e48284d add an extra overload of choose_parameter for dynamic property maps 2022-07-13 12:48:27 +02:00
Sébastien Loriot 1e857506c1 Merge remote-tracking branch 'cgal/5.5.x-branch' 2022-07-12 18:22:02 +02:00
Sébastien Loriot 12795ba29c Merge remote-tracking branch 'cgal/5.4.x-branch' into HEAD 2022-07-12 18:21:16 +02:00
Sébastien Loriot 6acb3a19fe actually the warning only shows up using clang 2022-07-12 18:18:34 +02:00
Sébastien Loriot 493795f95d also accomodate older versions of clang 2022-07-12 18:18:34 +02:00
Sébastien Loriot ad1e333538 handle older GCC versions 2022-07-12 18:18:34 +02:00
Sébastien Loriot ddd0e7dd47 the warning we are trying to work around is new and we need to ignore it on older compiler 2022-07-12 18:18:34 +02:00
Sébastien Loriot f7232499a1 use the correct warning... 2022-07-12 18:18:34 +02:00
Sébastien Loriot 3d03cbc519 workaround warning with gcc master 2022-07-12 18:18:34 +02:00
Laurent Rineau 4789fcc474
Merge branch 'master' into Triangulation_2-mark_domains-GF 2022-07-11 16:38:15 +02:00
Sébastien Loriot a821707064 link to cppreference 2022-07-11 11:04:04 +02:00
Sven Oesau 5d5c380c66
Merge branch 'master' into Region_growing-revision-soesau 2022-07-06 15:20:11 +02:00
GYuvanShankar 4457b05350 Removed _new prefix from named parameters 2022-06-29 17:38:54 +05:30
Sébastien Loriot 707b45cb5b Merge remote-tracking branch 'cgal/5.5.x-branch' 2022-06-29 10:48:00 +02:00
Laurent Rineau 70caea9548 Merge pull request #6673 from afabri/STL_Extension-Skip_list_memory_leak-GF
STL_extension: Fix memory leak in Skiplist
2022-06-29 09:50:41 +02:00
Sébastien Loriot 1a4a6816ac Merge pull request #6084 from janetournois/PMP-add_surface_mesher-jtournois
PMP - add surface remeshing from Mesh_3
2022-06-29 09:20:10 +02:00
Laurent Rineau 499b7794c9 Merge pull request #5693 from janetournois/Mesh_data_structure_3-new_package-jtournois
SMDS_3: Mesh_data_structure_3 - new package for C3T3
2022-06-29 09:14:38 +02:00
GYuvanShankar 7a080f9b92 New API support and doc for Mesh_criteria_3.h 2022-06-29 12:28:41 +05:30
Andreas Fabri 718fdcfd44 STL_Extension: Fix comment in multiset 2022-06-27 17:47:49 +01:00
GYuvanShankar 60f7a5c7cf New API support and docs for Labeled_mesh_domain_3.h 2022-06-27 20:26:35 +05:30
Sven Oesau 17e0923058
Merge branch 'master' into Region_growing-revision-soesau 2022-06-24 11:06:56 +02:00
Sébastien Loriot c9c6b30cf0 Merge sloriot/CGAL-std_type_traits into master 2022-06-23 16:35:37 +02:00
GYuvanShankar 109d74466d New API support and docs for make_mesh_3.h 2022-06-21 14:11:49 +05:30
GYuvanShankar 93514bd826 New API support and doc for refine_mesh_3.h 2022-06-20 18:31:49 +05:30
GYuvanShankar 0af311c0b3 New API support and docs for perturb_mesh_3.h 2022-06-17 14:30:25 +05:30
Laurent Rineau 1ba31d6e3f Merge branch 'master' into Triangulation_2-mark_domains-GF
# Conflicts:
#	Installation/CHANGES.md
2022-06-17 11:00:12 +02:00
Andreas Fabri 34ad804065 Cleanup after Mael's code review 2022-06-16 14:46:36 +01:00
Andreas Fabri 393dc06bf8 STL_extension: Fix memory leak in Skiplist 2022-06-16 12:34:30 +01:00
Sébastien Loriot 5fc4b4f3c4 Merge remote-tracking branch 'cgal/master' into HEAD 2022-06-16 13:33:54 +02:00
Laurent Rineau cefa3d9d80 Merge pull request #6648 from sloriot/PMP-do_not_flip_high_triangles
Add an option to a remove_almost_degenerate_faces
2022-06-15 10:20:53 +02:00
Laurent Rineau a79363275e Merge pull request #6659 from afabri/CGAL-fix_boost_doc_URLs-GF
STL_extension: Fix URL to boost libs
2022-06-15 10:20:44 +02:00
Laurent Rineau 378685ddd2 Merge pull request #6648 from sloriot/PMP-do_not_flip_high_triangles
Add an option to a remove_almost_degenerate_faces
2022-06-15 10:19:02 +02:00
Laurent Rineau a0aec6d20a Merge pull request #6659 from afabri/CGAL-fix_boost_doc_URLs-GF
STL_extension: Fix URL to boost libs
2022-06-15 10:18:53 +02:00
GYuvanShankar 89c07e7718 New API support and doc for odt_optimize_mesh_3.h 2022-06-15 13:31:45 +05:30
Sébastien Loriot 37580e9daf missing () in macro + typo fixes 2022-06-14 11:24:21 +02:00
Laurent Rineau c132b6a11e Merge remote-tracking branch 'cgal/master' into Mesh_data_structure_3-new_package-jtournois 2022-06-13 16:26:34 +02:00
Sébastien Loriot 8ed2990381 use CGAL_static_assertion
static_assert(b) is only available in c++17
2022-06-10 10:10:12 +02:00
Sébastien Loriot b96f6d5ce9 move is_iterator to type_traits 2022-06-10 09:43:59 +02:00
Sébastien Loriot 44250cb019 is_iterator_XXX<>::value --> is_iterator_XXX_v<> 2022-06-10 09:40:29 +02:00
Sébastien Loriot 3fa436459d BOOST_MPL_ASSERT -> static_assert 2022-06-10 08:46:01 +02:00
Sébastien Loriot ac8b6d4731 boost::is_same --> std::is_same 2022-06-10 08:18:20 +02:00
Sébastien Loriot 4f5f8341cc use std::enable_if_t 2022-06-10 07:37:53 +02:00
GYuvanShankar e6619ab67b Provided new API support for exude_mesh_3 2022-06-09 14:25:33 +05:30
Andreas Fabri 89c4b509e1 STL_extension: Fix URL to boost libs 2022-06-09 09:33:33 +01:00
Sébastien Loriot 5746e59b34 Merge cgal/master 2022-06-08 23:13:25 +02:00
Jane Tournois d7759abbb7 add a hidden parameter to allow non-manifold vertices or edges
this is to be used only is advanced code that deals with invalid T3
2022-06-08 23:03:50 +02:00
Jane Tournois 355b52d21f rename TMDS_3 to SMDS_3, end. 2022-06-08 22:57:25 +02:00
Jane Tournois ad13062bbf move subdomain indices to a named parameter 2022-06-08 22:53:18 +02:00
Sébastien Loriot c8cbbbfb1d Merge cgal/master 2022-06-08 22:49:25 +02:00
Sébastien Loriot 6869bddeaa add a named parameter to avoid flipping high triangles 2022-06-07 16:29:16 +02:00
Sébastien Loriot 046f1db10a function call is also working now! 2022-06-05 00:45:34 +02:00
Sébastien Loriot 111d33bfd2 alternative version to use the boost parameter API 2022-06-04 13:58:37 +02:00
Sébastien Loriot 18039c7a71 add overload using named function parameters
freeze_bound is still commented for now as the conflict with
boost parameters must be handled
2022-06-04 13:56:45 +02:00
Jane Tournois 86c9a35c15 Merge remote-tracking branch 'cgal/master' into PMP-add_surface_mesher-jtournois 2022-06-02 08:25:30 +01:00
Andreas Fabri 1afc3cc099 resolve merge conflict 2022-05-18 07:20:41 +01:00
Sébastien Loriot 3c466769c7 add function named parameters in Mesh_2 2022-05-16 17:24:27 +02:00
Laurent Rineau 734c96e951 Merge branch 'master' into pr/lrineau/6558 2022-05-06 16:25:32 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Jane Tournois c21fe46525 Merge remote-tracking branch 'cgal/master' into PMP-add_surface_mesher-jtournois
# Conflicts:
#	Polygon_mesh_processing/doc/Polygon_mesh_processing/PackageDescription.txt
#	Polygon_mesh_processing/examples/Polygon_mesh_processing/CMakeLists.txt
2022-04-29 10:48:08 +02:00
Mael Rouxel-Labbé 477353d5eb Merge parameters::Is_default and parameters::is_default_parameter 2022-04-20 16:01:02 +02:00
Laurent Rineau 7d9427b17e
Merge branch 'master' into AW3-New_package-GF 2022-04-11 17:19:47 +02:00
Mael Rouxel-Labbé 87233c633f Add two functions to use pairing-heap modifiable PQ with no known largest ID 2022-04-04 11:33:27 +02:00
Mael Rouxel-Labbé a40a7572ac Add Alpha_wrap_3 2022-04-04 11:33:27 +02:00
Sébastien Loriot 1dd4b8462f Merge remote-tracking branch 'sloriot/PMP-relax' 2022-03-31 16:47:06 +02:00
Sébastien Loriot 7ab2c079b3 add an option to forbid some moves 2022-03-23 23:53:00 +01:00
Mael Rouxel-Labbé 74233ddc36 Remove unnecessary assertions 2022-03-18 09:01:09 +01:00
Mael Rouxel-Labbé 27ba7b6ba5 Various fixes for Modifiable_priority_queues (mostly pairing_heap) 2022-03-17 23:52:05 +01:00
Laurent Rineau 208b286457 Merge pull request #6380 from sloriot/PMP-hole_filling_skip_cubic_search_space
PMP hole filling: Add an option to only use Delaunay based versions
2022-03-10 11:05:30 +01:00
Sébastien Loriot 7d17b22a7c add an option to only use Delaunay based versions 2022-03-04 07:05:05 +01:00
Erwan Jacq da936f5b8b pedantic changes 2022-02-25 11:39:02 +01:00
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
Sébastien Loriot 697e1abbc9 add hash function for CGAL vector container 2022-02-24 11:49:02 +01:00
Laurent Rineau d78a7b9255 Merge pull request #6302 from afabri/P2T2-assert-GF
CGAL: In testcode do not use CGAL_assertion but assert
2022-02-08 23:44:24 +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
Andreas Fabri 440a8dfb7b Fix file name 2022-02-03 08:41:04 +00:00
Andreas Fabri 735752bec9 Do the remaining changes after Laurent's check 2022-02-03 08:02:11 +00: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
Sébastien Loriot 7c8ca39799 add named parameter + use cosinus value directly 2022-01-28 14:42:49 +01:00
Laurent Rineau f39663fd9f Merge pull request #5698 from sgiraudot/PSP-Grid_simplify_outlier_filtering-GF
[Small Feature] Grid Simplification with Outlier Removal
2022-01-21 14:40:21 +01:00
Laurent Rineau e199ec36d7 Merge pull request #6244 from sloriot/CGAL-remove_flag_in_test
Remove conditional code as the flag has disappeared
2022-01-21 14:40:11 +01:00
Sébastien Loriot 475cab49e4 Merge remote-tracking branch 'danston/Region_growing-revision-danston' into HEAD 2022-01-21 13:39:25 +01:00
Andreas Fabri 72b5d0d080 Deal with STL_extension 2022-01-18 18:45:42 +00:00
Sébastien Loriot 11c7c56718 Merge remote-tracking branch 'cgal/master' into HEAD 2022-01-18 09:11:52 +01:00
Sébastien Loriot bab8e6ec19 remove conditional code as the flag has disappeared 2022-01-17 14:40:42 +01:00
Sébastien Loriot 10b0af3092 rename macro since Named_function_parameter is part of STL_Extension 2022-01-13 14:43:34 +01: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
Sébastien Loriot 4fa826b3ed keep only the static version of is_default_parameter 2022-01-10 18:36:37 +01:00
Sébastien Loriot 75b03e6c0a use_default_values() -> default_values() 2022-01-10 18:36:37 +01:00
Sébastien Loriot 382cbfaf25 move test + handle no deprecated code 2022-01-10 10:26:11 +01: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
Sebastien Loriot bd6408a772
Apply suggestions from code review
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2021-12-17 10:17:13 +01:00
Sébastien Loriot 0183aac332 plug pairing_heap with result of runtime of other heaps
also add reserve
2021-12-01 10:37:47 +01:00
Sébastien Loriot 49b530461e add version using boost::heap::fibonacci_heap 2021-11-30 18:26:56 +01:00
Sébastien Loriot 57f8e3d7c7 make the relaxed heap selectionnable using a template parameter 2021-11-30 17:49:48 +01:00
Sébastien Loriot e674e5f663 move implementation in dedicated header 2021-11-30 16:03:07 +01:00
Sébastien Loriot c61fdb831b remove the handle
it is not needed as the id map is used to store handles
2021-11-30 13:49:39 +01:00
Sébastien Loriot f26de8e819 use the container in STL_extension and not the internal one 2021-11-30 13:20:15 +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
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 9ad2991483 same change for CCC 2021-11-04 16:27:05 +01:00
Sébastien Loriot 4788732815 speed up begin() in case the container is empty but freelist is not 2021-11-04 15:16:22 +01:00
Sébastien Loriot 2d9280ec96 do not modify CGAL_assume 2021-10-27 16:09:32 +02:00
Sébastien Loriot 85c00352c3 separate macros and macro function 2021-10-27 16:01:19 +02:00
Sébastien Loriot 604d2fd1ff direct definition
the extra if was generating fallthru warnings
2021-10-27 15:19:05 +02:00
Sébastien Loriot d370326ec1 add CGAL_unreachable as requested by @lrineau and @mglisse 2021-10-27 14:45:10 +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
Laurent Rineau fb9333f0d0 Merge pull request #6028 from MaelRL/CGAL-Fix_typos-GF
Fix typos
2021-10-07 14:27:21 +02:00
Laurent Rineau a5e3469e78 Merge pull request #6011 from janetournois/Mesh_3-prevent_bad_initialization-jtournois
Mesh_3 - warning message after bad initialization
2021-10-06 12:04:54 +02:00
Mael Rouxel-Labbé 521c72d57e Fix typos 2021-10-04 13:34:07 +02:00
Jane Tournois bca05c8d67 add header inclusion protection 2021-09-24 11:14:01 +02:00
Andreas Fabri 15d788ef29 Remove commented code section which contains a call to memset() 2021-09-23 16:57:34 +02:00
Sébastien Loriot 36249c0fa0 Merge remote-tracking branch 'cgal/master' into HEAD 2021-09-23 11:07:06 +02:00
Sébastien Loriot a93dda81cd Merge pull request #5935 from janetournois/CGAL-fix_warnings_c++20-jtournois
Fix warnings for C++20
2021-09-10 17:43:47 +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 c04f88368f static_assert is not affected by NDEBUG 2021-09-08 10:38:21 +02:00
Sébastien Loriot f11cd9098a restore include statement 2021-09-03 09:32:58 +02:00
Sébastien Loriot 288c283784 TBB_IMPLEMENT_CPP0X is always 0 when using c++14 2021-08-30 19:24:59 +02:00
Sébastien Loriot 540ad2a8ed fix test 2021-08-30 19:01:08 +02:00
Sébastien Loriot 358420e6ca fix CGAL_AND/CGAL_OR implementation using a lambda
Thanks to @mglisse for the trick
2021-08-30 18:57:55 +02:00
Jane Tournois 959c17af43 fix duplicate input 2021-08-26 17:32:19 +02:00
Sébastien Loriot 4ea7b65a24 manual move for boost headers 2021-08-26 11:42:01 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Jane Tournois 392730fe68 boost/iterator.hpp is deprecated in favor of <iterator> 2021-08-25 16:53:00 +02:00
Jane Tournois ee8531d600 boost/iterator.hpp is deprecated 2021-08-25 15:25:40 +02:00
Andreas Fabri 9cdd0690df Fix the testsuite of Uncertain 2021-08-17 13:11:36 +01:00
Sebastien Loriot 35e069045c
Simplify expressions
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2021-08-16 20:51:58 +02:00
Sébastien Loriot 31a0557f58 add questions 2021-08-13 16:45:28 +02:00
Sébastien Loriot 63a764b79c remove some cpp0x and cpp11 config macros 2021-08-13 16:25:40 +02:00
Sébastien Loriot 00fd00fafc replace macros with inline functions and remove a config flag 2021-08-13 15:24:41 +02:00
Laurent Rineau 5759a800e3
Merge pull request #5705 from maxGimeno/CGAL-Clean_up_boost_versions-maxGimeno 2021-07-28 10:14:38 +02:00
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
albert-github 2a54687e77 Correction of hyperlinks
The link checker gave a number of redirects and incorrect links.
- the redirects have been solved ass far as possible
- the incorrect links have been checked and corrected where possible, others  have been reported through issues;
2021-06-04 13:52:14 +02: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 5c365a6bc1 Fix warning 2021-05-26 15:30:01 +02:00
Maxime GIMENO ee310766fd
Use right warning disabling
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2021-05-25 14:02:43 +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 b7323389c7
Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno
Update maximum cmake versions
2021-04-17 10:58:14 +02:00
Sebastien Loriot 0c6404d1bc
Merge pull request #5596 from sloriot/Doc-precompiled_demos
Add doc for precompiled demos
2021-04-17 10:57:02 +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
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Sébastien Loriot 350b9172c5 replace %CGAL by \cgal (but in titles) 2021-04-11 14:52:01 +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
Maxime Gimeno 17602e589e Merge remote-tracking branch 'cgal/master' into CGAL-clang_tidy__nullptr_on_Mesh_2-GF 2021-04-07 09:17:51 +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
Maxime Gimeno d5811d0a41 clang-tidy on tests 2021-02-18 15:15:12 +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 2ac1b9632b Fix composition testsuite 2021-01-29 12:35:52 +00: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
Laurent Rineau ca9febf3b8 Merge pull request #5063 from maxGimeno/CMake-modernization-maxGimeno
CMake modernization

# Conflicts:
#	CGAL_ipelets/demo/CGAL_ipelets/CMakeLists.txt
2021-01-22 15:25:54 +01:00
Maxime Gimeno 9ac0a1de04 Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno 2021-01-18 11:52:30 +01:00
Giles Bathgate 2ceedcfe81 Fix segmentation fault in destructor of Handle_for_virtual.h 2021-01-14 14:56:04 +00:00
Maxime Gimeno 2255f8e8ea Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno 2021-01-13 14:34:09 +01: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
Laurent Rineau 78ca6bb109 Merge pull request #5292 from maxGimeno/CTest-Fix_examples_and_tests_for_ctest-maxGImeno
CTest: Fix some examples and tests
2021-01-06 16:11:25 +01:00
Sébastien Loriot ea0386c333 replace last bind 2021-01-06 12:59:12 +01:00
Sébastien Loriot 41ceed5347 match requirements of CGAL adaptors 2021-01-06 12:59:12 +01:00
Sébastien Loriot cef46c9ee6 replace bind in STL_extension 2021-01-06 12:59:12 +01:00
Maxime Gimeno dc291b8c0d Fix tests and examples for ctest. 2020-12-17 14:27:54 +01:00
Laurent Rineau 2264a204ed Merge pull request #5261 from lrineau/fix-Wnon-c-typedef-for-linkage
Fix warnings [-Wnon-c-typedef-for-linkage] In Ridges and Jet_fitting
2020-12-16 17:49:14 +01:00
Laurent Rineau a98d5ec638 Merge pull request #5261 from lrineau/fix-Wnon-c-typedef-for-linkage
Fix warnings [-Wnon-c-typedef-for-linkage] In Ridges and Jet_fitting
2020-12-16 17:47:53 +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
Maxime Gimeno c7c5ae9150 add missing define 2020-12-11 13:56:35 +01:00
Laurent Rineau 71d489d3cb Fix also a TBB deprecation warning 2020-12-10 15:30:27 +01: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
Maxime Gimeno 8e23d5c482 Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-11-10 09:00:41 +01: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
Maxime Gimeno cc00d293df Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-11-06 09:37:18 +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
Maxime Gimeno 1c00bf6847 Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-29 15:09:16 +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 9d21b57013 Test multiset with CC allocation 2020-10-22 08:59:48 +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
Maxime Gimeno bebd60c12b Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-20 09:53:54 +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
Maxime Gimeno 107c4350d0 remove all /src directories 2020-10-14 11:22:49 +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
Mael Rouxel-Labbé 8682f9bafb Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-08-24 11:45:17 +02:00
Sébastien Loriot e893ac1178 cosmetic changes 2020-08-18 10:06:51 +02:00
Simon Giraudot b51be554b9 Fixes from review 2020-08-12 12:50:10 +02:00
Simon Giraudot d6d189b4a1 Bugfix: only test existing values in the array 2020-08-05 10:07:02 +02:00
Simon Giraudot 9ea82441c2 Use unique_ptr and add copy/move semantics 2020-08-05 10:06:49 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Simon Giraudot ca794fa991 Remove now useless Curve_pair, move and fix includes/classes accordingly 2020-08-03 14:01:18 +02:00
Simon Giraudot 58b06bfe5f Add Small_unordered_set file 2020-08-03 12:57:03 +02:00
Dmitry Anisimov 209513dc56 fixed docs + a few code improvements 2020-07-31 15:58:38 +02:00
Dmitry Anisimov 758ae808c0 better use of declval 2020-07-30 17:33:00 +02:00
Mael Rouxel-Labbé 5bd28b4aea Remove extra backticks on some \tparam 2020-07-29 10:24:47 +02: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
Dmitry Anisimov 2f7f37983b periodic 3 and generator fixes + the issue #3083 is addressed 2020-07-24 11:26:28 +02:00
Dmitry Anisimov 847e2277d6 result_of types to decltype(declval), both issues #3035 and #3846 are addressed 2020-07-23 18:46:46 +02:00
Dmitry Anisimov 4248a8a9f7 lazy and type mapper result_of fix 2020-07-23 16:00:06 +02:00
Mael Rouxel-Labbé 83b9408529 Fix compilation of [[deprecated]] inline 2020-07-13 16:57:08 +02:00
Jane Tournois 9e8d12d9cf Merge remote-tracking branch 'cgal/master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF
# Conflicts:
#	Installation/CHANGES.md
2020-07-06 06:57:32 +02:00
Mael Rouxel-Labbé 26355e2e32 Uniformize capital / third person usage of \brief 2020-06-25 15:13:47 +02:00
Laurent Rineau bcf8409e46 Merge pull request #4611 from rathod-sahaab/replace-throws-with-noexcept
replaced throw() with noexcept
2020-06-23 18:50:20 +02:00
Laurent Rineau e0b2bc6235 Merge pull request #4798 from maxGimeno/STL_Extension-Fix_compact_container-GF
Fix unknown behavior that changed in Visual 2019
2020-06-23 18:49:49 +02:00
Mael Rouxel-Labbé ad803b82b5 Enhance is_convertible.h with boost::mpl rather than handmade enum { value = } 2020-06-21 12:09:08 +02:00
Mael Rouxel-Labbé 2d49f7d702 Countless IO fixes...
Don't have the patience to split it nicely
2020-06-21 12:03:28 +02:00
Maxime Gimeno 83fed40f0b Fix unknown behavior that changed in Visual 2019 2020-06-19 14:45:32 +02:00
Abhay Raj Singh 3302086812
Removed Unnecessary Destructor 2020-06-13 23:41:39 +05:30
Abhay Raj Singh 04305dc82c
Removed unecessary Destructor 2020-06-13 23:39:35 +05:30
Laurent Rineau 9b8ecd720b Merge pull request #4636 from sgiraudot/CMake-Third_party_imported_targets-GF
CMake: Use Imported Targets for 3rd Party Libs
2020-06-05 17:54:14 +02:00
Laurent Rineau 871c97273a Merge pull request #4496 from lrineau/CGAL-move_semantic_for_triangulations-GF
Add move-semantic to Compact_container and Triangulations
2020-06-03 16:23:22 +02:00
Simon Giraudot 89285f1feb Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF 2020-05-28 08:53:17 +02:00
Laurent Rineau 7173530dad Merge pull request #4557 from lrineau/NewKernel_d-det-GF-CGAL-5.0
NewKernel_d: Accelerate by using Mpzf instead of Gmpq (CGAL-5.0 and later)
2020-05-27 18:27:56 +02:00
Laurent Rineau 88250aee80 Merge pull request #4557 from lrineau/NewKernel_d-det-GF-CGAL-5.0
NewKernel_d: Accelerate by using Mpzf instead of Gmpq (CGAL-5.0 and later)
2020-05-27 18:20:14 +02:00
Laurent Rineau 14c3b7ec72 Merge pull request #4640 from mglisse/spaceship
C++20 fixes
2020-05-27 16:33:33 +02:00
Laurent Rineau 14b18f81ee Merge pull request #4735 from lrineau/Triangulation_2-fix_CDT_2_degenerate_case-GF
Fix a bug in <CGAL/Constrained_triangulation_2.h>
2020-05-27 16:33:21 +02:00
Laurent Rineau a8fca35b1d Merge pull request #4735 from lrineau/Triangulation_2-fix_CDT_2_degenerate_case-GF
Fix a bug in <CGAL/Constrained_triangulation_2.h>
2020-05-27 16:32:49 +02:00
Laurent Rineau 0ea385712f Fix compatibility with C++03 2020-05-22 14:52:18 +02:00
Marc Glisse f3d5a573df Use allocator_traits for destroy 2020-05-21 11:52:21 +02:00
Laurent Rineau 8b474ddf59 Re-add the use of Lazy objects in Compact_container 2020-05-20 10:32:03 +02: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 dcc4fb1cc1 Merge remote-tracking branch 'cgal/master' into CGAL-move_semantic_for_triangulations-GF
# Conflicts:
#	STL_Extension/include/CGAL/Compact_container.h
2020-05-20 09:46:26 +02:00
Laurent Rineau bb012da683 Merge pull request #4568 from sgiraudot/PSP-Cluster_points-GF
[Small Feature] Point Set Clustering
2020-05-18 12:24:56 +02:00
Laurent Rineau fcc5ccca53 Merge pull request #4669 from gdamiand/CGAL_warning-gdamiand
Remove "unused-but-set-parameter" warnings
2020-05-18 12:24:44 +02:00
Simon Giraudot fefdd13f45 Merge remote-tracking branch 'mine/PSP-Cluster_points-GF' into PSP-Cluster_points-GF 2020-05-06 08:59:40 +02:00
Laurent Rineau dc12dea776 Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch 2020-05-04 17:52:26 +02:00
Laurent Rineau c211224a29 Cherry-pick pull requests #4682 and #4683
Prevent dynamic binding of references to null pointers
2020-05-04 17:50:20 +02:00
Sebastien Loriot dab49b938e
Merge pull request #4682 from mhsaar/patch-3
Prevent dynamically bind references to null pointer.
2020-04-29 14:03:47 +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
Michael Hemmer 704cdab314
Prevent dynamically bind references to null pointer.
This is a manually-generated change. Ensure that behavior and style are
preserved by carefully inspecting the diff.
2020-04-26 07:43:22 +02:00
Simon Giraudot c1d8fb69b7 Move transform ranges in property_maps 2020-04-22 13:47:33 +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
Guillaume Damiand 74d89220e2 Remove warnings 2020-04-20 15:25:40 +02:00
Simon Giraudot 1dd6a665a1 Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF 2020-04-20 09:09:32 +02:00
Jane Tournois 9a722c4ef1
Merge branch 'master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF 2020-04-20 06:40:24 +02:00
Mael bbd24f2946
Fix missing include 2020-04-16 19:46:09 +02:00
Mael 4fb633a6be
Add missing include 2020-04-16 18:59:54 +02:00
Sebastien Loriot 98fafe4ef1
Merge pull request #4514 from MaelRL/CGAL-Fix_warnings-GF
Fix (some) testuite warnings
2020-04-16 18:15:11 +02:00
Simon Giraudot 60cb33fa31 Merge remote-tracking branch 'mine/PSP-Cluster_points-GF' into PSP-Cluster_points-GF 2020-04-16 17:02:19 +02:00
Simon Giraudot 421096fd7f Use imported targets everywhere 2020-04-15 14:06:13 +02:00
Sébastien Loriot d845d6ce8d Merge remote-tracking branch 'cgal/master' 2020-04-10 18:16:18 +02:00
Sébastien Loriot 2876ad9af1 remove trailing whitespaces 2020-04-10 18:15:32 +02:00
Mael Rouxel-Labbé c16c1a7ea3 Merge remote-tracking branch 'cgal/master' into CGAL-Optimal_bounding_box-GF 2020-04-10 16:10:11 +02:00
Jeff Trull 8b21a67508 Forward declare class template Instead of including a new header 2020-04-07 14:50:17 -07:00
Jeff Trull 905dabc3a2 Fix reference-to-null-pointer UB
Hash compact_container iterators directly from their underlying
pointers, rather than taking the address of their dereferenced objects
2020-04-07 14:47:58 -07:00
Mael Rouxel-Labbé 3ddf7e7287 Fix warning (ignoring return of nodiscard-marked functions)
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.1-Ic-115/STL_Extension/TestReport_afabri_x64_Cygwin-Windows10_MSVC2017-Debug-64bits.gz
2020-04-06 22:24:24 +02:00
rathod-sahaab dbbee667af replaced throw() with noexcept 2020-04-02 18:31:00 +05:30
Jane Tournois a1b292e805 Merge remote-tracking branch 'cgal/master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF 2020-04-01 13:52:57 +01:00
Andreas Fabri 6ae64e7a73 Make functor a template parameter in the internal function 2020-03-27 16:41:53 +01:00
Sébastien Loriot 822bc55640 extra run of the script to remove tabs and trailing whitespaces 2020-03-27 08:28:48 +01:00
Sébastien Loriot 5c5d445eb3 Update branch from master after trailing whitespaces and tabs removal 2020-03-27 08:27:43 +01:00
Sébastien Loriot 2e180ac589 extra run of the script to remove tabs and trailing whitespaces 2020-03-26 19:29:44 +01:00
Sébastien Loriot a0345b135c Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:29:05 +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 d1a323c730 extra run of the script to remove tabs and trailing whitespaces 2020-03-26 19:24:14 +01:00
Sébastien Loriot 86e25f7e71 Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:23:54 +01:00
Sébastien Loriot 35b83deffd Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:16:25 +01:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +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
Simon Giraudot 63c1090c04 Upate test_for_each 2020-03-23 13:42:45 +01:00
Mael Rouxel-Labbé 2556196dad Merge remote-tracking branch 'cgal/master' into CGAL-Optimal_bounding_box-GF 2020-03-23 08:59:49 +01:00
Simon Giraudot 320876ab23 Replace exception by return value to stop for_each loops 2020-03-23 08:29:08 +01:00
Sébastien Loriot 2a13c8cbec Update from master 2020-03-20 09:05:58 +01:00
Simon Giraudot c8aa0c8f57 Prevent from testing Parallel_tag if TBB is not here 2020-03-19 15:54:53 +01:00
Simon Giraudot 16625cda01 Fix for_each and add a comment on what it does 2020-03-19 10:38:58 +01:00
Simon Giraudot 61d331f456 Fix for_each 2020-03-18 09:11:41 +01:00
Simon Giraudot c4e62d70e8 Remove K parameter and update doc from reviews 2020-03-17 12:04:44 +01:00
Guillaume Damiand 650a7dcbc2
Merge branch 'master' into Kernel_23-Epeck_objects_in_Compact_container-lrineau_gdamiand 2020-03-16 16:24:54 +01:00
Mael Rouxel-Labbé 100304667d Remove CGAL::internal::boost_::function_property_map
This file was duplicated from BOOST 1.64 because it appeared in a boost
release that was younger than the oldest boost release supported by CGAL
when the file was first required.

The minimum boost version (1.57) now required by CGAL is younger
than the version in which the file appeared in boost (1.51)
and it can thus be removed.
2020-03-12 20:58:44 +01:00
Laurent Rineau ebe9b68272 Merge branch 'CGAL-move_semantic_for_triangulations-GF' into Triangulation_3-CDT_3-lrineau 2020-03-10 16:40:57 +01:00
Laurent Rineau 1eba82246e Rule of zero for CC_iterator
This commit is the one fixing the mis-compilation by MSVC 2015.
2020-03-09 17:35:52 +01:00
Laurent Rineau 378554e5a7 Change the API of `for_compact_container`/`Compact_container_traits`
Now, we have a proper pair of getter/setter, and the `void` pointer is
get by a `reinterpret_cast`, instead of a union.

Cc: @mglisse
2020-03-09 17:19:58 +01:00
Laurent Rineau fbf790637e Patch for MSVC and clang 2020-03-09 16:32:26 +01:00
Mael Rouxel-Labbé 0133e9f2f9 Merge branch 'PMP-soup_to_mesh_add_vpm-old' into PMP-soup_to_mesh_add_vpm 2020-03-06 11:41:31 +01:00
Laurent Rineau 0dfd416395 Use [[noreturn]] directly 2020-03-06 09:26:54 +01:00
Simon Giraudot b2db69f8f1 Fix license 2020-03-05 14:36:38 +01:00
Simon Giraudot b99402f953 Add convenient for_each to transparently use sequential/parallel/randomaccess/not 2020-03-02 12:23:10 +01:00
Laurent Rineau e3d7f7946d CC_iterator(CC_iterator&&) is now `= default`
That fixes a segmentation fault with Visual Studio in Skin Surface
Meshing.
2020-02-28 14:01:54 +01:00
Marc Glisse 3e4c0d28e5 More swaps. 2020-02-25 01:29:48 +01:00
Laurent Rineau af8049e45c Merge branch 'CGAL-move_semantic_for_triangulations-GF' into Triangulation_3-CDT_3-lrineau
# Conflicts:
#	STL_Extension/include/CGAL/Compact_container.h
#	Triangulation_2/include/CGAL/Triangulation_2/internal/Polyline_constraint_hierarchy_2.h
#	Triangulation_3/benchmark/Triangulation_3/CMakeLists.txt
2020-02-24 15:32:36 +01:00
Mael Rouxel-Labbé 752fc00bf4 Fix includes 2020-02-20 12:14:40 +01:00
Mael Rouxel-Labbé 3bbc07ebf5 Regroup some helpers to call reserve/resize on containers that do not offer it
Useful because sometimes models of the range concepts we demand
do not offer reserve or resize, yet we still want to call it
when it's available.
2020-02-20 11:16:54 +01:00
Laurent Rineau 0c40f7a458 "Fix" for dumb MSVC compilers
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.1-Ic-77/Triangulation_2/TestReport_afabri_x64_Cygwin-Windows10_MSVC2015-Debug-64bits.gz

My guess is that the compiler short-circuits `Const &&` when the
argument `Const` is `false`, and then the expression `Const &&
!OtherConst` is no-longer dependent on the argument `OtherConst`.

That "fix" just turn `Const &&  !OtherConst` to `!OtherConst && Const`.
2020-02-19 16:27:10 +01:00
Laurent Rineau 7508a6f93c Merge remote-tracking branch 'cgal/master' into CGAL-move_semantic_for_triangulations-GF 2020-02-12 17:05:49 +01:00
Laurent Rineau 0f0a0ed82d Try to enable the use of Lazy objects in Compact_container 2020-02-12 09:59:51 +01:00
Marc Glisse 6c65f5d929 Some noexcept, swap, etc to help Handle* types 2020-02-12 09:42:51 +01:00
Mael Rouxel-Labbé 84215c95c4 Merge branch 'Box_intersection_d-accelerate-GF-old' into Box_intersection_d-accelerate-GF 2020-02-07 11:03:07 +01:00
Laurent Rineau b311ab59ed [modernize-use-nullptr] (clang-tidy) 2020-01-31 12:11:16 +01:00
Laurent Rineau 2717864bd7 Fix warnings cppcoreguidelines-special-member-functions (clang-tidy)
- Remove trivial copy-constructors that prevents the compiler to
  generate the other special member functions.
2020-01-31 12:08:05 +01:00
Laurent Rineau db55548830 Fix a conversion warning 2020-01-31 12:01:43 +01:00
Laurent Rineau e82ea5de96 Add move-semantic to Compact_container
That required a refactoring the timestamper feature. And the
explanation why is quite long... Let's do it.

The CGAL triangulations use the `Rebind_TDS` feature. During the
instanciation of `Compact_container<T>` it is important that `T` is
allowed to be incomplete, otherwise the circular dependencies between
TDS and Vertex/Cell cannot be resolved by the compiler. In previous
implementation of the timestamper, to allow `T` to be an incomplete
type, the compact container only carried a *point* to the time
stamper, allocated on the heap. A moved-from compact container would
only be valid if one recreated a time stamper for it on the head in
the move-constructor. As I want move operations to be `noexcept`, I
needed to change that implementation. Now the triangulation always
carries a time stamp counter (`std::size`), independently of the type
`T`, and the time stamper is an empty class, with static methods. That
allows `T` to be incomplete during the declaration of
`Compact_container<T>`.
2020-01-31 11:29:55 +01:00
Laurent Rineau 315a0b54d1 Merge pull request #4468 from maxGimeno/TBB-Fix_deprecation_warnings-5_0-maxGimeno
TBB deprecated code replacement
2020-01-29 16:27:53 +01:00
Maxime Gimeno 35600534f0 fixes 2020-01-21 10:05:19 +01:00
Maxime Gimeno e3a20071a1 Fix call to compare_exchange_strong() in Spatial_lock_grid_3.h 2020-01-14 15:50:32 +01:00
Maxime Gimeno 85712ba28c WIP replacing tbb deprecated includes. 2020-01-14 15:03:20 +01:00
Sebastien Loriot 6367f5e9cb
Merge pull request #4401 from fritzm/set-error-handler-fix
Fix set_error_handler() header-only-mode issue (#4400)
2019-12-20 09:53:57 +01:00
Fritz Mueller 01f69b5e9d Fix set_error_handler() header-only-mode issue (#4400) 2019-12-20 09:53:22 +01:00
Sébastien Loriot 87d2d83703 Merge remote-tracking branch 'cgal/master' 2019-12-20 09:24:41 +01:00
Sebastien Loriot f4317d4d7f
Merge pull request #4372 from MaelRL/CGAL-clean_obsolete_doc-GF
Doc: Remove some obsolete links
2019-12-20 09:18:37 +01:00
Laurent Rineau 674627937c Merge pull request #4389 from lrineau/DT_3-issue4388-GF
Fix  DT3 parallel performance loss (issue #4388)
2019-12-17 09:16:52 +01:00
Laurent Rineau b826770302 Merge pull request #4397 from afabri/T3_accelerate_insert_in_hole
Triangulation_3: Accelerate point insertion
2019-12-17 09:16:35 +01:00
Laurent Rineau de1074426b Merge pull request #4389 from lrineau/DT_3-issue4388-GF
Fix  DT3 parallel performance loss (issue #4388)
2019-12-17 09:15:48 +01:00
Laurent Rineau 8282847686 Add code CGAL_DEBUG_CDT_3 2019-12-11 11:23:42 +01:00
Laurent Rineau 0460176a2b Fix another warning 2019-12-10 13:52:33 +01:00
Laurent Rineau c08c632fc8 Merge branch 'releases/CGAL-5.0-branch' into T3_accelerate_insert_in_hole-rebased 2019-12-10 13:02:24 +01:00
Andreas Fabri 29a4f441c9 Shift depends on sizeof(T) not on sizeof(T*) 2019-12-10 12:45:23 +01:00
Laurent Rineau 435bb4d4c4 Cleanup the patch 2019-12-10 10:59:13 +01:00