Commit Graph

106624 Commits

Author SHA1 Message Date
Jane Tournois faacad29af [smooth] do not collect incident cells for non free vertices 2024-01-25 12:50:01 +01:00
Jane Tournois a4015d1b9e [smooth] use m_vertex_id and m_free_vertices everywhere in class functions 2024-01-25 12:46:58 +01:00
Jane Tournois f2a1d3c8a4 [smooth] reorganize/clean access to vertex_id_map and free_vertices 2024-01-25 11:01:41 +01:00
Jane Tournois 77805fde8d [smooth] do not forget cells_to_update in pre-collapse max cos
and reorganize post-collapse conditions
2024-01-25 09:34:17 +01:00
Jane Tournois 55bb9c7bd5 [smooth] optional code to collapse only under angle condition
collapse is happening only if it does not create an angle smaller than 5.7 degrees,
OR if it improves smallest angle locally
2024-01-23 15:39:11 +01:00
Jane Tournois 9f8e36858d [smooth] add helper functions 2024-01-23 15:37:43 +01:00
Jane Tournois 013a33387f [smooth] use get() for optional 2024-01-23 15:36:35 +01:00
Jane Tournois ef39f52dc1 [smooth] during flip-smooth steps, perform smoothing iff it improves angles 2024-01-23 15:35:25 +01:00
Jane Tournois 03b7687a3b [smooth] reorganize smoothing before freezing vertices 2024-01-19 15:50:00 +01:00
Jane Tournois 5794c1f23a Merge branch 'Tet_remeshing-with_sizing_field-jtournois' into Tet_remeshing-wip-jtournois 2024-01-18 15:13:05 +00:00
Jane Tournois 69ade333b1 activate smoothing along features 2024-01-18 16:12:31 +01:00
Jane Tournois 965f587307 do not use MLS projection on features
it tends to make surfaces more round and reduce the quality of features
2024-01-18 16:10:02 +01:00
Jane Tournois 13c6f07cf4 Merge branch 'Tet_remeshing-flips_on_surface-jtournois' into Tet_remeshing-wip-jtournois 2024-01-18 11:10:07 +00:00
Jane Tournois d36cb8c29b verbose mode cleaning 2024-01-18 12:09:46 +01:00
Jane Tournois 4035ecfe25 Merge branch 'Tet_remeshing-with_sizing_field-jtournois' into Tet_remeshing-wip-jtournois
# Conflicts:
#	Polyhedron/demo/Polyhedron/Plugins/Tetrahedral_remeshing/Tetrahedral_remeshing_plugin.cpp
#	Tetrahedral_remeshing/doc/Tetrahedral_remeshing/examples.txt
#	Tetrahedral_remeshing/examples/Tetrahedral_remeshing/CMakeLists.txt
#	Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/tetrahedral_adaptive_remeshing_impl.h
2024-01-18 11:39:43 +01:00
Jane Tournois 001ddcf2c9 link new example with Eigen 2024-01-18 11:27:56 +01:00
Jane Tournois 4e42d638c6 fix input generation 2024-01-18 11:27:27 +01:00
Jane Tournois 3b3fa6abcb clean example 2024-01-18 10:45:38 +01:00
Jane Tournois c6d6d802d3 re-insert constraints after split 2024-01-18 10:28:23 +01:00
Jane Tournois c7bdeb63dd use Mesh_3 to generate the input triangulation 2024-01-18 10:27:41 +01:00
Jane Tournois 42d8ae5e81 minor reorganization 2024-01-18 10:27:17 +01:00
Jane Tournois 239c3e5ebe add an example with features and sizing field 2024-01-16 18:37:49 +01:00
Jane Tournois 86e3b1fd71 improve generation of cube input 2024-01-16 18:37:31 +01:00
Jane Tournois 10dc5b687c fix max_curve_index when no curve is pre-defined, though constraints are given as input 2024-01-16 18:35:00 +01:00
Jane Tournois d375cec708 add case std::variant<T> to io_signature.h 2024-01-16 18:33:02 +01:00
Jane Tournois a35ed6b94a remove dump 2024-01-16 11:51:59 +01:00
Jane Tournois 84f5e8c7cb improve smoothing along features 2024-01-16 11:50:21 +01:00
Jane Tournois 28ad54b218 Merge remote-tracking branch 'cgal/master' into Tet_remeshing-with_sizing_field-jtournois
# Conflicts:
#	Polyhedron/demo/Polyhedron/Plugins/Tetrahedral_remeshing/Tetrahedral_remeshing_plugin.cpp
#	Tetrahedral_remeshing/doc/Tetrahedral_remeshing/examples.txt
#	Tetrahedral_remeshing/examples/Tetrahedral_remeshing/CMakeLists.txt
#	Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/tetrahedral_adaptive_remeshing_impl.h
2024-01-15 12:28:30 +01:00
Jane Tournois 71c47b526f add debug macro 2024-01-12 19:27:07 +01:00
Jane Tournois dad1af1064 add debug code 2024-01-12 18:33:37 +01:00
Jane Tournois 2abcf52463 shorten is_smoothable check for feature vertices 2024-01-12 18:33:19 +01:00
Jane Tournois bab358a2f0 collapse was leaving some complex edges behind
remove from complex the edge that is about to be collapsed
2024-01-12 18:32:33 +01:00
Jane Tournois 906253b5f8 add debug code 2024-01-12 18:09:43 +01:00
Sébastien Loriot a484bfa35a add missing include directives 2024-01-12 09:12:09 +01:00
Jane Tournois 85179e960c remove duplicate assertion code 2024-01-11 14:28:58 +01:00
Laurent Rineau 61800d1be7
CGAL Lab: Rendering polygons with ghost edges (#7898)
Polygons and meshes with non-triangular faces that have ghost edges,
i.e., holes connected via two identical edges to the outer border of the
polygon, are now correctly rendered.

The FacetTriangulator now uses mark_domain_in_triangulation to set
is_external property.

## Release Management

* Affected package(s): Polyhedron/demo
2024-01-11 14:01:52 +01:00
Jane Tournois 77fbb6d973 Merge branch 'Tet_remeshing-with_sizing_field-jtournois' into Tet_remeshing-wip-jtournois 2024-01-11 12:05:02 +00:00
Jane Tournois e363976b39 [smoothing] mass should be density, not density * size
because vector already is [v, neighbor], of its size and not normalized

+ fix each dimension smoothing
+ replace Vector_3's by Point_3's wherever it makes sense
2024-01-11 13:03:49 +01:00
Laurent Rineau b5d9dfaebe Merge branch '5.6.x-branch' 2024-01-11 12:46:23 +01:00
Laurent Rineau 22d7ee7796 Merge pull request #7956 from albert-github/feature/bug_cookie
Treeview missing due to missing setting in `header_package.html`
2024-01-11 12:46:08 +01:00
Laurent Rineau 2168d6e2bb Merge pull request #7959 from MaelRL/Installation-Update_README-GF
Update Installation/README
2024-01-11 12:45:53 +01:00
Laurent Rineau 83ec3af01d Merge pull request #7961 from afabri/CGAL-snprintf-GF
Image_IO: sprintf -> snprintf
2024-01-11 12:45:42 +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
Laurent Rineau 41258bf760 Merge pull request #7963 from sloriot/CGAL-cmake_remove_exec_command
Use execute_process that is recommanded over exec_command since 3.0
2024-01-11 12:45:38 +01:00
Laurent Rineau 11fc1943fb Merge branch '5.5.x-branch' into 5.6.x-branch 2024-01-11 12:44:54 +01:00
Laurent Rineau 340c825aa5 Merge pull request #7963 from sloriot/CGAL-cmake_remove_exec_command
Use execute_process that is recommanded over exec_command since 3.0
2024-01-11 12:44:49 +01:00
Laurent Rineau bb986eea43 Merge pull request #7963 from sloriot/CGAL-cmake_remove_exec_command
Use execute_process that is recommanded over exec_command since 3.0
2024-01-11 12:43:53 +01:00
Jane Tournois 37925c56ff Merge branch 'Tet_remeshing-flips_on_surface-jtournois' into Tet_remeshing-wip-jtournois
# Conflicts:
#	Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/flip_edges.h
#	Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/tetrahedral_adaptive_remeshing_impl.h
#	Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/tetrahedral_remeshing_helpers.h
2024-01-09 14:04:43 +01:00
Jane Tournois 49415f3086 little cleaning 2024-01-09 14:02:59 +01:00
Jane Tournois bc956d6ea3 [flip] reset sliver cache that may have been populated with dihedral angles during perturb() 2024-01-09 13:32:03 +01:00