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