Commit Graph

377 Commits

Author SHA1 Message Date
albert-github c32b1f4127 spelling corrections
Some spelling corrections (Directories starting with `S` rest - `W`),
2022-11-16 13:22:39 +01:00
Laurent Rineau 1c5454dcbe Add Converting_construction to Simple_precision_epick
The difficulty is to detect/define which constructions are "trivial"
and must not be wrapped into `Converting_construction`. Otherwise the
use of `Cartesian_converter`, that uses trivial constructions itself,
can lead to loops and infinite call stacks.
2022-10-28 12:07:58 +02:00
Sébastien Loriot 861588abe1 Merge 'sloriot/CGAL-std_type_traits' into master 2022-08-03 20:19:51 +02:00
Niklas Hambüchen c53ae08deb Spatial_searching: unsigned int -> size_t for vector copy 2022-07-04 11:38:14 +02:00
Sébastien Loriot 37580e9daf missing () in macro + typo fixes 2022-06-14 11:24:21 +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
Laurent Rineau f01b30de0d Merge pull request #6287 from afabri/Spatial_searching-Incremental_Manhattan_fix-GF
Spatial_searching:  Fix incremental search with Manhattan distance
2022-02-18 15:21:42 +01:00
Laurent Rineau 9e4aa2b9c3 Merge pull request #6287 from afabri/Spatial_searching-Incremental_Manhattan_fix-GF
Spatial_searching:  Fix incremental search with Manhattan distance
2022-02-08 23:44:37 +01:00
Laurent Rineau f0c8cd9052 Merge pull request #6297 from afabri/Spatial_searching-dangling_pointer_warning-GF
Spatial_searching: Add a variable as we had a warning about a potentially dangling pointer
2022-02-08 23:44:30 +01:00
Andreas Fabri d6398b5d37 untabify 2022-02-02 09:27:30 +00:00
Andreas Fabri 8201269ab8 Add a variable as we had a warning about a potentially dangling pointer 2022-02-02 09:21:42 +00:00
Andreas Fabri 9888d44de4 Spatial_searching: Fix incremental search with Manhattan distance 2022-01-31 09:44:04 +00:00
Dmitry Anisimov ac7d2a2dea Merge remote-tracking branch 'refs/remotes/origin/Kd_tree-nice_print-danston' into Kd_tree-nice_print-danston 2021-11-23 14:41:48 +01:00
Dmitry Anisimov 45bcedac36 renamed print method to write_graphviz 2021-11-23 14:39:42 +01:00
Dmitry Anisimov c4e816e4a3
Update Spatial_searching/include/CGAL/Kd_tree_node.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2021-11-23 14:17:39 +01:00
Dmitry Anisimov 13dbde12d3
Update Spatial_searching/include/CGAL/Kd_tree_node.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2021-11-23 14:17:34 +01:00
Dmitry Anisimov e427e38631
Update Spatial_searching/include/CGAL/Kd_tree.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2021-11-23 14:17:29 +01:00
Dmitry Anisimov 4968baeb94 Merge remote-tracking branch 'origin/master' into Kd_tree-nice_print-danston 2021-11-16 15:33:41 +01:00
Dmitry Anisimov 8e531e4b58 fix print using local lambda function 2021-10-15 17:09:16 +02:00
Mael Rouxel-Labbé 8166579e55 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_master-GF 2021-10-11 19:58:07 +02:00
Dmitry Anisimov 7a096f8d8f cleanup 2021-10-11 13:54:43 +02:00
Dmitry Anisimov c18542317b added new print function 2021-10-11 12:56:17 +02:00
Mael Rouxel-Labbé 480c14564a Don't base reference detection on lvalue_property_map_tag 2021-10-08 15:42:01 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +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 9533a9fea8 remove CGAL/result_of.h and move its content to config.h 2021-05-07 12:51:07 +02:00
Sébastien Loriot 1faa0e2992 replace internal use of boost::shared_ptr by std::shared_ptr 2021-04-28 10:55:26 +02:00
Dmitry Anisimov 2aa9b0297c kd tree using vector constructor instead of insert 2021-02-22 09:46:27 +01:00
Laurent Rineau e6536aaf63 Remove cpp11::(tuple|get)
And use `#ifdef CGAL_NO_DEPRECATED_CODE` around the backward
compatibility code in `<CGAL/config.h>`.
2020-06-09 20:15:16 +02:00
Laurent Rineau 52b83a9316 Merge remote-tracking branch 'cgal/master' into CGAL-remove_cpp11-GF 2020-06-09 20:14:42 +02:00
Laurent Rineau ec1dd745e0 Remove cpp11::(tuple|get)
And use `#ifdef CGAL_NO_DEPRECATED_CODE` around the backward
compatibility code in `<CGAL/config.h>`.
2020-06-09 20:11:45 +02:00
Laurent Rineau dfe272f14e Merge pull request #4725 from sloriot/SS-missing_const_pointer
Add missing const
2020-05-18 12:24:05 +02:00
Laurent Rineau c1ffa15645 Merge pull request #4725 from sloriot/SS-missing_const_pointer
Add missing const
2020-05-18 12:22:15 +02:00
Sébastien Loriot 80da7ff111 add missing const 2020-05-15 11:19:35 +02:00
Simon Giraudot bd08ba8c6d Reintroduce bool leaf in Kd_tree_node 2020-04-27 11:26:43 +02:00
Simon Giraudot 95b9f05a28 Merge remote-tracking branch 'mine/Spatial_searching-Parallelize_kd_tree_build-GF' into Spatial_searching-Parallelize_kd_tree_build-GF 2020-04-16 17:03:44 +02:00
Simon Giraudot f86250351e Fix trailing whitespaces 2020-04-14 09:42:12 +02:00
Simon Giraudot c00aeffdd9 Fix uninitalized variables 2020-04-14 09:41:20 +02:00
Simon Giraudot 74f1cad971
Use default construction in emplace_back
Co-Authored-By: Laurent Rineau <Laurent.Rineau@cgal.org>
2020-04-14 09:32:02 +02:00
Sebastien Loriot a6be599ac7
Merge pull request #4599 from sgiraudot/Spatial_searching-Fix_interruptible_distance-GF
Bugfix : Spatial Searching Interruptible Distance
2020-04-06 15:35:16 +02:00
Sébastien Loriot a774b367f3 extra run of the script to remove tabs and trailing whitespaces 2020-03-26 19:41:07 +01:00
Sébastien Loriot 9b0a4f5502 Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:40:43 +01:00
Sébastien Loriot d42113bbaf extra run of the script to remove tabs and trailing whitespaces 2020-03-26 19:35:20 +01:00
Sébastien Loriot f1e5569404 Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:35:02 +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 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 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Simon Giraudot 023085af41 Fix misused iterator 2020-03-25 15:36:58 +01:00
Simon Giraudot 929e1e4bce Fix "may be used uninitialized" warning 2020-03-24 16:05:44 +01:00
Simon Giraudot 0b1d13e815 Fix conversion warning 2020-03-23 09:49:17 +01:00
Simon Giraudot 37a6a4360f Fix warnings 2020-03-19 15:50:22 +01:00
Simon Giraudot 9ab9081038 Use emplace_back() 2020-03-16 10:46:30 +01:00
Simon Giraudot e716d902cf Remove now useless workaround 2020-03-05 14:15:09 +01:00
Simon Giraudot bd1c509531 Clean garbage 2020-03-05 13:40:52 +01:00
Simon Giraudot 2818986299 Fix kd tree node 2020-03-05 10:06:07 +01:00
Simon Giraudot 0661542fd2 Some notes about parallelism in KD Tree 2020-03-04 16:21:14 +01:00
Simon Giraudot fac53dc3c8 Remove useless boolean 2020-03-04 16:20:49 +01:00
Simon Giraudot 6e629a9478 First version of parallel Kd_tree:build() 2020-03-04 11:05:56 +01:00
Laurent Rineau ad30f5f440 Fix license header 2019-12-03 19:25:51 +01:00
Laurent Rineau 65cde3ce79
Merge branch 'master' into Faster_dd_spatial_searching-cjamin 2019-12-03 19:18:15 +01:00
Simon Giraudot c43c6ac2fa Merge remote-tracking branch 'clement/Faster_dd_spatial_searching-cjamin' into Faster_dd_spatial_searching-cjamin 2019-10-22 13:21:53 +02:00
Simon Giraudot 54aef42f2d Fix warning 2019-10-22 13:03:35 +02:00
Simon Giraudot 89554f6063 Fix outputiterator return missing 2019-10-22 12:56:36 +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
Simon Giraudot d930cbce64 Fix no_lvalue Search_traits_adapter 2019-10-15 13:52:17 +02:00
Simon Giraudot 027de166f4 Make it possible for Search_traits_adapter to work without lvalue point map 2019-08-26 15:42:24 +02:00
Simon Giraudot 9b02d9d426 Fix warnings 2019-07-04 13:25:56 +02:00
Simon Giraudot b2e723b548 Merge branch 'Faster_dd_spatial_searching-cjamin-backup' into Faster_dd_spatial_searching-cjamin 2019-07-04 13:17:50 +02:00
Andreas Fabri e2d19b0c8d Replace NULL and Nullptr_t with nullptr and nullptr_t 2019-06-04 23:45:44 +02:00
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Sébastien Loriot f62624c4f9 replace cpp11::tuple by std::tuple 2019-03-29 13:28:33 +01:00
Laurent Rineau f83053c2a5 Merge pull request #3602 from afabri/CGAL-VC2017_AVX_workarounds-GF
Fix for VC2017 with /arch:AVX
2019-01-22 09:14:57 +01:00
Andreas Fabri 0fe3ed828e Fix for VC2017 with /arch=AVX 2019-01-17 14:42:26 +01:00
Sébastien Loriot 5a2857d451 fix maybe uninitialized warning
triggered by target Orthogonal_incremental_neighbor_search
2018-12-06 09:23:26 +01:00
Laurent Rineau 5ec1b841b7 Merge pull request #3170 from MaelRL/CGAL-Fix_some_STL_extension_namespaces-GF
STL_Extension: move CGAL::iterator and CGAL::unary/binary functions to CGAL::cpp98::
2018-06-20 17:21:01 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Laurent Rineau 796d1bdcb6 Merge pull request #3142 from sgiraudot/Spatial_searching-Fix_disable_if-GF
Spatial Searching: bugfix disable_if
2018-06-12 16:38:20 +02:00
Laurent Rineau c8009c7250 Merge pull request #3142 from sgiraudot/Spatial_searching-Fix_disable_if-GF
Spatial Searching: bugfix disable_if
2018-06-12 16:32:18 +02:00
Simon Giraudot 45afed121c Include enable_if.hpp header 2018-06-06 08:15:54 +02:00
Simon Giraudot e5ff062052 Remove extra semicolon 2018-06-04 10:48:08 +02:00
Simon Giraudot 7b0c4e087b Bugfix: make disable_if work using template and add it to Search_traits_adapter 2018-06-04 10:03:30 +02:00
Laurent Rineau 2596a302c0 Merge pull request #2954 from MaelRL/Spatial_searching-Fix_fuziness_doc-GF
Spatial searching: rework fuzzy items

