Commit Graph

1699 Commits

Author SHA1 Message Date
Sébastien Loriot 10b0af3092 rename macro since Named_function_parameter is part of STL_Extension 2022-01-13 14:43:34 +01: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 398e71d37d Merge pull request #6155 from sloriot/STL_extension-Modifiable_priority_queue_clean_up
Add option to use a relaxed order
2022-01-12 12:21:53 +01:00
Laurent Rineau 20cdd62d07 Merge pull request #6230 from sloriot/CGAL-doxy_default
Update latest default
2022-01-12 11:41:26 +01:00
Sébastien Loriot 1a0ef7883e add missing \cond 2022-01-11 12:39:57 +01:00
Sébastien Loriot 368b715c1f readd remove overloads 2022-01-10 18:36:37 +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 c8b0c157cc plane_index_map is not optional!
update doc + cleaner static assert
2022-01-07 14:03:41 +01:00
Sébastien Loriot 8d4e63bbe9 more simplification and use existing classes 2022-01-07 13:48:04 +01:00
Sébastien Loriot 3a1064c762 remove strange useless helper class 2022-01-07 13:25:04 +01:00
Sébastien Loriot f7c8e4919a add static function to check for the presence of a normal map 2022-01-07 13:10:29 +01:00
Sébastien Loriot 821e7b79a2 remove some Point_set_processing specific helper classes 2022-01-06 18:53:46 +01:00
Sébastien Loriot a3a0d9a22a replaces overloads with default parameters (Tetra remeshing) 2022-01-06 15:21:34 +01:00
Sébastien Loriot 5f1803489b replaces overloads with default NamedParameters for Point_set_processing_3
+enhancement of the NP for Point_set_processing_3
2022-01-06 15:11:23 +01:00
Sébastien Loriot 9714557046 replace overloads with default parameters (PMP) 2022-01-05 14:41:46 +01:00
Sébastien Loriot e2a24f8ca3 replace overloads with default parameters (BGL) 2022-01-05 11:04:25 +01:00
Sébastien Loriot 92a0ced3c0 replace overloads with default parameters (PMP) 2022-01-04 18:46:42 +01:00
Sébastien Loriot 0ce2e8b535 WIP 2022-01-04 17:50:56 +01:00
Sébastien Loriot 1e7785b427 do not use PMP::parameters namespace 2022-01-04 16:00:38 +01:00
Sébastien Loriot a6d9b99466 move macros in BaseDoxyfile 2022-01-04 11:10:09 +01:00
Sébastien Loriot 7bd0579f31 clean up 2022-01-03 16:45:59 +01:00
Sébastien Loriot 8e6be46010 move definition of the default np 2022-01-03 16:31:09 +01:00
Maxime Gimeno 5e2f1236a7 Add a new default parameter named use_default_values() 2022-01-03 16:31:01 +01:00
Sébastien Loriot b9e2dc625a add relaxed order as parameter 2021-11-30 17:49:58 +01:00
Laurent Rineau e25669cfcc Merge pull request #6145 from sloriot/BGL-collapse_edges_with_cst
Fix collapse_edge bug when both edges to remove are constrained edges
2021-11-25 17:28:07 +01:00
Laurent Rineau fa4fcfc990 Merge pull request #6145 from sloriot/BGL-collapse_edges_with_cst
Fix collapse_edge bug when both edges to remove are constrained edges
2021-11-25 17:27:37 +01:00
Laurent Rineau 914ba548b6 Merge pull request #6144 from MaelRL/BGL-Fix_METIS_npart_int-GF
Fix conversion error in METIS wrappers
2021-11-23 15:39:20 +01:00
Laurent Rineau cd747b44c1 Merge pull request #6144 from MaelRL/BGL-Fix_METIS_npart_int-GF
Fix conversion error in METIS wrappers
2021-11-23 15:38:33 +01:00
Sébastien Loriot 7169811f60 remove extra ; and fix indentation 2021-11-23 10:21:20 +01:00
Sébastien Loriot d2be97b1eb fix bug when both edges to remove are constrained edges 2021-11-23 10:16:23 +01:00
Mael Rouxel-Labbé 4f02dd2fc2 Fix the previous, bad fix 2021-11-22 13:06:46 +01:00
Mael Rouxel-Labbé 3857c58324 Fix #part type 2021-11-22 12:38:53 +01:00
Sébastien Loriot 4eb1464aed fix Identity_map mutability and fix CGAL code using it 2021-11-09 11:37:24 +01:00
Sébastien Loriot d33d8d72d7 add missing include statement 2021-11-02 13:54:36 +01:00
Laurent Rineau 22c4c859d2 Merge branch '5.3.x-branch' 2021-11-02 10:59:04 +01:00
Sébastien Loriot 120d94a4cf add new test for documented named parameters 2021-11-01 09:39:51 +01: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
Sébastien Loriot 90bc05e715 Merge pull request #6047 from MaelRL/PM-Fix_pmaps_reference_types_5.3-GF
Various fixes for property maps (5.3)
2021-10-29 17:39:22 +02:00
Laurent Rineau ca89949169 Merge pull request #5597 from lrineau/Mesh_3-weighted_images-GF
Mesh_3: Add weighted images
2021-10-29 17:01:33 +02:00
Laurent Rineau 0f498e9cc1 Merge pull request #6072 from sloriot/Tetra_remeshing-fix_np
Fix invalid np name
2021-10-29 16:58:27 +02:00
Sébastien Loriot 49608861ea fix invalid np name 2021-10-20 15:35:50 +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é 2331eb7cf4 Fix comment 2021-10-08 15:41:54 +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
Mael Rouxel-Labbé 12805b47e8 Uniformize expansion term 2021-10-05 11:33:47 +02:00
Laurent Rineau 4138477558 Merge pull request #5958 from sloriot/BGL-split_node_less_fctr_calls
Call is-termimal functor only on degree 2 nodes
2021-09-30 16:49:40 +02:00