Sébastien Loriot
5bcf690668
test even in release
2021-12-27 13:12:54 +01: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é
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
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
Mael Rouxel-Labbé
fd12c73cba
Enhance tests
2021-09-15 14:59:40 +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
cff3cdb40e
Merge remote-tracking branch 'cgal/5.2.x-branch' into HEAD
2021-08-12 10:23:57 +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
Laurent Rineau
e222e772f1
Merge pull request #5589 from MaelRL/Number_types-Fix_approx_sqrt_mpq-GF
...
Fix approximate_sqrt return types
# Conflicts:
# Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp
2021-05-18 18:16:44 +02:00
Laurent Rineau
26ad68e486
Merge pull request #5649 from sloriot/CGAL-no_boost_shared_ptr
...
Replace internal use of boost shared_ptr
2021-05-18 18:14:12 +02:00
Laurent Rineau
1ac4c2903a
Merge pull request #5589 from MaelRL/Number_types-Fix_approx_sqrt_mpq-GF
...
Fix approximate_sqrt return types
2021-05-18 17:32:26 +02:00
Laurent Rineau
49aff67985
Merge pull request #5689 from janetournois/PMP-isotropic_remeshing_fixes-jtournois
...
PMP::isotropic_remeshing - fixes about "isolated constraints"
# Conflicts:
# Polygon_mesh_processing/test/Polygon_mesh_processing/CMakeLists.txt
2021-05-18 17:31:55 +02:00
Laurent Rineau
e0a4dd0680
Merge pull request #5677 from sloriot/CGAL-IO_namespace
...
CGAL IO namespace
# Conflicts:
# Installation/test/Installation/test_gmp_mpfr_dll.cpp
2021-05-18 17:31:40 +02:00
Laurent Rineau
b33a2f17bd
Merge pull request #5689 from janetournois/PMP-isotropic_remeshing_fixes-jtournois
...
PMP::isotropic_remeshing - fixes about "isolated constraints"
# Conflicts:
# Polygon_mesh_processing/test/Polygon_mesh_processing/CMakeLists.txt
2021-05-18 17:06:45 +02:00
Jane Tournois
14385aaf15
add a test with isolated constraints, on and away from mesh borders
2021-05-06 17:48:39 +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
Sébastien Loriot
1faa0e2992
replace internal use of boost::shared_ptr by std::shared_ptr
2021-04-28 10:55:26 +02:00
Sebastien Loriot
fa4a31a87b
Merge pull request #5583 from sloriot/PMP-face_epsilon_map
...
Polyhedral_envelope: face epsilon map
2021-04-21 15:26:48 +02:00
Mael Rouxel-Labbé
c489b7ffa5
Add missing Coercion_traits specialization for custom FT in PMP test
2021-04-20 15:59:29 +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
Sébastien Loriot
4436fd62a5
Merge pull request #5266 from janetournois/PMP-isotropic_remeshing_collapse_step-jtournois
...
PMP isotropic_remeshing() - improve edge flip step
2021-04-17 10:51:15 +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
Jane Tournois
371706e92a
Merge remote-tracking branch 'cgal/master' into PMP-isotropic_remeshing_collapse_step-jtournois
...
# Conflicts:
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h
2021-04-08 11:11:51 +02:00
Sébastien Loriot
667817ece0
test new API
2021-04-07 15:27:56 +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
Laurent Rineau
d46dcec5e5
Merge pull request #5510 from pentacular/wasm
...
Round-to-nearest support for intervals
2021-04-06 15:13:09 +02:00
Laurent Rineau
8247232cf1
Merge pull request #5535 from sloriot/CGAL-more_cmake_support_files
...
Add more cmake support files
2021-04-06 15:13:04 +02:00
Sébastien Loriot
f4a79aebd8
catch const ref
2021-03-31 14:12:43 +02:00
Brian Spilsbury
b05f6061ab
Merge branch 'master' into wasm
2021-03-20 17:57:57 +09:00
Sébastien Loriot
ac15312260
add Ceres support cmake file
2021-03-18 14:47:56 +01:00
Sébastien Loriot
a177ed01a4
fix warnings
2021-03-04 09:34:56 +01:00
Sébastien Loriot
a4669bc39f
Merge remote-tracking branch 'cgal/master' into HEAD
2021-03-04 09:34:26 +01:00
Sebastien Loriot
ec8bfa577a
missing typename
2021-03-04 09:02:33 +01:00
Laurent Rineau
adc8d9b686
Merge pull request #5442 from MaelRL/PMP-stitch_borders_reintroduce_zipping-GF
...
Re-introduce some kind of zipping as a first step to boundary cycle stitching
2021-03-03 17:29:45 +01:00
Brian Spilsbury
d3d24faf04
Add tests
2021-03-03 19:45:40 +09:00
Mael Rouxel-Labbé
abe1f6e577
Misc cleaning
2021-02-22 16:51:35 +01:00
Laurent Rineau
1a040c8552
Merge pull request #4749 from danston/Polygon_mesh_processing-triangulate_hole_with_cdt2-danston
2021-02-19 07:59:59 +01: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
d5811d0a41
clang-tidy on tests
2021-02-18 15:15:12 +01:00
Mael Rouxel-Labbé
1b01b67c86
Added a test for zipping-based boundary cycle stitching
2021-02-08 15:54:52 +01:00
Maxime Gimeno
98ffbba648
Fix warning
2021-02-02 14:55:50 +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
Dmitry Anisimov
3551d0224b
fixed IO interface + the bug with misplaced assertions
2021-01-26 10:38:03 +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