Skip to content

PMP: Fix smooth_shape()#8130

Draft
afabri wants to merge 5 commits into
CGAL:mainfrom
afabri:PMP-partial_smooth_shape-GF
Draft

PMP: Fix smooth_shape()#8130
afabri wants to merge 5 commits into
CGAL:mainfrom
afabri:PMP-partial_smooth_shape-GF

Conversation

@afabri

@afabri afabri commented Apr 9, 2024

Copy link
Copy Markdown
Member

Summary of Changes

When only smoothing a patch the diagonals of the matrix are not set to 1.0
Now the matrix can be factorized but the resulting mesh is wrong. So there is either still another bug, or something is wrong in my fix.

Release Management

@sloriot sloriot changed the title WIP PMP: Fix smooth_shape() PMP: Fix smooth_shape() Apr 9, 2024
@MaelRL MaelRL assigned MaelRL and unassigned MaelRL Apr 10, 2024
@MaelRL MaelRL added this to the 6.1-beta milestone Feb 20, 2025
@MaelRL MaelRL added the Bug label Mar 18, 2025
@MaelRL MaelRL modified the milestones: 6.1-beta, 6.2-beta Apr 7, 2025
@sloriot
sloriot changed the base branch from master to main September 18, 2025 05:54
@MaelRL MaelRL modified the milestones: 6.2-beta, 6.3-beta Mar 18, 2026
{
fill_mass_matrix();

std::vector<bool> diag(vertices(mesh_).size(), false);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure vimap_ is not in the range 0 -> num_vertices(mesh_)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Partial Mesh Smoothing Fails in CGAL::Polygon_mesh_processing::smooth_shape

4 participants