Commit Graph

168 Commits

Author SHA1 Message Date
Sébastien Loriot 3ecce6310f remove no longer needed parameter 2022-02-24 12:08:12 +01:00
Sébastien Loriot 0b4fc7c031 handle deprecated code 2022-01-31 16:56:15 +01:00
Sébastien Loriot 432207df48 simplify API 2022-01-26 16:05:05 +01:00
Sébastien Loriot 1fb47e3fd1 accomodate updates of named parameters 2022-01-21 15:25:18 +01:00
Sébastien Loriot a413c71ed9 rename data file 2022-01-21 13:56:35 +01:00
Dmitry Anisimov 0c00a3941f Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-11-24 15:50:29 +01:00
Dmitry Anisimov 930278ec50 Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-11-16 14:57:16 +01:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 58181afcdb remove useless include directives 2021-11-09 10:16:12 +01:00
Dmitry Anisimov f6144e09ed fixed some paths to data 2021-10-21 17:14:03 +02:00
Dmitry Anisimov 634b961b1c Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-10-21 16:29:48 +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é 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
Mael Rouxel-Labbé df560987a6 Whitespace & cleaning changes 2021-10-08 12:13:43 +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
Dmitry Anisimov 9d251eef0f fixed example naming for docs 2021-09-27 17:32:08 +02:00
Dmitry Anisimov c093f84ac9 cleanup 2021-09-27 14:45:31 +02:00
Dmitry Anisimov 7465e7caac added constructors with np set to all_default 2021-09-27 12:40:08 +02:00
Dmitry Anisimov 6aab0f8530 added status to cmakelists 2021-09-27 12:39:42 +02:00
Sébastien Loriot bd345c7f83 remove .cmd files for examples 2021-09-23 18:54:46 +02:00
Dmitry Anisimov 8c0b6f14d6 fixed wrong np 2021-09-23 14:26:30 +02:00
Dmitry Anisimov ae50a0beae fixed examples + some other small stuff 2021-09-22 17:36:32 +02:00
Dmitry Anisimov 7a068f227a adding np to cylinder classes 2021-09-22 16:10:31 +02:00
Dmitry Anisimov 2c16e6f9bf adding np to sphere classes 2021-09-22 15:27:01 +02:00
Dmitry Anisimov 0fbc3ea1bb removed fitting.h and using np in circle classes 2021-09-22 14:59:01 +02:00
Dmitry Anisimov b28f32269b make everything compile 2021-09-22 13:04:59 +02:00
Dmitry Anisimov 0d86275191 Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-09-22 12:20:28 +02:00
Maxime Gimeno 499301c759 More fixes 2021-08-31 16:00:37 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Dmitry Anisimov 460c50b142 Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-08-16 12:28:34 +02:00
Dmitry Anisimov c2a1f047eb fixed test suite errors in examples 2021-08-16 11:56:36 +02:00
Dmitry Anisimov d41072d7a9 removed old target 2021-08-16 10:40:40 +02:00
Dmitry Anisimov 2246c4dcef Merge remote-tracking branch 'origin/master' into Shape_detection-Region_growing_on_spheres-GF 2021-08-16 10:27:39 +02:00
Dmitry Anisimov ae0a1fd6d0 Merge remote-tracking branch 'origin/Shape_detection-fix_leaks_in_ransac-danston' into Shape_detection-Region_growing_on_spheres-GF 2021-07-08 17:31:45 +02:00
Dmitry Anisimov 5e616f74e6 fixed leaks in ransac related to callback 2021-07-08 17:30:26 +02:00
Dmitry Anisimov 73df51622f fixed errors and warnings from the test suite 2021-07-08 16:38:53 +02:00
Dmitry Anisimov c1aa66f0fa renamed max to maximum and min to minimum and cos to cosine to be consistent with other NP in CGAL 2021-06-30 13:15:06 +02:00
Dmitry Anisimov bc97030bd6 removed outdated example 2021-06-29 16:33:23 +02:00
Dmitry Anisimov afb138478d all plane regularization stuff in shape detection is now moved to shape regularization 2021-06-25 16:55:15 +02:00
Dmitry Anisimov 2a932f6606 Merge remote-tracking branch 'origin/master' into Shape_detection-Region_growing_on_spheres-GF 2021-06-25 13:30:08 +02:00
Dmitry Anisimov 1524a0f48f renamed params 2021-06-14 16:31:09 +02:00
Dmitry Anisimov 68b86a47b0 better naming for parameters 2021-06-14 12:43:04 +02:00
Dmitry Anisimov beef78cab7 missing IO namespace 2021-06-01 16:34:55 +02:00
Dmitry Anisimov 4f1fc20e22 Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-06-01 16:06:16 +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
Simon Giraudot ad17c0b562 Cylinder/circle sorting + documentation update 2021-05-04 08:47:08 +02:00
Simon Giraudot 4080a8c32f Rebase 2021-04-28 08:20:24 +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
Dmitry Anisimov fe5e3415e8 changed API of Polyline_graph 2021-04-13 11:59:34 +02:00
Dmitry Anisimov b6e2ea61ea named parameters now include point/normal/segment maps 2021-04-12 18:02:57 +02:00
Dmitry Anisimov 3c48e35138 review Sebastien 2021-04-12 14:02:14 +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
Dmitry Anisimov c7d9f007ce updated docs, region growing now properly handles the first time call for all regions 2021-03-29 15:01:40 +02:00
Dmitry Anisimov a1af0e9bb3 added segment set region type + better polyline graph 2021-03-26 16:53:15 +01:00
Dmitry Anisimov 8cc513e935 added internal region growing traits and polyline graph based on segments 2021-03-26 14:48:53 +01:00
Dmitry Anisimov 35648ab3d6 cleanup, move some stuff to internal, updated docs 2021-03-26 11:12:46 +01:00
Dmitry Anisimov c502a39ea9 added empty segment set classes + updated several docs 2021-03-25 17:16:27 +01:00
Dmitry Anisimov 462817c48e added polyline graph test 2021-03-25 14:55:01 +01:00
Dmitry Anisimov 793037c3d7 more precise tests, point set free function, better plane detection on points 2021-03-24 17:28:22 +01:00
Dmitry Anisimov da8e1a66a3 cleanup (new assertions, removed useless code, etc.) + better examples 2021-03-24 12:25:22 +01:00
Dmitry Anisimov ca8c7f0470 added polyline classes, both 2D and 3D, fixed a few small things in other classes 2021-03-23 18:51:40 +01:00
Dmitry Anisimov b31c9016f9 internal code is unified, added utility functions, added normal orientation 2021-03-23 15:29:42 +01:00
Dmitry Anisimov b971f6a0e2 added free functions and new examples 2021-03-22 13:22:32 +01:00
Dmitry Anisimov 3ae46dd890 added new examples with free functions + new data 2021-03-19 17:15:54 +01:00
Dmitry Anisimov b29db4ca7d simplified region growing examples 2021-03-19 16:11:37 +01:00
Dmitry Anisimov 2d0b31b7f7 added named parameters 2021-03-19 14:32:14 +01:00
Simon Giraudot bbcab8e56f Merge remote-tracking branch 'mine/Shape_detection-Region_growing_on_spheres-GF' into Shape_detection-Region_growing_on_spheres-GF 2021-03-03 11:52:14 +01:00
Simon Giraudot dc858ba722 Clean up namings according to review 2021-02-23 08:34:15 +01:00
Simon Giraudot 244ca61261 Text corrections from review 2021-02-23 08:26:41 +01:00
Maxime Gimeno b80daff6fb Fixes 2021-02-19 11:31:52 +01:00
Maxime Gimeno 7f189620d8 Remove CMAKE_CXX_STANDARD commands in cmake scripts 2021-02-08 10:06:23 +01:00
Laurent Rineau f176529041 Merge pull request #5357 from sloriot/CGAL-boost_function_output-master
Include non-deprecated header (master)
2021-01-21 16:22:39 +01:00
Laurent Rineau 52bb68c012 Merge pull request #5356 from sloriot/CGAL-boost_function_output-5.2
Include non-deprecated header (5.2)
2021-01-21 16:18:55 +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
Sébastien Loriot ad911271a9 Merge commit '6594e7549bd70923990d86c31e2aa267a79bb629' into HEAD 2021-01-15 10:12:17 +01:00
Sébastien Loriot bdd4efe3b3 Merge commit 'efc0c525e8b' into HEAD 2021-01-15 10:06:56 +01:00
Sébastien Loriot efc0c525e8 include non-deprecated header 2021-01-15 10:02:00 +01:00
Simon Giraudot 773642e9dc Fix Boost include 2021-01-06 07:59:14 +01:00
Simon Giraudot 8a2029e233 Add possibility to restrict radius of sphere/circle/cylinder 2021-01-04 15:20:10 +01:00
Simon Giraudot 5e0487e455 Add region growing on cylinders for point_set_3 2020-12-31 13:26:57 +01:00
Simon Giraudot 31c577fc47 Add region growing on circles for point_set_2 2020-12-30 14:51:15 +01:00
Simon Giraudot da90b6ee4f Add region growing on spheres for point_set_3 2020-12-30 08:48:28 +01:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Mael Rouxel-Labbé 26ae0d2b8c Misc compilation fixes 2020-06-23 19:11:55 +02:00
Mael Rouxel-Labbé 24d2ee9c75 Use the new IO functions in Point_set_3 / PSP_3 examples 2020-06-21 15:06:20 +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 ea53a8d70d Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-06-17 14:25:21 +02:00
Maxime Gimeno 25c8313859 Replace IO functions in examples and fix Surface_mesh read_OFF() 2020-06-16 14:36:24 +02:00
Simon Giraudot 421096fd7f Use imported targets everywhere 2020-04-15 14:06:13 +02:00
Maxime Gimeno abc623d5a8 clean-up 2020-04-01 15:03:43 +02:00
Maxime Gimeno 69a2a23cc6 rename IO functions in point_set packages 2020-04-01 14:33:14 +02: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