Mael Rouxel-Labbé
4efaa1e9cb
Fix link to replacement function
2024-12-13 11:57:30 +01:00
Mael Rouxel-Labbé
373ad84461
Improve discrete curvature implementation
2024-12-10 21:17:36 +01:00
Sébastien Loriot
078053314e
Merge remote-tracking branch 'cgal/6.0.x-branch' in master
2024-12-10 16:33:32 +01:00
Sébastien Loriot
3fa3568e6b
Merge remote-tracking branch 'cgal/5.6.x-branch' into cgal/6.0.x-branch
2024-12-10 16:32:33 +01:00
Sebastien Loriot
289a8bda49
`PMP::isotropic_remeshing()` - fix relaxation of constrained vertices ( #8604 )
...
## Summary of Changes
Constrained vertices, and constrained edges were not properly protected
during the smoothing step.
## Release Management
* Affected package(s): PMP
* Issue(s) solved (if any): fix #8388
* License and copyright ownership: unchanged
2024-12-10 16:30:25 +01:00
Sébastien Loriot
0737a8f99b
do not put all the faces of the mesh in the hash map
2024-12-10 15:58:53 +01:00
Sébastien Loriot
c3e4e32fb7
factorize cap checks
2024-12-10 15:37:53 +01:00
Sébastien Loriot
116c0ec5d9
only use one container for the next loop
...
--> make the output of the function idempotent
2024-12-10 15:18:24 +01:00
Mael Rouxel-Labbé
b24e6509fe
Merge remote-tracking branch 'cgal/master' into PMP-add_discrete_curvature
2024-12-09 11:40:20 +01:00
Mael Rouxel-Labbé
e8602e1f4e
Use modern typedefs
2024-12-07 23:50:02 +01:00
Mael Rouxel-Labbé
25cd25c477
Tiny indentation fix
2024-12-07 23:49:55 +01:00
Mael Rouxel-Labbé
a0e319e67b
Re-attach convenience overloads to their respective main function
2024-12-07 23:43:07 +01:00
Mael Rouxel-Labbé
f2299f844f
Use plural for the all-vertices function
2024-12-07 23:42:49 +01:00
Mael Rouxel-Labbé
693fd25174
Use a capital 'G'
2024-12-07 23:42:31 +01:00
Mael Rouxel-Labbé
0fe940555d
Fix namespace
2024-12-07 23:41:38 +01:00
Mael Rouxel-Labbé
eb668da9ea
Misc cleaning
2024-12-07 23:34:23 +01:00
Mael Rouxel-Labbé
fda7b1ae6a
Avoid a lot of useless shape predicate calls
...
Here are some changes:
- Avoid a lot of redundant calls of is_it_a_needle / is_it_a_cap
- Do not test for cap-ness if it's already a needle
- Do not fill both ranges at the beginning, but fill
with everything: on the first round, needle-ness will
be tested, and the exit towards cap-ness will happen
- Wait for a needle to no longer be a needle, or not be
treatable to actually test cap-ness
- When the mesh is modified, do not test everything immediately,
just put them in the queue of the next iteration
Result: Fewer calls to shape predicates
- master -
needle calls = 828 668
cap calls = 803 330
- PR -
needle calls = 803 554
cap calls = 795 317
Should be fewer but two effects are balacing each other for the calls:
- much fewer calls to shape predicates (is_it_a_needle, is_it_a_cap)
by not calling until absolutely necessary (but still checking at pop time).
- when we modify the mesh, I no longer fill the CURRENT cap and needle
ranges, but the next ones. The point is to really prioritize all caps
BEFORE treating needles, whereas otherwise we would treat some needles
at the current iteration while there are still caps to treat.
So there are more iterations which add more useless calls (see below)
2024-12-07 23:31:57 +01:00
Mael Rouxel-Labbé
a4cb48a145
Fix never trying again a user-rejected cap
2024-12-07 23:29:04 +01:00
Mael Rouxel-Labbé
eb5ff9b33e
Fix collect_badly_shaped_triangles not actually filling both ranges
2024-12-07 23:28:20 +01:00
Sébastien Loriot
cac285d097
no need to redo new node propagation if it was already been done once
2024-12-06 17:19:01 +01:00
Sébastien Loriot
0b3c27e584
swap the parameters also here
2024-11-21 09:04:17 +01:00
Sébastien Loriot
41d37ac2a9
split badly shaped triangle check and delay the check calls
2024-11-20 09:40:13 +01:00
Sébastien Loriot
b60b203c56
add missing cap collection in case of non-collapsed edge
2024-11-20 09:11:48 +01:00
Jane Tournois
21e1ff113a
vertex is constrained if NOT allowed to move
2024-11-18 16:17:19 +01:00
Sébastien Loriot
c9c1770c18
in case an edge is both a cap and a needle but that is not collapsable try to flip
2024-11-14 11:54:48 +01:00
albert-github
1320a1d497
Spelling correction
...
Spelling correction
2024-11-14 10:22:43 +01:00
Jane Tournois
7462b70bec
remove unused
2024-11-12 14:01:30 +01:00
Jane Tournois
b8165f62de
add is_move_allowed(v) and use it in tangential_relaxation_impl()
2024-11-08 16:57:42 +01:00
Jane Tournois
ec1d43afbe
add constrained vertices to pmap
2024-11-08 16:11:11 +01:00
Andreas Fabri
fcf062bf48
PMP: Initialize to avoid warning
2024-11-08 10:13:26 +00:00
Sébastien Loriot
e045c48992
warnings and questions
2024-10-21 22:22:05 +02:00
Sébastien Loriot
89331d157d
init dynamic maps using new API
2024-10-21 22:21:53 +02:00
Sébastien Loriot
07963c31a7
fix copy/paste error: put hedges in the right container
2024-10-21 22:06:26 +02:00
Andreas Fabri
0afe4f09e9
Change output file names; Fix dependency
2024-10-18 14:28:17 +01:00
Sébastien Loriot
619875392c
Merge branch 'gsoc2023' into master
2024-10-18 14:33:31 +02:00
Sven Oesau
a06002ab2b
Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface
2024-10-14 14:42:46 +02:00
albert-github
dd02af92a2
issue #8515 Spelling mistakes found checking `en-GB` to `en-US`
...
Spelling corrections, `en-GB` -> `en-US`
2024-10-05 11:28:29 +02:00
Laurent Rineau
e1c1582c08
Merge pull request #8210 from janetournois/PMP-allow_move_example-jtournois
...
PMP isotropic_remeshing - add example using `allow_move_functor`
# Conflicts:
# Polygon_mesh_processing/doc/Polygon_mesh_processing/examples.txt
2024-09-27 11:49:59 +02:00
Jane Tournois
eabb4dc756
remove border degenerate faces, fixed
2024-08-26 10:21:41 +02:00
Jane Tournois
c7ce0e43b8
remove boundary degenerate faces
2024-08-26 10:06:08 +02:00
Sébastien Loriot
152fd4d74e
do no flip if creating a degenerate face
2024-08-20 17:25:32 +02:00
Sébastien Loriot
2577ecea27
fix initialization
...
bug introduced #7712
2024-07-05 13:01:45 +02:00
Mael Rouxel-Labbé
67aba3fefe
Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface
2024-06-20 10:18:49 +02:00
Laurent Rineau
a800918665
Merge pull request #8276 from sloriot/PMP-split_visitor_fwd
...
Forward the visitor for split
2024-06-13 12:48:47 +02:00
Laurent Rineau
6f4b598b6a
Merge pull request #8278 from albert-github/feature/bug_spell_20240511
...
Spelling correction
2024-06-13 12:48:43 +02:00
Laurent Rineau
212a323e4d
Merge pull request #8276 from sloriot/PMP-split_visitor_fwd
...
Forward the visitor for split
2024-06-13 12:48:22 +02:00
Laurent Rineau
ff6e9d262b
Merge pull request #8272 from sloriot/PMP-coref_use_size_type
...
Fix iteration on dynamic bit set
2024-06-12 10:06:06 +02:00
albert-github
c35a0a7f11
Spelling correction
...
Spelling correction due to updated dictionary.
(dictionary was updated after the previous spelling correction :-( )
2024-06-11 10:12:12 +02:00
Sébastien Loriot
4cd04080b3
forward the visitor
2024-06-11 09:08:33 +02:00
Sébastien Loriot
174a1d68e0
avoid potentially infinite loop
2024-06-10 15:07:25 +02:00
albert-github
36c8b7589d
Spelling corrections
...
Last batch (for now) of spelling corrections in doxygen and normal comments
2024-05-31 19:05:34 +02:00
Sébastien Loriot
279ddde799
more to core
2024-05-24 17:03:18 +02:00
Jane Tournois
de9eccf316
functor is not unary!
2024-05-17 15:41:29 +02:00
Laurent Rineau
022b19d3ca
Merge pull request #8057 from sloriot/AABB_tree-2d_and_3d
...
Updating the AABB-tree to work in both 2D and 3D
2024-05-15 16:12:19 +02:00
Laurent Rineau
0dcb83bff8
Merge pull request #8142 from sloriot/PMP-coref_nm_out
...
Add extra parameters to the corefinement visitor to handle non-manifold output
2024-05-15 16:12:16 +02:00
Laurent Rineau
02ad5d6003
Merge pull request #8150 from janetournois/PMP-isotropic_remeshing_with_allow_move_functor-jtournois
...
PMP::isotropic_remeshing() - add NP `allow move functor`
2024-05-15 16:12:14 +02:00
Laurent Rineau
f260a22a64
Merge pull request #8160 from sloriot/PMP-coref_with_less_bbox
...
PMP corefinement: only allocate necessary bboxes
2024-05-15 16:12:09 +02:00
Laurent Rineau
87fe13fcf6
Merge pull request #8168 from sloriot/PMP-remesh_doc
...
Update parameter description
2024-05-15 16:12:07 +02:00
Laurent Rineau
76809fa947
Merge pull request #8178 from sloriot/PMP-shorten_params
...
Rename parameters
2024-05-15 16:06:06 +02:00
Sébastien Loriot
6291a4f62d
also rename input nps
2024-05-06 09:50:18 +02:00
Sébastien Loriot
1be3e1d3f2
shorten parameters for better doc readibility
2024-05-02 14:36:18 +02:00
Sébastien Loriot
4525eeb988
do not modify the map if not the default one
2024-04-25 19:29:48 +02:00
Sébastien Loriot
be81f15b95
update description: it is also an input parameter
2024-04-25 18:35:25 +02:00
Sébastien Loriot
05c0625bce
only allocate necessary bboxes
2024-04-24 21:27:29 +02:00
Laurent Rineau
c4165fe5f9
Merge pull request #7439 from MaelRL/PMP-Remove_degen_faces-no-clear-GF
...
Introduce remove_all_elements(Graph)
2024-04-22 14:54:18 +02:00
Laurent Rineau
3e3eed7f05
Merge pull request #8129 from sloriot/PMP-deterministic_triangulate_faces
...
Make triangulate_faces deterministic
2024-04-22 14:54:08 +02:00
Sven Oesau
ffba6279c9
Merge remote-tracking branch 'cgal/master' into AABB_tree-2d_and_3d
2024-04-19 08:47:54 +02:00
Jane Tournois
96d8e1a5f6
document NP allow_move_functor
2024-04-18 13:01:07 +02:00
Jane Tournois
9a27b92a7d
NP allow_move_functor from tangential_relaxation to isotropic_remeshing
...
this NP exists in tangential_relaxation() and we want to be able to
use it in the relaxation step, from the named parameters of isotropic_remeshing()
2024-04-18 12:50:20 +02:00
Sébastien Loriot
bf6af35d42
address review comments
2024-04-15 18:34:45 +02:00
Sébastien Loriot
05f4cf6106
add doc and make implementation generic
2024-04-15 17:32:22 +02:00
Sven Oesau
d9cd44e30c
AABBGeomTraits -> AABBGeomTraits_3
2024-04-15 11:59:00 +02:00
Sébastien Loriot
0e06536bf1
use a template parameter for the id in the triangle
2024-04-15 09:23:51 +02:00
Sébastien Loriot
04a58f9e53
prevent isolated vertices in the soup
2024-04-15 09:23:51 +02:00
Sébastien Loriot
3fbd0fd886
handle several operations
2024-04-15 09:23:37 +02:00
Sébastien Loriot
5583f42fce
do no unmark edges as the soup does not need them + allow several operations
2024-04-15 09:23:12 +02:00
Sébastien Loriot
9d6c4dcd8a
handle existing vertices that are intersection points
2024-04-15 09:23:12 +02:00
Sébastien Loriot
13e2adf130
First draft of using a visitor to extract non-manifold soups
2024-04-15 09:23:12 +02:00
Sébastien Loriot
147b313cc8
also apply deterministic fix to polygon soup function
2024-04-11 09:36:16 +02:00
Sébastien Loriot
ebe6d6719c
precompute vectors
2024-04-11 08:55:10 +02:00
Laurent Rineau
49ca51275a
Fix typos ( #8118 )
2024-04-08 16:10:23 +02:00
Sébastien Loriot
16782d1e8b
do not depend on vertex order when opposite angles are identical
2024-04-08 15:46:48 +02:00
Laurent Rineau
4677ece3da
Merge pull request #7712 from sloriot/BGL-dynamic_with_default
...
Adding a default to dynamic property maps
2024-04-05 14:25:20 +02:00
Laurent Rineau
708711e7a7
Merge pull request #8018 from janetournois/PMP-add_bbox_to_face_graph-jtournois
...
New function `PMP::add_bbox(face_graph)` that adds bbox to face graph
2024-04-05 14:25:17 +02:00
Sébastien Loriot
68bc4a4bbc
typos
2024-04-03 15:59:34 +02:00
Andreas Fabri
caa8aaaa21
merge master
2024-04-03 14:09:39 +01:00
hoskillua
3bd0a7c92f
QEM Minimization (still a bit buggy)
2024-03-28 17:55:12 +02:00
hoskillua
4130a35462
renaming a variable
2024-03-28 11:51:57 +02:00
hoskillua
916e5f55c5
Making PostProcessing QEM Optional (np)
2024-03-28 11:45:44 +02:00
Sébastien Loriot
5254404517
Merge remote-tracking branch 'cgal/master' into HEAD
2024-03-27 22:25:41 +01:00
hoskillua
9a292fa04f
Merge branch 'gsoc2023' of https://github.com/hoskillua/cgal into gsoc2023
2024-03-27 20:07:22 +02:00
Sébastien Loriot
ad926fe662
remove tabs
2024-03-27 19:00:12 +01:00
Sébastien Loriot
83f06b5461
remove unused file
2024-03-27 18:54:33 +01:00
Sébastien Loriot
97102e32f7
add license file
2024-03-27 18:47:18 +01:00
Sébastien Loriot
e417a32a9f
doc improvements
2024-03-27 18:36:34 +01:00
hoskillua
6e145b23d6
double -> typename GT::FT
2024-03-27 14:33:28 +02:00
hoskillua
9c6aa8c04f
Optimizing Cluster Rep-Points with Qem (PostProcessing)
2024-03-27 13:15:47 +02:00
Sébastien Loriot
a34120d817
fix warning
2024-03-27 08:21:34 +01:00
Sven Oesau
f0d32fe869
Merge branch 'master' into AABB_tree-2d_and_3d
2024-03-26 16:03:19 +01:00
Sven Oesau
65be6133d8
removing deprecated AABB types
2024-03-26 15:56:45 +01:00
Sébastien Loriot
37b16ab656
fix warnings
2024-03-25 16:32:44 +01:00
Sébastien Loriot
8b649551be
fix compilation issues
...
mostly due to change of function name
2024-03-25 16:30:50 +01:00
Sébastien Loriot
38339b7e4e
Merge remote-tracking branch 'cgal/master' into HEAD
2024-03-25 16:14:08 +01:00
Sébastien Loriot
baf084950b
use default value for dynamic maps
2024-03-25 11:05:55 +01:00
Sébastien Loriot
12c80ac512
Merge remote-tracking branch 'cgal/master' into HEAD
2024-03-25 10:21:41 +01:00
Laurent Rineau
7a17b47d9f
Merge pull request #8052 from afabri/Polygon-exact_area-GF
...
Polygon: Avoid stackoverflow when summing exact numbers
# Conflicts:
# Polygon/include/CGAL/Polygon_2_algorithms.h
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2024-03-22 09:18:07 +01:00
Laurent Rineau
9f96166d44
Merge branch '5.5.x-branch' into 5.6.x-branch
...
# Conflicts:
# Polygon/include/CGAL/Polygon_2_algorithms.h
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2024-03-22 09:09:57 +01:00
Sébastien Loriot
b855194fba
add missing include directive
2024-03-15 09:20:44 +01:00
Mael Rouxel-Labbé
c984e0e08a
Fix using the mesh point when the SotM is built from a tree
2024-03-14 11:05:23 +01:00
Sébastien Loriot
f34745c4d8
use a functor for collapsing the DAG to not depend on Filtered_kernel
...
nor inclusion order
2024-03-14 10:02:30 +01:00
Andreas Fabri
19725c0b08
Fix PMP testsuite
2024-03-08 08:40:02 +00:00
Jane Tournois
f786b86432
Merge remote-tracking branch 'cgal/master' into PMP-add_bbox_to_face_graph-jtournois
2024-03-06 16:04:58 +00:00
Jane Tournois
bb2335a86e
early exit already is in Bbox_3::scale() so we can remove this condition
2024-03-06 14:50:32 +01:00
Jane Tournois
15310c93ef
copy_face_graph is not needed anymore
2024-03-06 14:48:31 +01:00
Jane Tournois
ff3db1e0d7
doc suggestions from code review
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2024-03-06 11:11:27 +01:00
Jane Tournois
78872aca27
move NP do_not_triangulate to make_hexahedron(isocuboid)
...
and fix nb of faces of hexahedron from 8 to 6
2024-03-05 13:38:14 +00:00
Andreas Fabri
b70a736083
Replace deprecated classes
2024-03-05 07:20:28 +00:00
Andreas Fabri
eb49100a96
Replace deprecated classes
2024-03-05 07:08:51 +00:00
Jane Tournois
c074187836
Merge branch 'PMP-add_bbox_to_face_graph-jtournois' of https://github.com/janetournois/cgal into PMP-add_bbox_to_face_graph-jtournois
2024-03-04 16:05:56 +00:00
Jane Tournois
1fc30afde7
doc simplified (similar to most functions of PMP)
2024-03-04 17:05:08 +01:00
Jane Tournois
685f6e7f84
create an overload of CGAL::make_hexahedron for Iso_cuboid_3
2024-03-04 17:04:06 +01:00
Jane Tournois
272beb678a
move scaling to CGAL::Bbox_3
2024-03-04 16:08:10 +01:00
Laurent Rineau
820465a556
Merge pull request #8023 from sloriot/PMP-soup_autoref_insert_in_edge
...
Autorefinement: insert points in edge to avoid filter failures
2024-02-28 10:57:25 +01:00
Sébastien Loriot
67b330bd5a
do no iterate on a container you modify
2024-02-26 17:45:06 +01:00
Sébastien Loriot
08ab32e14a
missing references
2024-02-26 14:23:09 +01:00
Sébastien Loriot
7a11b642fb
Revert "get rid of extra container"
...
This reverts commit a57800ce07 .
points vector of Triangle_data can be updated when intersecting
new intersection points. If the container is used at the same time
by another thread calling generate_subtriangles, the container might
be in an invalid state while resizing it.
2024-02-26 14:22:46 +01:00
Mael Rouxel-Labbé
f31ae7ccea
Add missing backticks
2024-02-23 10:41:09 +01:00
Mael Rouxel-Labbé
8b14bd75ea
Move Side_of_triangle_mesh's assertion to usage rather than construction
2024-02-23 10:40:54 +01:00
Sébastien Loriot
a57800ce07
get rid of extra container
2024-02-16 12:12:19 +01:00
Sébastien Loriot
5cae5340e9
remove TODO that are not
2024-02-16 11:48:15 +01:00
Sébastien Loriot
7aa4f37b6b
rename macro
2024-02-16 11:39:09 +01:00
Jane Tournois
cb07b0f545
use midpoint from GT (and add precondition on factor)
2024-02-13 15:04:43 +01:00
Jane Tournois
83e80c91e9
doc
2024-02-13 13:48:24 +01:00
Jane Tournois
c23db551f3
make bbox really tight when factor is 1.
2024-02-13 11:50:10 +01:00
Jane Tournois
6191f7de3c
use split_face() instead of triangulate_faces()
...
and remove dependency on T2
2024-02-13 10:31:26 +01:00
Jane Tournois
b48760af26
use do_not_triangulate_faces
...
a NP that already existed before this PR
2024-02-12 17:08:46 +01:00
Jane Tournois
801d7822c6
doc
2024-02-12 16:39:54 +01:00
Jane Tournois
6ed6aa681a
improve add_bbox using make_hexahedron and Iso_cuboid_3
2024-02-12 16:32:52 +01:00
Jane Tournois
62b8e8fb6f
new function add_bbox(face_graph) that adds bbox to face graph
...
the bbox can be :
* triangulated or not
* tight or not
2024-02-06 12:13:03 +01:00
Mael Rouxel-Labbé
07b9587eae
Merge remote-tracking branch 'afabri/Kernel_23-squared_length-GF' into gsoc2022-isosurface
2024-01-31 16:47:01 +01:00
Andreas Fabri
5b187bd79d
Provide a fix for distance.h
2024-01-31 11:10:00 +00:00
Laurent Rineau
47324c1f1c
Merge pull request #7919 from hoskillua/icc-todos
...
Interpolated Curvature remaining TODOs
2024-01-24 16:02:00 +01:00
Mael Rouxel-Labbé
984a541006
Fix usages of 'th `th
2024-01-23 21:50:04 +01:00
Sébastien Loriot
6b40f5b189
restore axis aligned projection traits
2024-01-19 12:03:40 +01:00
Andreas Fabri
f520602a0d
Comment #warning and qualify get() with std::
2024-01-19 11:47:05 +01:00
Sébastien Loriot
272a242f1b
restore delaunay in CDT + autoref and deduplicate identical points in no segments case
2024-01-19 11:47:05 +01:00
Sébastien Loriot
0095748cd7
insert points directly on edges
2024-01-19 11:47:04 +01:00
Sébastien Loriot
81d2938910
collect on-edge information and do not collect segments on the same edge
2024-01-19 11:47:04 +01:00
Sébastien Loriot
61461b14b3
more debug and fix indices
2024-01-19 11:47:04 +01:00
Sébastien Loriot
3b003535c7
WIP
2024-01-19 11:47:04 +01:00
Laurent Rineau
b4f360f952
Merge pull request #7962 from sloriot/CGAL-header_fixes
...
Fix license issues
2024-01-11 12:45:40 +01:00
Mael Rouxel-Labbé
d483b3bdfd
Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface
2024-01-09 13:52:46 +01:00
Sébastien Loriot
241e1bf557
add missing license include directives
2024-01-04 11:53:18 +01:00
Sébastien Loriot
9985f9cfa0
autorefinement has its own license file
2024-01-02 14:06:59 +01:00
Sebastien Loriot
caecbe29c7
Replace boost::mpl ( #7813 )
...
- `boost::mpl::if_` --> `std::conditional`
- `boost::enable_if` -> `std::enable_if`
- `boost::mpl::and_` -> `&&`
- `boost::mpl::or_` -> `||`
- `boost::constant::bool_` -> `std::bool_constant`
- ...
2023-12-26 17:33:36 +01:00
Sébastien Loriot
6eff89bbc8
Merge pull request #7614 from sloriot/PMP-BF_autorefine
...
Add autorefine for triangle soup
2023-12-26 12:11:04 +01:00
Sébastien Loriot
89d3d74865
Merge remote-tracking branch 'cgal/5.6.x-branch'
2023-12-18 13:31:48 +01:00
Sébastien Loriot
ee1fa58406
Merge remote-tracking branch 'cgal/5.5.x-branch'
2023-12-18 13:31:06 +01:00
Sebastien Loriot
cadc6ed343
Add a convenience IO header ( #7929 )
...
## Summary of Changes
There is:
```
CGAL/boost/graph/IO/polygon_mesh_io.h
CGAL/PMP/IO/polygon_mesh_io.h
CGAL/IO/polygon_soup_io.h
```
The first one is a bit awkward to remember, so this PR adds a
convenience header at `CGAL/IO/polygon_mesh_io.h`.
## Release Management
* Affected package(s): `BGL`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any):
* Link to compiled documentation (obligatory for small feature) [*wrong
link name to be changed*](httpssss://wrong_URL_to_be_changed/Manual/Pkg)
* License and copyright ownership:
2023-12-18 13:22:46 +01:00
Sebastien Loriot
b9696c2f86
Polyhedron Demo: Add sampling plugin ( #7910 )
...
## Summary of Changes
Add a plugin that samples meshes and polygon soups
### Todo
- [x] Add dialog for the various parameters of the sampling function
- [x] Check that the input is triangular.
## Release Management
* Affected package(s): Polyhedron
* License and copyright ownership: unchanged
2023-12-18 13:21:01 +01:00
Sébastien Loriot
93ba75b8a1
add missing not
2023-12-14 08:47:54 +01:00
Laurent Rineau
9a944e563c
Merge remote-tracking branch 'cgal/master' into PMP-BF_autorefine
...
# Conflicts:
# Installation/CHANGES.md
# Polygon_mesh_processing/examples/Polygon_mesh_processing/CMakeLists.txt
2023-12-13 15:57:30 +01:00
Sébastien Loriot
814a92655d
remove non needed typenames + missing ref
2023-12-12 13:12:45 +01:00
Sébastien Loriot
b267b31bea
workaround MSVC 2022 bug
2023-12-12 13:12:21 +01:00
Sébastien Loriot
10f4caa296
add missing ref
2023-12-12 11:53:22 +01:00
Andreas Fabri
62a64ae870
Add check that it faces are triangles
2023-12-12 09:28:01 +00:00
Sébastien Loriot
07acb78d30
add tests for autoref
2023-12-12 09:41:44 +01:00
Mael Rouxel-Labbé
81972df60e
Add a convenience IO header
2023-12-12 09:39:35 +01:00
Sébastien Loriot
d0c224fafb
handle some todos
2023-12-11 16:09:55 +01:00
Laurent Rineau
275c175f15
Merge pull request #5895 from sloriot/PMP-refine_mesh_along_isolevel
...
add function to refine a mesh along an isocurve
2023-12-11 14:00:49 +01:00
Laurent Rineau
721487fded
Merge pull request #7873 from sloriot/PMP-improve_sizing_concept_and_new_ex
...
Isotropic remeshing: add example with custom dummy sizing
2023-12-11 13:56:13 +01:00
Laurent Rineau
0ccf0745ec
Merge pull request #7914 from sloriot/PMP-remesh_planar_faces_missing_remove_const
...
PMP remesh_planar_patches: handle const meshes
2023-12-11 13:54:43 +01:00
Sébastien Loriot
f36bdda9fe
doc thread-safety of output iterators
2023-12-11 13:42:54 +01:00
Sébastien Loriot
93a1549c65
used typedef
2023-12-11 11:34:42 +01:00
Sébastien Loriot
8d0a047685
remote debug code and abandonned alternatives
2023-12-08 14:22:41 +01:00
Sébastien Loriot
d75e4f2f54
Merge remote-tracking branch 'cgal/master' into PMP-BF_autorefine
2023-12-08 13:26:06 +01:00
hoskillua
0e60f7cb77
moving average_edge_length to measure
2023-12-08 09:16:35 +03:00
Sébastien Loriot
dc04e5baa5
use doxygen macro
2023-12-07 11:30:17 +01:00
Sébastien Loriot
63556d4faa
use explicitly const meshes
2023-12-06 15:50:14 +01:00
Sébastien Loriot
560f02c921
add missing remove_const
2023-12-06 15:29:17 +01:00
Sébastien Loriot
c7ab2ba750
fix include
2023-11-30 09:54:27 +01:00
Sebastien Loriot
a207e3af2e
wrong header
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-30 09:35:56 +01:00
Sébastien Loriot
fd37bc3a16
add missing include
2023-11-30 09:25:04 +01:00
Sébastien Loriot
bef0339671
fixes for edges entirely on the isoline
2023-11-29 17:43:17 +01:00
Sébastien Loriot
16de47d1e6
more fixes
2023-11-23 14:55:30 +01:00
Sébastien Loriot
fe32ee586e
at Eigen dependency
2023-11-20 11:36:06 +01:00
Sébastien Loriot
37fb95b5cd
improve concept
2023-11-20 11:28:50 +01:00
Sébastien Loriot
38482e8aa3
remove todo
...
There will not be any crash as the value for new vertices
is always set. However with Polyhedron since we don't reuse
vertices, the map size might get large. Surface_mesh is fine
2023-11-16 17:28:23 +01:00
Sébastien Loriot
7328ed7fff
remove useless (and potentially dangerous) default
2023-11-16 12:00:22 +01:00
Sébastien Loriot
4d834098b8
Merge remote-tracking branch 'cgal/master' into HEAD
2023-11-16 10:39:31 +01:00
Sébastien Loriot
75303ad910
fix compilation errors
2023-11-16 09:37:41 +01:00
Ivan Pađen
4b9bd778ef
Apply suggestions from code review
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Sébastien Loriot
1dbd8c281d
make it pure virtual
2023-11-16 09:37:41 +01:00
Ivan Pađen
904c10016a
Add sizing.at function to the PMPSizingField and other sizing classes
2023-11-16 09:37:41 +01:00
Ivan Pađen
dc36eb88a7
Apply suggestions from code review
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
c41a0e38c2
Merge two tangential relaxation functions into one
2023-11-16 09:37:41 +01:00
Sébastien Loriot
618fb4b027
explicit template parameter to avoid ambiguity
2023-11-16 09:37:41 +01:00
Sébastien Loriot
6a4dbe5b59
fix copy/paste error
2023-11-16 09:37:41 +01:00
Ivan Pađen
627a36fac7
Combining tangential relaxations in one function WIP
2023-11-16 09:37:41 +01:00
Sébastien Loriot
e885155c22
fix warnings
2023-11-16 09:37:41 +01:00
Ivan Pađen
740648622f
Attempt to combine tangential realxations into overload
2023-11-16 09:37:41 +01:00
Ivan Pađen
ace77795a3
Apply suggestions from code review
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
faaeba8466
Use interpolated_corrected_curvatures() with vertex property map
2023-11-16 09:37:41 +01:00
Ivan Pađen
e9aa5b9b3b
Replace vpmap constructor with np in Adaptive_sizing_field
2023-11-16 09:37:41 +01:00
Ivan Pađen
3b4af4be31
Update the sizing field updating function
2023-11-16 09:37:41 +01:00
Ivan Pađen
6b37280a0b
Make is_too_short() and is_too_long() return edge-to-target ratio
2023-11-16 09:37:41 +01:00
Ivan Pađen
dfc2390d71
Move Sizing_field_base to internal
2023-11-16 09:37:41 +01:00
Ivan Pađen
98c64c3513
Update is_too_long to work only with vertex descriptors
2023-11-16 09:37:41 +01:00
Ivan Pađen
5c093c2491
Fix doc issue
2023-11-16 09:37:41 +01:00
Ivan Pađen
178d967d4b
Apply suggestions from code review
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
21f6580d64
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh.h
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
e49789b3d5
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh.h
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
bde55d8e4c
Update docs
2023-11-16 09:37:41 +01:00
Ivan Pađen
99f8120e5b
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/Adaptive_sizing_field.h
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
1e1eb19a5b
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/Uniform_sizing_field.h
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
65c75c5d43
Update data type
2023-11-16 09:37:41 +01:00
Ivan Pađen
896e4913ff
Update authors
2023-11-16 09:37:41 +01:00
Ivan Pađen
64af00b2ad
Fix formatting
2023-11-16 09:37:41 +01:00
Ivan Pađen
959311048b
Fix Adaptive_sizing_field template issue
2023-11-16 09:37:40 +01:00
Ivan Paden
28ac57e751
Fix for a failing MVSC test
2023-11-16 09:37:40 +01:00
Ivan Paden
324f133125
Update removed arguments
2023-11-16 09:37:40 +01:00
Sébastien Loriot
1d21d57f27
remove no longer used parameter
2023-11-16 09:37:40 +01:00
Sébastien Loriot
230de52aaf
remove unused variables
2023-11-16 09:37:40 +01:00
Ivan Paden
12cc789f33
Remove temp todos
2023-11-16 09:37:40 +01:00
Ivan Paden
4d06df0622
Move Sizing_field_base one directory down
2023-11-16 09:37:40 +01:00
Ivan Paden
42c02d9e34
Add constructor with VPMap input in Adaptive_sizing_field
2023-11-16 09:37:40 +01:00
Sébastien Loriot
04be232d14
update to macro update
2023-11-16 09:37:40 +01:00
Laurent Rineau
69d9025736
Merge pull request #6760 from hoskillua/gsoc2022
...
GSoC2022 - Interpolated Corrected Curvatures
# Conflicts:
# Installation/CHANGES.md
2023-11-15 16:00:36 +01:00
Sébastien Loriot
4c315c1ff8
fixes after review
2023-11-13 15:18:26 +01:00
Sébastien Loriot
4344c3cc27
replace boost::mpl::or_
2023-11-10 16:34:19 +01:00
hoskillua
9ed6d1afe0
typo fix
2023-11-08 17:52:41 +03:00
hoskillua
603cac2fd6
some cleanup and comments
2023-11-08 17:49:56 +03:00
hoskillua
1c114c8d75
minor fix (std::max)
2023-11-08 17:32:39 +03:00
hoskillua
8d15e0cb8a
wip: qem incomplete
2023-11-08 17:30:23 +03:00
hoskillua
8ea673dec9
linux build fixes
2023-11-08 14:34:52 +03:00
hoskillua
e37f5688ab
reference documentation
2023-11-07 11:06:50 +03:00
hoskillua
41b726e12c
function returning a triangle soup
2023-11-07 10:29:41 +03:00
hoskillua
7aa5b66450
fixed isolated vertices + clean up
2023-11-07 09:59:13 +03:00
hoskillua
54a1d2d766
qem metric moved
2023-11-07 05:21:09 +03:00
Sébastien Loriot
08b25d8778
prevent a warning with older versions of TBB
2023-11-02 16:09:05 +01:00
hoskillua
99d8741367
commenting out incomplete part
2023-10-31 14:34:11 +03:00
hoskillua
6f07f4b0c7
qem init
2023-10-31 09:00:25 +01:00
hoskillua
1bf9693160
curvature interpolation and other fixes
2023-10-31 09:00:25 +01:00
hoskillua
0868dcc009
minor changes
2023-10-31 09:00:25 +01:00
hoskillua
0a4a4f4340
curvature weight
2023-10-31 09:00:25 +01:00
hoskillua
bbc5a345b8
adaptive clustering first version
2023-10-31 09:00:25 +01:00
hoskillua
4f99fddb39
Func Documentation
2023-10-31 09:00:24 +01:00
hoskillua
dbda656cd7
minor changes
2023-10-31 09:00:24 +01:00
hoskillua
d2e4f36c8f
Polyhedron demo (incomplete)
2023-10-31 09:00:24 +01:00
hoskillua
9838426faf
orient polygon soup
2023-10-31 09:00:24 +01:00
hoskillua
793959b4b0
minor fix
2023-10-31 09:00:24 +01:00
hoskillua
b98477e4bc
guarantee with subdivision steps for remeshing
2023-10-31 09:00:24 +01:00
hoskillua
d4cb18f123
disconnection check + using subdivision
2023-10-31 09:00:24 +01:00
hoskillua
e1320217a1
boundary ring
2023-10-31 09:00:24 +01:00
hoskillua
7d4d0c94e2
fixing random initialization and weighting
2023-10-31 09:00:24 +01:00
hoskillua
4907b3b75c
Minor initializtions and fixes
2023-10-31 09:00:24 +01:00
hoskillua
8817c27142
constructing mesh
2023-10-31 09:00:24 +01:00
hoskillua
190ac09dc3
some fixes (now clusters look very clean)
...
need to clean up code
2023-10-31 09:00:24 +01:00
hoskillua
809e22f563
pushing same edge if no update
2023-10-31 09:00:24 +01:00
hoskillua
c9e4db0d63
weight (dual area computation)
2023-10-31 09:00:24 +01:00
hoskillua
b7512e7ade
temp fix
2023-10-31 09:00:24 +01:00
hoskillua
6625e100b5
energy minimzaition (not stable yet)
2023-10-31 09:00:24 +01:00
hoskillua
3230628abf
ACVD initial cluster expansion
2023-10-31 09:00:24 +01:00
Sébastien Loriot
ca0f9acbe0
Merge remote-tracking branch 'cgal/5.6.x-branch'
2023-10-25 17:43:16 +02:00
Sébastien Loriot
15a8dbf7d9
Merge remote-tracking branch 'cgal/5.5.x-branch'
2023-10-25 17:42:37 +02:00
Sébastien Loriot
f2ec9175ac
prevent the removal boundary edges (that are constraints)
2023-10-23 14:41:46 +02:00
Sebastien Loriot
9f9a6f600f
Apply suggestions from code review
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-10-23 09:07:43 +02:00
Sebastien Loriot
fe28c0d64a
doc bugs
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-10-20 11:46:39 +02:00
Sébastien Loriot
08fa9f8a58
fix wording
2023-10-20 08:57:07 +02:00
Andreas Fabri
ff2d8b49b2
PMP: Remove doc of deprecated code
2023-10-19 13:36:45 +01:00
Sebastien Loriot
e6b84d4851
typo
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-10-18 10:19:23 +02:00
Sébastien Loriot
7d2de68d1c
add missing include directive
2023-10-09 16:55:57 -07:00
Sébastien Loriot
dbd706a3f4
remove remaining see also
2023-10-09 09:14:05 +02:00
Sébastien Loriot
a193a1d8fb
implement comments from review
2023-10-09 09:08:31 +02:00
Sébastien Loriot
df0e0ee9bb
implement comments from review
2023-10-09 08:50:17 +02:00
Sebastien Loriot
fb3623cfa9
Apply suggestions from code review
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-10-09 05:10:30 +02:00
Andreas Fabri
42b5aab4b1
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/refine_mesh_at_isolevel.h
2023-10-03 11:54:16 +02:00
Sébastien Loriot
7d12160e18
update doc
2023-10-03 11:52:04 +02:00
Sébastien Loriot
e1dd8c8a51
add doc
2023-09-30 08:41:58 +02:00
Sébastien Loriot
05e11d381f
add experimental function to refine a mesh along an isocurve
2023-09-30 08:41:58 +02:00
Sébastien Loriot
8700394122
boost::mpl::if_ -> std::conditional
2023-09-24 22:57:20 +02:00
Sébastien Loriot
a54e024a32
start adding dynamic property maps with default
...
WIP: need updates in all models of face graph
2023-09-13 17:59:52 +02:00
Sébastien Loriot
af95dae8c6
Merge remote-tracking branch 'cgal/master' into HEAD
2023-09-12 15:27:54 +02:00
Sébastien Loriot
b370381e0a
add missing ending
2023-11-16 09:34:40 +01:00
Ivan Paden
426c6f9f5b
Update polyhedron demo with ball_radius np in Adaptive_sizing_field
2023-11-16 09:34:40 +01:00
Ivan Paden
7037103416
Introduce ball_radius NP for curvature calculation in Adaptive_sizing_field
2023-11-16 09:34:40 +01:00
Ivan Paden
22b08dfaf8
Update documentation
...
Info on curvature calculation in Adaptive_sizing_field
Update reference manual welcome page
2023-11-16 09:34:40 +01:00
Ivan Paden
cd6692661d
Move Sizing_field_base.h out of internal
2023-11-16 09:34:40 +01:00
Ivan Paden
ec1793f54d
Documentation update
2023-11-16 09:34:40 +01:00
Ivan Paden
237e915d2b
Use any argument convertible to double for overloads
...
in isotropic_remeshing()
in split_long_edges()
2023-11-16 09:34:40 +01:00
Ivan Pađen
25c82a2ea2
UpdateSizing_field_base docs
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-16 09:34:40 +01:00
Laurent Rineau
b32a8331ed
Merge branch '5.6.x-branch'
...
# Conflicts:
# Circular_kernel_3/include/CGAL/Circular_kernel_3/internal_functions_on_sphere_3.h
2023-09-07 10:41:33 +02:00
Laurent Rineau
22d88e367a
Merge pull request #7651 from sloriot/PMP-snap_fix_collapse_test
...
Fix collapse test in snap
2023-09-06 11:52:52 +02:00
Mael Rouxel-Labbé
5425d089da
Merge remote-tracking branch 'cgal/master' into PMP-Remove_degen_faces-no-clear-GF
2023-09-05 14:52:16 +02:00
Sébastien Loriot
9d68f5350e
doc + changes
2023-09-04 15:00:06 +02:00
Sébastien Loriot
4dc2ad3f36
fix map type
2023-09-04 14:05:18 +02:00
Sébastien Loriot
49d6821d9b
accomodate update to c++17 STL
2023-08-28 13:51:57 +02:00
Sébastien Loriot
a528464f31
Merge branch 'cgal/master' into PMP-BF_autorefine
2023-08-28 13:44:44 +02:00
Sébastien Loriot
77145855da
allow external tag function in remeshing with common interface
2023-08-28 08:29:08 +02:00
Sébastien Loriot
3779d21163
doc that the functions depend on Eigen
2023-08-25 14:36:51 +02:00