Commit Graph

743 Commits

Author SHA1 Message Date
Laurent Rineau f46ea44dd0 Merge pull request #7219 from afabri/Spatial_searching-Epeck-GF
Spatial searching: Make weighted Minkowski Distance working with Epeck
2023-03-02 13:40:07 +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
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
Andreas Fabri 2c8d317960 Spatial_searching: Fix doc 2022-11-29 10:45:00 +00: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
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
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01: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
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
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 9533a9fea8 remove CGAL/result_of.h and move its content to config.h 2021-05-07 12:51:07 +02:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +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
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
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
Laurent Rineau c12d06a7bc Merge pull request #5483 from danston/OTR-make_move_iterator_fix-danston
Kd_tree using vector constructor instead of insert
2021-03-03 17:21:33 +01:00
Laurent Rineau 5a316aa479 Merge pull request #5483 from danston/OTR-make_move_iterator_fix-danston
Kd_tree using vector constructor instead of insert
2021-03-03 16:34:43 +01:00
Dmitry Anisimov 2aa9b0297c kd tree using vector constructor instead of insert 2021-02-22 09:46:27 +01:00
Laurent Rineau 4c947f0ee0 Merge pull request #5340 from danston/CGAL-clang_warnings_fix-danston
Clang warnings fixed
2021-02-05 16:10:37 +01:00
Sébastien Loriot bc161f2ae9 Merge 'CGAL-Eigen3_support-5.2' 2021-01-15 10:59:20 +01:00
Sébastien Loriot f4935dc199 Merge branch 'CGAL-Eigen3_support-5.1' 2021-01-15 10:54:02 +01:00
Sébastien Loriot eecb00534e fix macro name to be consistent with find_package 2021-01-15 10:43:34 +01:00
Dmitry Anisimov 269a47d773
Merge branch 'master' into CGAL-clang_warnings_fix-danston 2021-01-14 16:51:13 +01:00
Dmitry Anisimov 3fbb269392 spatial searching range loop analysis ref to copy warning fixed 2021-01-07 17:05:04 +01:00
Maxime Gimeno 1d98f0f71d Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-12-09 14:40:02 +01:00
Mael Rouxel-Labbé c4c4b5b79d Tiny doc improvements 2020-11-30 18:48:37 +01:00
Mael Rouxel-Labbé 653dc4896f Rename 'D' to 'Dimension'
This wasn't a real requirement as none of the models provided by CGAL
actually provided this typedef, but it's in the concept to explicit
the dimension requirements between the kd-tree and the object.
2020-11-30 18:41:13 +01:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Mael Rouxel-Labbé 8682f9bafb Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-08-24 11:45:17 +02:00