Commit Graph

4563 Commits

Author SHA1 Message Date
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
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
hoskillua a94a7337c2 Merge remote-tracking branch 'upstream/master' into gsoc2022 2023-08-25 14:51:46 +03:00
Ivan Paden 613b0a8914 Merge branch 'master' into PMP-add_sizing_in_isotropic_remeshing-GF 2023-08-21 22:18:37 +02:00
Ivan Paden 4ca59942bf Document Sizing_field_base 2023-11-16 09:31:20 +01:00
Ivan Paden 039b02710e boost::optional to std::optional C++ 17 update 2023-11-16 09:31:20 +01:00
Ivan Paden 9dff622007 Changes for documentation 2023-11-16 09:31:20 +01:00
Ivan Paden a00509ea47 Remove precondition for vpmap 2023-11-16 09:31:20 +01:00
Ivan Paden 8cd75d86f7 Fix vpmap return error 2023-11-16 09:31:20 +01:00
Ivan Paden a96054a051 Place Sizing_field_base under PMP namespace as Uniform and Adaptive classes 2023-11-16 09:31:20 +01:00
Ivan Paden 040b9ab194 Add precondition that sizing field and remeshing vpmap must be the same 2023-11-16 09:31:20 +01:00
Ivan Paden 35153d509d Update documentation 2023-11-16 09:31:20 +01:00
Ivan Paden b69a2671fe Rename Sizing_field to Sizing_field_base 2023-11-16 09:31:20 +01:00
Sébastien Loriot e845b07bab using Koening lookup 2023-11-16 09:31:20 +01:00
Sébastien Loriot 46b50511a7 add missing include directive detected by the CI 2023-11-16 09:31:20 +01:00
Ivan Paden 1f9142bfc2 Try to fix failing test 2023-11-16 09:31:20 +01:00
Ivan Paden f5d23db40a Add template argument to constructor 2023-11-16 09:31:19 +01:00
Ivan Paden dccf973186 Fix templating error in isotropic remeshing overload 2023-11-16 09:31:19 +01:00
Ivan Paden 9e91abb539 First attempt at sizing field docs 2023-11-16 09:31:19 +01:00
Ivan Paden ff4bbaa155 Target length fix 2023-11-16 09:31:19 +01:00
Ivan Paden 6ee23c6fdd Replace pmesh with vertex property maps in sizing field classes 2023-11-16 09:31:19 +01:00
Ivan Paden ee640c91dd Handle the special case when target_edge_length is 0 2023-11-16 09:31:19 +01:00
Ivan Paden 66721bbcd9 Add precondition 'remeshing mesh == sizing field mesh' 2023-11-16 09:31:19 +01:00
Ivan Paden f589b054ed Documentation update in remesh.h 2023-11-16 09:31:19 +01:00
Ivan Paden 050c7f9512 Add split_long_edges functionality using adaptive sizing field as an input 2023-11-16 09:31:19 +01:00
Ivan Paden 4a8974d256 Move sizing classes to 'public' headers 2023-11-16 09:31:19 +01:00
Ivan Paden 36f8d39f92 Remove extra code in tangential smoothing 2023-11-16 09:31:19 +01:00
Ivan Paden 00b4b93d1c Remove the adaptive sizing field dependency in remesh.h 2023-11-16 09:30:10 +01:00
Ivan Paden 1f2c0f2471 Remove extra 2023-11-16 09:30:10 +01:00
Sébastien Loriot 5cc58a4080 don't do collinear test for a triangle to be collapsed 2023-08-17 15:02:48 +02:00
Sébastien Loriot eada3ee8ca Merge branch 'master' into 'sloriot/CGAL-using_c++17_stl' 2023-08-14 14:19:25 +02:00
Sebastien Loriot b534d12620
Locate.h: Use Face_location / Barycentric_coordinates everywhere (#7638)
## Release Management

* Affected package(s): `PMP`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
2023-08-14 14:11:02 +02:00
Sebastien Loriot 65764b5c6f
Minor improvements to the documentation of `PMP::orient_polygon_soup()` (#7639)
## Release Management

* Affected package(s): `PMP`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
2023-08-14 12:00:31 +02:00
Sébastien Loriot 44e143e931 Merge remote-tracking branch 'cgal/5.6.x-branch' into 'cgal/master' 2023-08-14 11:54:13 +02:00
Sébastien Loriot db9b8e70b3 Merge remote-tracking branch 'cgal/5.5.x-branch' into 'cgal/5.6.x-branch' 2023-08-14 10:22:35 +02:00
Mael Rouxel-Labbé 33d70dd95f Minor improvements to orient_PS's doc 2023-08-04 14:32:48 +02:00
Mael Rouxel-Labbé 361f6e2f63 Clean code to use Face_location / Barycentric_coordinates everywhere 2023-08-04 13:30:26 +02:00
Sébastien Loriot 06db9ccad8 reproject barycenter to avoid boundary shrinking 2023-08-02 17:25:58 +02:00
Jane Tournois b7aeab378f Merge remote-tracking branch 'cgal/master' into PMP-add_sizing_in_isotropic_remeshing-GF 2023-08-01 12:22:15 +02:00
Ivan Paden 1c597a07cf Move sizing map calculation to constructor 2023-11-16 09:16:00 +01:00
Ivan Paden 573cc53e0a Move curvature map typedef to function 2023-11-16 09:16:00 +01:00
Ivan Paden 99661dfd73 Choose betwen curvature calc for selection and whole mesh 2023-11-16 09:16:00 +01:00
Ivan Paden a61ebb545e Change face subset back to working example with vector 2023-11-16 09:16:00 +01:00
Ivan Paden 4a5283b22e Change selection option to set 2023-11-16 09:16:00 +01:00
Sébastien Loriot 63e3180517 use vector option for selection 2023-11-16 09:16:00 +01:00
Ivan Paden 677bb04ee8 (WIP) figuring out FaceRange curvature calculation 2023-11-16 09:16:00 +01:00
Ivan Paden 06db84f717 Fix sizing field calculation 2023-11-16 09:16:00 +01:00
Ivan Paden 91216f7875 Add adaptive remeshing to Polyhedorn demo, PMP plugin 2023-11-16 09:16:00 +01:00
Ivan Paden 73fd72feb9 Add constexpr to differentiate uniform and adaptive fields 2023-11-16 09:16:00 +01:00
Ivan Paden ace36a2bb6 Make tangential relaxation work with both uniform and adaptive sizing field 2023-11-16 09:16:00 +01:00
Jane Tournois cb779038f6 refs are not needed here
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2023-11-16 09:14:23 +01:00
Ivan Paden 5629f7a04b Add first code for tangential relaxation with sizing (WIP) 2023-11-16 09:13:31 +01:00
Ivan Paden fa9769b908 Prep sizing for tangential relaxation (WIP) 2023-11-16 09:13:31 +01:00
Ivan Paden c89bedb97f Replace std with cgal where applicable, fix assertion 2023-11-16 09:13:31 +01:00
Ivan Paden 947ab8f125 Make a (temp) property map for curvature calculation 2023-11-16 09:13:31 +01:00
Ivan Paden 52df5ae86e Fix default remeshing overload 2023-11-16 09:13:31 +01:00
Ivan Paden fd787c4530 Refactor sizing map update 2023-11-16 09:13:31 +01:00
Ivan Paden 92a434018a Add sizing field calculation from curvature
WIP: isotropic remeshing default overload is now broken
2023-11-16 09:12:17 +01:00
Mael Rouxel-Labbé 852056a8ac Rephrase documentation of one-sided Haussdorff distance function 2023-07-12 16:16:42 +02:00
Sébastien Loriot b66afab814 Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD 2023-07-05 11:29:35 +02:00
Sébastien Loriot dfc386d65b Merge branch 'master' into HEAD 2023-06-22 14:05:45 +02:00
Sébastien Loriot 0ee31a5d4f remove extra parenthesis 2023-06-19 19:17:49 +02:00
Sébastien Loriot f936680600 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 18:48:39 +02:00
Sébastien Loriot 9cdfe70abb Merge remote-tracking branch 'sloriot/CGAL-toward_6.0' 2023-06-15 11:34:09 +02:00
Sébastien Loriot 9a0bdb5d96 boost::variant ---> std::variant 2023-06-15 10:57:10 +02:00
Sébastien Loriot 557b64e4a6 boost::any ==> std::any 2023-06-15 10:57:09 +02:00
Sébastien Loriot 604dcdc435 boost::optional => std::optional 2023-06-15 10:57:09 +02:00
Sébastien Loriot bbc4d08ee0 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 10:47:07 +02:00
Sébastien Loriot c8a88b9014 remove CGAL_static_assertion* 2023-06-15 10:42:10 +02:00
Laurent Rineau 0e76c32749 Merge pull request #7447 from MaelRL/CGAL-Fix_warnings-GF
Fix some warnings
2023-06-05 15:10:29 +02:00
Laurent Rineau ae1bbe7e17 Merge pull request #7488 from sloriot/PMP-coref_no_early_exit
Corefinement: remove incorrect early exit
2023-06-05 15:09:59 +02:00
Laurent Rineau e697bb386d Merge pull request #7489 from afabri/PMP-document_overload-GF
PMP: Document overload of angle_and_area_smoothing()
2023-06-05 15:09:56 +02:00
Laurent Rineau f1a717bab5 Merge pull request #7488 from sloriot/PMP-coref_no_early_exit
Corefinement: remove incorrect early exit
2023-06-05 14:01:18 +02:00
Andreas Fabri c1b9ea9d47
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/angle_and_area_smoothing.h
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2023-06-02 12:27:28 +02:00
Andreas Fabri f3c2d9b310 polish 2023-06-01 17:25:23 +01:00
Andreas Fabri a8e3c84c78 PMP: Document overload of angle_and_area_smoothing() 2023-06-01 10:37:22 +01:00
Sébastien Loriot cb3a1e03d4 remove the early exit as we could miss the fact that some operations might be impossible 2023-06-01 11:17:45 +02:00
Sébastien Loriot b724def918 Merge pull request #6605 from sloriot/PMP-snap_no_deg_faces_created
Avoid creating degenerate faces in snap
2023-05-30 19:15:30 +02:00
Sébastien Loriot ec274dd8e9 hide non used variable 2023-05-23 18:18:28 +02:00
Mael Rouxel-Labbé 7bf284fafa Misc minor changes 2023-05-22 14:01:17 +02:00
Mael Rouxel-Labbé 62ca575170 Simplify expression 2023-05-22 14:01:07 +02:00
Mael Rouxel-Labbé afd096cb91 Fix indentation 2023-05-22 12:30:38 +02:00
Charles Gueunet cf07ee9c91 Trailing 'l' on return statement
In CERES_SOLVER mode only
2023-05-22 10:55:52 +02:00
Ivan Paden eb2a023c31 Merge PR #6760 into gsoc2023-adaptive_remesh-ipadjen 2023-05-21 08:50:10 +02:00
Ivan Paden 5c4e6ed7b5 Create a vertex property map that will contain sizing info (WIP)
Also, update target length checks
2023-05-19 23:48:30 +02:00
Ivan Paden 7326fb52ce Add initial preparations for adaptive sizing field
Add Adaptive_sizing_field header with edge min and max limits, and tolerance
Adjust the example
2023-05-19 23:47:41 +02:00
Mael Rouxel-Labbé cb05427cf3 Remove std::move on temporary result 2023-05-16 15:49:34 +02:00
Mael Rouxel-Labbé 752aa94490 Properly initialize kernel functors 2023-05-16 15:49:18 +02:00
Mael Rouxel-Labbé eb1462ea56 Remove needless reference 2023-05-16 15:49:00 +02:00
Mael Rouxel-Labbé aa12591bc3 Use VPM's reference 2023-05-16 15:48:50 +02:00