Commit Graph

1223 Commits

Author SHA1 Message Date
Sébastien Loriot 689da92ae4 Merge remote-tracking branch 'PMP-relax' into master 2022-03-23 22:09:20 +01:00
Mael Rouxel-Labbé efd9456e15 Enrich test of orient_PS family (non trivial NPs) 2022-03-15 10:45:06 +01:00
Mael Rouxel-Labbé 90ba4c5e92 Test orient_triangle_soup_with_reference_triangle_soup() 2022-03-15 00:07:35 +01:00
Mael Rouxel-Labbé f8215a1858 Merge remote-tracking branch 'cgal/master' into PMP-Orient_PS_with_PS-GF 2022-03-14 23:32:51 +01:00
Mael Rouxel-Labbé fe0c31074c Modernize and improve test of orient_PS family 2022-03-14 23:32:24 +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
Laurent Rineau f1a71f2f6e Merge pull request #6335 from MaelRL/PMP-Bounded_Hausdorff_Distance_Fix-GF
Fixes for bounded Hausdorff computations
2022-03-02 15:13:53 +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 a8a3bbd9c4 avoid a double to size_t warning 2022-02-23 11:25:52 +01:00
Sébastien Loriot e0f3051f95 never try to fix when a polyline does not split a patch 2022-02-23 11:13:22 +01:00
Mael Rouxel-Labbé 4c1df5eea7 Fix hausdorff tests 2022-02-18 16:34:46 +01:00
Sébastien Loriot 77e5beeaca use features available in std instead of boost 2022-02-03 09:28:52 +01:00
Sébastien Loriot 126b78fecf Merge remote-tracking branch 'sloriot/PMP-relax' into HEAD 2022-01-19 13:50:46 +01:00
Andreas Fabri 03bcb67ca6 Deal with PCA 2022-01-18 18:51:37 +00: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
Laurent Rineau cdf33d4ff9 Merge pull request #6069 from sloriot/PMP-rnd_np
Add random generator np for sampling
2022-01-12 12:21:58 +01:00
Sébastien Loriot c2a7f8a84a fix indentation 2022-01-11 13:07:15 +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 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
Sébastien Loriot 3a1064c762 remove strange useless helper class 2022-01-07 13:25:04 +01:00
Sébastien Loriot 9714557046 replace overloads with default parameters (PMP) 2022-01-05 14:41:46 +01:00
Sébastien Loriot 1e7785b427 do not use PMP::parameters namespace 2022-01-04 16:00:38 +01:00
Jane Tournois e0910f4d72 fix input type 2022-01-04 15:58:20 +01:00
Sébastien Loriot 6848e69987 replace all_default() by use_default_values() in tests and examples 2022-01-04 14:06:26 +01:00
Sébastien Loriot edcfdabf89 fix warnings 2022-01-03 16:31:09 +01:00
Maxime Gimeno 931ed5285e add Lookup_named_param_def 2022-01-03 16:31:08 +01:00
Maxime Gimeno 9cc1e1c5ab Add a boolean np 2022-01-03 16:31:08 +01:00
Maxime Gimeno 5e2f1236a7 Add a new default parameter named use_default_values() 2022-01-03 16:31:01 +01:00
Maxime Gimeno b28ebd5792 Add a test that gathers all usual pmp helpers for NP management 2022-01-03 16:29:23 +01:00
Laurent Rineau ef68e0b913 Merge pull request #6207 from sloriot/CGAL-set_but_not_used_variable
Fix set but unused variable warning
2022-01-03 16:22:34 +01:00
Sébastien Loriot f057a72b2b use random_seed 2022-01-03 10:35:30 +01:00
Jane Tournois 64af231b6e
Merge branch 'master' into PMP-relax 2021-12-28 14:52:48 +01:00
Sébastien Loriot 5bcf690668 test even in release 2021-12-27 13:12:54 +01:00
Jane Tournois 4f5f83acbf rename delaunay_remeshing to surface_Delaunay_remeshing
with capital D
2021-12-20 11:46:58 +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
Jane Tournois 909e69888c
Merge branch 'master' into PMP-add_surface_mesher-jtournois 2021-10-29 17:47:25 +02:00
Sébastien Loriot 9543deb304 Merge pull request #6046 from MaelRL/PM-Fix_pmaps_reference_types_master-GF
Various fixes for property maps (master)
2021-10-29 17:40:15 +02:00
Jane Tournois b53937ef9f more testing 2021-10-29 17:38:14 +02:00
Jane Tournois 1569978d3c add polyline_constraints as input for delaunay_remeshing
and add a test using it
2021-10-29 17:20:07 +02:00
Dmitry Anisimov d4f1d36f7f removed runtime assert from the hdist test 2021-10-21 15:20:16 +02:00
Sébastien Loriot d34ff25571 test named parameters 2021-10-21 09:11:18 +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
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 1857a25d28 Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02:00
Sébastien Loriot 33d60307c7 fix path 2021-10-05 17:42:25 +02:00
Sébastien Loriot efbd86df7f extra manual fixes 2021-10-05 17:42:21 +02:00
Jane Tournois 276ea18313 formatting (Mael's review) 2021-10-05 11:12:49 +02:00
Sébastien Loriot 6dad5b6922 rename file 2021-10-04 11:00:40 +02:00
Sébastien Loriot b5e7d03634 fix runtime issues 2021-10-04 10:22:13 +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
Laurent Rineau 804feece28 Merge pull request #5761 from danston/Weights-unification-danston
[Small Feature] Weights Unification
2021-09-29 16:59:34 +02:00
Laurent Rineau 7e42541573 Merge pull request #5633 from sloriot/PMP-add_filter_for_caps_needles
Add a filter in function to remove caps/needle
2021-09-29 11:46:47 +02:00
Laurent Rineau e87bf84395 Merge pull request #5994 from MaelRL/PMP-Detect_sharp_edges_const-GF
Enhancements & fixes for PMP::detect_features
2021-09-29 11:46:41 +02:00
Laurent Rineau b19086946c Merge pull request #5994 from MaelRL/PMP-Detect_sharp_edges_const-GF
Enhancements & fixes for PMP::detect_features
2021-09-29 11:45:38 +02:00
Jane Tournois 6357211695 deprecate smooth_mesh() and rename it angle_and_area_smoothing() 2021-09-27 17:05:14 +02:00
Sébastien Loriot f632a11d0d fix invalid OFF headers 2021-09-23 18:56:15 +02:00
Laurent Rineau 8cdfc3b214 Merge pull request #5941 from afabri/PMP-edge_lenght_area-GF
Polygon Mesh Processing:  Add measure functions not using sqrt
2021-09-20 17:07:09 +02:00
Jane Tournois 752b5885aa add a test 2021-09-17 14:43:01 +02:00
Mael Rouxel-Labbé fd12c73cba Enhance tests 2021-09-15 14:59:40 +02:00
Sébastien Loriot 2337757ce4 add a way to pass functions to build local filters ...
...  created from link faces of edges to be flipped or collapsed
2021-09-14 21:43:41 +02:00
Mael Rouxel-Labbé 08ab4a1c3a Make test failures easier to understand 2021-09-13 16:47:34 +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 4afc249100 do not hide type definitions 2021-09-09 15:58:00 +02:00
Sébastien Loriot 64738572f8 Merge remote-tracking branch 'cgal/5.3.x-branch' 2021-09-06 18:53:55 +02:00
Sébastien Loriot 75ca34c2a5 Merge remote-tracking branch 'cgal/5.2.x-branch' into HEAD 2021-09-06 18:52:40 +02:00
Sébastien Loriot 000b03b595 follow up of #5889
cherry-picking for autorefinement
2021-09-06 18:44:07 +02:00
Sébastien Loriot d82ca80d04 add a filter in function to remove caps/needle to be able to plug envelope 2021-08-31 15:52:47 +02:00
Andreas Fabri e40cbc0ff5 Fixes after Mael's review 2021-08-31 10:07:44 +01:00
Dmitry Anisimov 60804d738e Merge remote-tracking branch 'origin/master' into Weights-unification-danston 2021-08-14 18:34:47 +02:00
Sébastien Loriot 038c57fb6a Merge pull request #5837 from maxGimeno/PMP-Self_intersections_limited_report-maxGImeno
PMP: Limited Number of Self-intersections
2021-08-13 18:23:20 +02:00
Sébastien Loriot e16e75c273 Merge pull request #5861 from sloriot/PMP-coref_vertex_visitor
Add vertex related functions in corefinement visitor
2021-08-13 18:17:39 +02:00
Dmitry Anisimov c975eddf13 Merge remote-tracking branch 'origin/master' into Weights-unification-danston 2021-08-12 13:29:26 +02:00
Sébastien Loriot 814c9138ef Merge remote-tracking branch 'cgal/5.3.x-branch' 2021-08-12 10:38:11 +02:00
Sébastien Loriot cff3cdb40e Merge remote-tracking branch 'cgal/5.2.x-branch' into HEAD 2021-08-12 10:23:57 +02:00
Maxime Gimeno 7345cf1318 Merge remote-tracking branch 'cgal/master' into PMP-Self_intersections_limited_report-maxGImeno 2021-08-11 15:31:20 +02:00
Dmitry Anisimov 4126a5feec
Merge branch 'master' into Weights-unification-danston 2021-08-04 13:58:33 +02:00
Sébastien Loriot 9dc3f84d73 try to workaround non-determinism 2021-08-03 14:25:50 +02:00
Sébastien Loriot 10ed1a058e add more tests 2021-07-29 17:22:37 +02:00
Sébastien Loriot 743a5fc29e add split case with a plane containing border edges 2021-07-29 13:21:16 +02:00
Maxime Gimeno e83dc8775d fixes after review 2021-07-23 15:13:33 +02:00
Sébastien Loriot 61ab2c1ed9 fix conversion warning 2021-07-22 11:28:28 +02:00
Sébastien Loriot fa826dbe49 add some tests for the visitor 2021-07-21 17:04:21 +02:00
Sébastien Loriot 6e52c99202 remove isolated vertices 2021-07-21 17:02:31 +02:00
Sébastien Loriot d8a375bada generate the refine version of blobby 2021-07-20 21:41:54 +02:00
Sébastien Loriot 7fbec6faaa do not test the paper bench 2021-07-20 21:04:00 +02:00
Sébastien Loriot 6bd71a349f fix test 2021-07-20 20:55:10 +02:00
Sébastien Loriot 429446dda6 if test if TBB is not be available 2021-07-15 15:19:23 +02:00
Maxime Gimeno 03a1639eff Replace NP name 2021-07-09 14:37:21 +02:00
Maxime Gimeno 38d1246c28 Function and tests written, need better doc and functor for sequential 2021-07-07 13:19:14 +02:00
Dmitry Anisimov ad6a7183c5 added missing IO ns 2021-06-18 14:47:32 +02:00
Dmitry Anisimov aaf55dbaa0 Merge remote-tracking branch 'maxGimeno/PMP-compare_faces_from_meshes-maxGimeno' into gsoc2019-PMPHDist-martinskrodzki 2021-06-18 14:45:24 +02:00
Dmitry Anisimov 859bae9036 sebastien review 2021-06-18 14:44:09 +02:00
Dmitry Anisimov aac86cb4d4 pmp, refactoring internal weights representation 2021-06-09 12:23:14 +02:00
Dmitry Anisimov 4fa2463fea pmp, renamed weight wrappers 2021-06-04 13:46:42 +02:00