Commit Graph

765 Commits

Author SHA1 Message Date
Sébastien Loriot f759a61349 correct size() in case some points were removed 2023-09-04 14:24:48 +02:00
Laurent Rineau 649539d573 Merge pull request #7219 from afabri/Spatial_searching-Epeck-GF
Spatial searching: Make weighted Minkowski Distance working with Epeck
2023-03-02 13:40:15 +01:00
Mael Rouxel-Labbé 9976577f8d Add missing headers 2023-01-30 11:57:56 +01:00
Andreas Fabri 7efd0593e7 fix typo 2023-01-29 17:04:41 +00:00
Laurent Rineau 68cca0f8a6 Merge pull request #7144 from sloriot/SS-faster_adapter
Replace shared_ptr with a plain copy
2023-01-27 20:52:18 +01:00
Andreas Fabri 74cae45be7 Document that it is not exact 2023-01-27 16:46:47 +00:00
Andreas Fabri 34ad3ded54 Spatial Searching: Make weighted Minkowski work with Epeck 2023-01-27 16:43:52 +00:00
Sébastien Loriot ecb987a9bf do not use shared_ptr ...
... as it is more expensive (in small dimension at least) to
create than copying the point
2022-12-23 13:20:13 +01:00
Laurent Rineau a59c56239f Merge pull request #7093 from afabri/Spatial_searching-Weighted_Minkowski_doc_fix-GF
Spatial_searching: Fix doc
2022-12-05 11:57:01 +01:00
Andreas Fabri 2c8d317960 Spatial_searching: Fix doc 2022-11-29 10:45:00 +00:00
Niklas Hambüchen c53ae08deb Spatial_searching: unsigned int -> size_t for vector copy 2022-07-04 11:38:14 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Laurent Rineau 6d28829737 Merge pull request #6316 from sloriot/CGAL-boost_progress
Use non-deprecated API for boost progress
2022-02-22 18:24:47 +01:00
Laurent Rineau 98f7d25a20 Merge pull request #6316 from sloriot/CGAL-boost_progress
Use non-deprecated API for boost progress
2022-02-22 18:23:37 +01:00
Sébastien Loriot 0dca23cbf8 progress_display is replaced starting boost 1.72 2022-02-18 15:53:54 +01:00
Sébastien Loriot b4d37aff47 use non-deprecated API 2022-02-18 15:53:54 +01: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 971ee5db8b Shorten file name to see if that fixes the error for 2 VC testsuites 2022-02-02 08:01:30 +00:00
Andreas Fabri 9888d44de4 Spatial_searching: Fix incremental search with Manhattan distance 2022-01-31 09:44:04 +00:00
Dmitry Anisimov b877fc39fb more renaming 2021-11-23 14:45:56 +01: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 02c4575353 Merge remote-tracking branch 'origin/master' into Kd_tree-nice_print-danston 2021-11-23 10:01:54 +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
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Dmitry Anisimov 8e531e4b58 fix print using local lambda function 2021-10-15 17:09:16 +02:00
Dmitry Anisimov 79fe052da9 fixed docs 2021-10-12 11:31:49 +02:00
Mael Rouxel-Labbé 131242bb80 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Mael Rouxel-Labbé 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 8c1a2102eb testing new print function 2021-10-11 13:55:00 +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
Dmitry Anisimov 6046a4cbbe clean benchmarks 2021-10-11 12:41:41 +02:00
Mael Rouxel-Labbé 480c14564a Don't base reference detection on lvalue_property_map_tag 2021-10-08 15:42:01 +02:00
Mael Rouxel-Labbé 590ddf8015 Various fixes for pmaps:
- Use `value_type` when the returned type is not a reference
- Enforce `reference = value_type` if the returned type is not
  a reference (to avoid `typename PM::reference r = get(m, k)`,
  which will take a ref to a temporary if the `reference`
  typedef is an actualy reference)
- Do not use `put_get_helper` if the property map is not a `lvalue`
  **mutable** property map: the `put()` is `map[k] = v`, which
  is broken if `operator[]` does not return a reference
- The concept `boost::lvalue_property_map_tag` requires `operator[](key)`,
  not a reference in `get(map, key)`. You can have a readable property map
  returning a reference through its `get(map, key)`, but if there is
  no `operator[]`, it's just a `boost::readable_property_map_tag`
- Some const correctness to avoid copying maps with state
  or heavy keys in `get(map, key)` / `put(map, key, value)`
- Base the category of a wrapping pmap on what it offers instead
  of just forwarding the base property map's category
- Tried to do something like mutable lvalue pmap:
  * `value_type& operator[](key&)`
  * `ref get(map, const key&)`
  * `put(map, const key&, const value_type&)`
  and non-mutable lvalue pmap:
  * `const value_type& operator[](const key&)`
  * `ref get(map, const key&)`
  but not everything fits properly...
2021-10-08 15:38:47 +02:00
Sébastien Loriot 1857a25d28 Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02:00
Sébastien Loriot 8350dea94a char* -> std::string 2021-10-04 09:49:24 +02:00
Sébastien Loriot 47028cd184 automatically move data files in data dir + update paths
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Mael Rouxel-Labbé b9741aa6bb Fix AABBGeomTraits's intersection pred/cons requirements (+ misc cleaning) 2021-09-28 15:32:06 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Mael Rouxel-Labbé 78ff9185b3 Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02: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
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