Andreas Fabri
ab0c0b96de
Remove unused typedef
2022-06-06 15:16:23 +01:00
Jane Tournois
70f5981aac
fix compilation using new is_default_parameter::value
2022-06-02 10:06:53 +02:00
Jane Tournois
86c9a35c15
Merge remote-tracking branch 'cgal/master' into PMP-add_surface_mesher-jtournois
2022-06-02 08:25:30 +01:00
Sebastien Loriot
7924273cab
Merge pull request #6448 from janetournois/Mesh_3-fix_weights_doc-jtournois
...
Mesh_3::generate_label_weights - add documentation group
2022-05-26 18:08:14 +02:00
Jane Tournois
533bb05041
fix early return type
2022-05-10 09:46:41 +02:00
Sebastien Loriot
b4ffa85e86
Fix typos
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-05-09 17:47:53 +02:00
Jane Tournois
09940df90d
Merge branch 'PMP-add_surface_mesher-jtournois' of github.com:janetournois/cgal into PMP-add_surface_mesher-jtournois
2022-05-09 16:57:54 +02:00
Jane Tournois
5d263f6f45
add a template parameter for the output mesh
2022-05-09 16:57:43 +02:00
Jane Tournois
f3713da161
the input mesh does not need to be mutable
2022-05-09 13:57:27 +02:00
Laurent Rineau
2f243c44e9
Merge pull request #6525 from janetournois/Mesh_3-fix_polylines_to_protect_angle-jtournois
...
CGAL::Mesh_3::polylines_to_protect with angle bound - bug fix
2022-05-06 14:21:56 +02:00
Jane Tournois
4e449d2722
Update Mesh_3/include/CGAL/Polygon_mesh_processing/surface_Delaunay_remeshing.h
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-05-05 16:00:51 +02:00
Laurent Rineau
83fb998a66
Fix the non-determinism
2022-05-04 17:15:39 +02:00
Jane Tournois
613eb6a2cf
doc
2022-04-29 15:57:41 +02:00
Jane Tournois
56b03c8abf
fix the use of reference type
2022-04-29 15:43:19 +02:00
Jane Tournois
65c03a5acf
reorganize feature detection section
2022-04-29 15:19:54 +02:00
Jane Tournois
59e8aa85b6
Fix return type of get_parameter_reference (use traits::reference, not const auto&)
2022-04-29 14:00:58 +02:00
Jane Tournois
f0022a5e21
change API to return triangulation instead of modifying Tr& out
...
and fix compilation errors after merging master
2022-04-29 13:53:39 +02:00
Jane Tournois
c21fe46525
Merge remote-tracking branch 'cgal/master' into PMP-add_surface_mesher-jtournois
...
# Conflicts:
# Polygon_mesh_processing/doc/Polygon_mesh_processing/PackageDescription.txt
# Polygon_mesh_processing/examples/Polygon_mesh_processing/CMakeLists.txt
2022-04-29 10:48:08 +02:00
Laurent Rineau
6f6eded0e1
Merge pull request #6492 from MaelRL/P3M3-Better_output-GF
...
Fix C3T3_facets_to_TM conversion for periodic meshes
2022-04-27 16:32:01 +02:00
Laurent Rineau
6d2a3dc772
Merge pull request #6492 from MaelRL/P3M3-Better_output-GF
...
Fix C3T3_facets_to_TM conversion for periodic meshes
2022-04-27 16:30:51 +02:00
Jane Tournois
74540b0b01
min should be max
...
90 is a conservative lower bound on angle bound
2022-04-26 15:32:02 +02:00
Andreas Fabri
61e36373aa
Mesh_3: Suppress a clang warning
2022-04-25 14:04:11 +01:00
Mael
ab03816081
Also put `Vertex_handle` typedef behind `CGAL_assertion_code`
2022-04-20 10:26:26 +02:00
Sébastien Loriot
4fc9fe5ffc
fix warning
2022-04-19 20:27:45 +02:00
Mael Rouxel-Labbé
4b82575b30
Fix C3T3_facets_to_TM conversion for periodic meshes
2022-04-15 14:11:41 +02:00
Jane Tournois
f89a6e4ce8
test if angle is acute, and then if smaller than the input angle
...
if angle at p is acute, then v should be considered as a terminal
vertex to ensure termination
2022-03-22 15:25:43 +01:00
Jane Tournois
5913be0db8
add documentation group
2022-03-22 12:13:42 +01:00
Jane Tournois
cfd0fd2201
add missing default constructor
2022-03-11 10:40:14 +01:00
Jane Tournois
8e0b41bf7e
add tunable angle to Angle_tester for polylines_to_protect()
2022-03-11 08:27:03 +01:00
Laurent Rineau
fc7f67269f
Make two programs less verbose
...
Fix #6353
2022-02-24 15:41:47 +01:00
Jane Tournois
a2abc9b9e0
fix second template parameter
2022-02-15 15:29:56 +01:00
Jane Tournois
2c14df7dd5
make kd tree mutable
2022-02-15 15:29:31 +01:00
Sébastien Loriot
593ff5371c
Merge remote-tracking branch 'cgal/master' into HEAD
2022-02-01 20:11:27 +01:00
Laurent Rineau
a22b459637
Merge pull request #6259 from afabri/Mesh_3-permissive-GF
...
Mesh_3: Fixes for VC++ with option /permissive-
2022-01-21 16:08:30 +01:00
Andreas Fabri
ade80dcf4d
Fix initialisation of atomic
2022-01-20 08:44:38 +00:00
Andreas Fabri
d4f9be848c
Mesh_3: Fixes for VC++ with option /permissive-
2022-01-19 13:58:51 +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
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
Sébastien Loriot
1c3e09f562
rename internal namespace
...
default_values -> default_values_for_mesh_3
2022-01-10 18:36:32 +01:00
Sébastien Loriot
1e7785b427
do not use PMP::parameters namespace
2022-01-04 16:00:38 +01:00
Laurent Rineau
7cada272e8
Merge pull request #6124 from janetournois/Mesh_3-polyhedral_complex_in_demo-GF
2022-01-03 16:48:37 +01:00
Laurent Rineau
7e0f325f87
Merge pull request #6196 from MaelRL/Mesh_3-Remove_trailing_semicolon-GF
...
Fix: remove extra ';'
2022-01-03 16:26:05 +01:00
Mael Rouxel-Labbé
91d862d997
Remove extra ';'
2021-12-23 11:58:28 +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
f26de8e819
use the container in STL_extension and not the internal one
2021-11-30 13:20:15 +01:00
Jane Tournois
e6bacfb226
make polyhedral complex usable with Surface_mesh
2021-11-12 10:44:41 +01:00
Jane Tournois
c9b70e46a3
doc
2021-11-02 14:40:35 +01:00
Jane Tournois
cc53fadab1
avoid copy
2021-11-02 14:37:44 +01:00
Jane Tournois
32ac340b6e
fix link
2021-11-02 13:49:24 +01:00
Jane Tournois
61507f33c9
doc
2021-11-02 11:32:11 +01:00
Jane Tournois
fa06d5f8c5
use get_parameter_reference and remove nasty include
2021-11-02 11:31:13 +01:00
Jane Tournois
bbee8a9063
use is_default_parameter
2021-11-02 11:27:14 +01:00
Jane Tournois
79c4d4f1c8
mael's review
2021-11-02 11:23:50 +01:00
Jane Tournois
18529dded2
ref added
2021-11-02 09:40:20 +01:00
Sébastien Loriot
ac77ee3140
fix doc build
2021-11-01 16:17:11 +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
1569978d3c
add polyline_constraints as input for delaunay_remeshing
...
and add a test using it
2021-10-29 17:20:07 +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
bb7253638e
Merge pull request #6040 from lrineau/Mesh_3-remove_const_in_Set_of_indices-lrineau
...
CGAL/Mesh_3/experimental/AABB_filtered_projection_traits.h: Remove boost::remove_const<..> from the index type
2021-10-29 16:59:59 +02:00
Laurent Rineau
aca24f489b
Merge pull request #6054 from janetournois/Mesh_3-uninitialized_warnings-GF
...
Mesh_3 - fix maybe uninitialized warning
2021-10-29 16:59:45 +02:00
Jane Tournois
90b5c60956
rename make_surface_mesh() to delaunay_remeshing()
2021-10-29 14:52:14 +02:00
Jane Tournois
b664ee54c3
workaround deprecation warning of versions < 5 of ITK
2021-10-29 12:27:04 +02:00
Jane Tournois
b221437366
doc
2021-10-27 22:58:02 +02:00
Jane Tournois
5ec19abc7b
domain.detect_features() and domain.add_features() cannot be called in sequence
...
so we separate the use of edge_is_constrained_map and automatic detection of features
2021-10-27 22:53:48 +02:00
Jane Tournois
c113247f83
add missing typename
2021-10-27 13:18:21 +02:00
Jane Tournois
e8ac9f281c
add feature detection
2021-10-27 12:24:24 +02:00
Jane Tournois
a9318b3832
fix maybe uninitialized warning
2021-10-15 09:48:54 +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
Jane Tournois
c8918a9b0d
fix conversion warning
2021-10-11 13:19:40 +02:00
Jane Tournois
9041574b9e
remove free function remove_isolated_vertices_in_mesh_3
...
a member function of C3T3 is enough
2021-10-11 12:24:10 +02:00
Laurent Rineau
1af4f9336b
Remove boost::remove_const<..> for the index type
...
It does not seem to be necessary. Actually, I really do not see why it
could have been necessary in the past.
2021-10-08 16:24:51 +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
a5e3469e78
Merge pull request #6011 from janetournois/Mesh_3-prevent_bad_initialization-jtournois
...
Mesh_3 - warning message after bad initialization
2021-10-06 12:04:54 +02:00
Jane Tournois
ac7b637247
make types consistent with non-weighted label images
2021-10-05 10:27:03 +02:00
Jane Tournois
f5eeffbbf6
remove unnecessary inheritance
2021-10-04 16:41:40 +02:00
Jane Tournois
5b2e4d1501
replace std::unary_function, that is deprecated in C++11
2021-10-04 16:09:50 +02:00
Jane Tournois
a6d486f11a
add missing cast
2021-10-04 15:23:44 +02:00
Jane Tournois
dd493fdc9a
loop on i because label is not used
2021-10-04 12:11:45 +02:00
Jane Tournois
7dc8723d54
fix default in doc
2021-10-01 14:47:46 +02:00
Jane Tournois
6e9252d196
doc
2021-10-01 14:25:14 +02:00
Jane Tournois
aa3505084d
add facet_topology
2021-10-01 10:59:15 +02:00
Jane Tournois
7e673974cc
add facet_distance
2021-10-01 10:30:08 +02:00
Jane Tournois
dfe501d70a
add facet_angle
2021-10-01 10:22:15 +02:00
Jane Tournois
8837473736
add facet_size
2021-10-01 09:41:06 +02:00
Jane Tournois
9bbd1b179a
add edge sizing field management
2021-10-01 09:23:25 +02:00
Jane Tournois
b26edb5a86
minor reorganization
2021-09-30 15:36:03 +02:00
Jane Tournois
dd0b8aaa12
doc
2021-09-30 15:03:46 +02:00
Jane Tournois
4e5ca9d9ac
remove unused named parameter
2021-09-30 14:53:39 +02:00
Jane Tournois
ad066f656e
fix license include
2021-09-30 14:50:00 +02:00
Sébastien Loriot
6dd313d233
move header to Mesh_3
2021-09-30 14:40:44 +02:00
Jane Tournois
932639eb6f
move warning code to have it happen when c3t3 has already been scanned
2021-09-30 11:24:21 +02:00
Jane Tournois
591141b600
use v->meshing_info() for performances
...
it avoids creating two std::set of vertices, and the use of
std::set_difference
2021-09-27 14:57:10 +02:00
Jane Tournois
db5e638ac2
un-document remove_far_points_in_mesh_3 and merge with remove_isolated_vertices_in_mesh_3
2021-09-27 11:47:43 +02:00
Jane Tournois
dc0dad1577
remove wrong recommendation
2021-09-27 11:02:42 +02:00
Jane Tournois
8864d3fb7e
fix iterator type
2021-09-24 17:50:57 +02:00
Jane Tournois
0f4c64b7f4
fix iterator type
2021-09-24 17:34:27 +02:00
Jane Tournois
7545d2e302
document remove_isolated_vertices_in_mesh_3()
2021-09-24 17:15:36 +02:00