Sébastien Loriot
9242a810c4
Merge remote-tracking branch 'cgal/master' into Region_growing-revision-soesau
2023-02-07 11:31:55 +01:00
Sébastien Loriot
d3b13fb11c
Merge branch 'cgal/5.5.x-branch'
2022-12-05 19:00:39 +01:00
Jane Tournois
38fd07dfc4
differentiate has_normal_map() between const and non-const point set
2022-11-08 10:24:43 +01:00
Sebastien Loriot
1a226ed877
Restore [revious API
2022-11-07 10:41:22 +01:00
Jane Tournois
e99f442830
NP_helper::has_normal_map should not always return true
...
look for a normal_map in the point set, and in the named parameters
# Conflicts:
# BGL/include/CGAL/boost/graph/named_params_helper.h
# Point_set_processing_3/include/CGAL/jet_estimate_normals.h
2022-10-25 12:12:29 +02:00
Sven Oesau
80eb8601e6
Merge branch 'CGAL:master' into Region_growing-revision-soesau
2022-09-02 16:42:41 +02:00
Sven Oesau
17e0923058
Merge branch 'master' into Region_growing-revision-soesau
2022-06-24 11:06:56 +02:00
Sébastien Loriot
ac8b6d4731
boost::is_same --> std::is_same
2022-06-10 08:18:20 +02:00
Sébastien Loriot
594d8bf38e
remove tag that is not used and add a way to pass default Point and Normal maps
2022-05-18 15:23:23 +02:00
Mael Rouxel-Labbé
477353d5eb
Merge parameters::Is_default and parameters::is_default_parameter
2022-04-20 16:01:02 +02:00
Mael Rouxel-Labbé
f4012763a9
Fix indentation in named_param_helpers.h (no real changes)
2022-04-20 15:37:26 +02: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
e2a24f8ca3
replace overloads with default parameters (BGL)
2022-01-05 11:04:25 +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
4eb1464aed
fix Identity_map mutability and fix CGAL code using it
2021-11-09 11:37:24 +01: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
Laurent Rineau
c70da09776
Merge pull request #5049 from sloriot/PMP-corefine_non_manifold
...
corefine with non manifold edges
2021-02-18 15:26:56 +01:00
Maxime Gimeno
cca6d7fa88
add missing using
2021-02-08 09:06:57 +01:00
Maxime Gimeno
2dac31f36f
Clean-up and fix doc
2021-02-05 14:14:11 +01:00
Maxime Gimeno
7bf9c14f72
Factorization
2021-01-28 10:01:52 +01:00
Sébastien Loriot
71ae816bfa
Merge remote-tracking branch 'cgal/master' into PMP-corefine_non_manifold
2021-01-27 13:46:09 +01:00
Sébastien Loriot
7bcbf8fb7d
update from master
...
merge branch into master
2020-10-30 14:04:44 +01:00
Mael Rouxel-Labbé
f55ef7dd50
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-10-09 18:36:17 +02:00
Sebastien Loriot
47d2189f8e
Merge pull request #3268 from afabri/PMP-visitor-GF
...
PMP::triangulate_faces() Add a visitor that allows to map each triangle to its original face
2020-10-02 15:26:05 +02:00
Sébastien Loriot
68124448dc
Merge branch 'PMP-corefine_non_manifold' into master
2020-09-30 13:59:30 +02:00
Jane Tournois
be7d9d1728
doc fixes
2020-09-10 14:31:48 +02:00
Jane Tournois
39e75e7530
rename split_visitor to triangulate_visitor and add PMPTriangulateFaceVisitor
2020-09-10 12:06:10 +02:00
Jane Tournois
626ba2745c
replace done() by end() to be consistent with start()
2020-09-08 21:42:00 +02:00
Jane Tournois
268c0eabee
replace operator() with more explicit visit() function
2020-09-08 19:03:34 +02:00
Jane Tournois
5490227707
fix compilation after rebase
2020-09-08 18:45:30 +02:00
Andreas Fabri
f2ff13d6c4
Add a visitor that allows to map each triangle to its original face
...
# Conflicts:
# BGL/include/CGAL/boost/graph/named_params_helper.h
# Polygon_mesh_processing/examples/Polygon_mesh_processing/triangulate_faces_example.cpp
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/triangulate_faces.h
2020-09-08 15:17:18 +02:00
Sébastien Loriot
b29a31ae27
remove boost header as nothing from the original file remains
2020-08-18 10:06:22 +02:00
Mael Rouxel-Labbé
a14d2df1d9
Move 'GetK' from ::CGAL::PMP:: to ::CGAL::
2020-05-27 09:25:03 +02:00
Simon Giraudot
fefdd13f45
Merge remote-tracking branch 'mine/PSP-Cluster_points-GF' into PSP-Cluster_points-GF
2020-05-06 08:59:40 +02:00
Simon Giraudot
60cb33fa31
Merge remote-tracking branch 'mine/PSP-Cluster_points-GF' into PSP-Cluster_points-GF
2020-04-16 17:02:19 +02:00
Mael Rouxel-Labbé
c16c1a7ea3
Merge remote-tracking branch 'cgal/master' into CGAL-Optimal_bounding_box-GF
2020-04-10 16:10:11 +02:00
Simon Giraudot
3350f9d05e
Fix warnings
2020-03-30 08:10:23 +02:00
Sébastien Loriot
9f2eafd06e
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:17:02 +01:00
Sébastien Loriot
47027d6f5b
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 18:59:19 +01:00