# Conflicts:
#	Spatial_searching/test/Spatial_searching/Point_with_info.h
2018-06-01 17:24:02 +02:00
Laurent Rineau 5dee4b4819 Merge pull request #2954 from MaelRL/Spatial_searching-Fix_fuziness_doc-GF
Spatial searching: rework fuzzy items

# Conflicts:
#	Spatial_searching/test/Spatial_searching/Point_with_info.h
2018-06-01 17:22:10 +02:00
Mael Rouxel-Labbé 1e8f8ab358 Fixed constructing field type from non-int variables 2018-05-16 10:38:47 +02:00
Mael Rouxel-Labbé a0a6afeaca Fixed warning (?)
My kingdom for readable Windows compilation messages
2018-05-16 10:38:47 +02:00
Mael Rouxel-Labbé 40d1550d65 'if' into 'else if' since min_coord(i) <= max_coord(i) 2018-04-19 15:59:21 +02:00
Mael Rouxel-Labbé 6897cdea85 Do not use an inner approx if 'eps > r' 2018-04-19 14:16:12 +02:00
Mael Rouxel-Labbé 15d925710e Readability changes 2018-04-19 14:15:56 +02:00
Mael Rouxel-Labbé 7b510962f0 Use CGAL::square 2018-04-19 14:14:43 +02:00
Mael Rouxel-Labbé 65be29442b Reworked Fuzzy_sphere
Same as a6f52ffc31

- Also fixed the way eps > r is handled
- Cached the inner and outer squared radius instead of recomputing every time
2018-03-23 17:06:08 +01:00
Mael Rouxel-Labbé a6f52ffc31 Reworked Fuzzy_iso_box
- points on the boundary of the inner approximation are always reported
- points on the boundary of the outer approximation may or may not be reported
2018-03-23 17:03:17 +01:00
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +01:00
Simon Giraudot 6269309d86 Use CGAL include for boost counting/transform iterators everywhere 2018-01-23 11:09:52 +01:00