You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a range other than the full range of the mesh is input into the FaceRange parameter of CGAL::Polygon_mesh_processing::smooth_shape, the function fails to operate properly.
My goal is to perform smoothing on specific parts of a mesh (such as selected vertices or surfaces). I used the smooth_shape function for this purpose, and it works well with the full range. However, I might not be using the function correctly. Any advice would be appreciated.
Using OpenGL context 4.3 GL
Constraining: 55 border vertices
Smoothing shape... (10 iterations)
iteration #0
Could not factorize linear system with preconditioner.
Failed to solve system!
Done!
Using OpenGL context 4.3 GL
Environment
Operating system (Windows/Mac/Linux, 32/64 bits): Windows
Compiler: clang
Release or debug mode: Release
Specific flags used (if any):
CGAL version: 5.6
Boost version:
Other libraries versions if used (Eigen, TBB, etc.): Eigen 3.4
The text was updated successfully, but these errors were encountered:
Do I get it right that you pass a single face to the smoother? Then it has no degrees of freedom as the border of the region does not move. Did you try with a larger patch?
Yes, it seems like an error occurs when a range of faces that does not include all vertices of the mesh is provided.
Despite giving a range of various faces, the error occurs every time.
The reason for providing a range of a single face in the example was simply to provide a minimal example of it not working.
However, according to the documentation, I believe that an error should not occur in this case.
Issue Details
When a range other than the full range of the mesh is input into the FaceRange parameter of CGAL::Polygon_mesh_processing::smooth_shape, the function fails to operate properly.
My goal is to perform smoothing on specific parts of a mesh (such as selected vertices or surfaces). I used the smooth_shape function for this purpose, and it works well with the full range. However, I might not be using the function correctly. Any advice would be appreciated.
Source Code
I created the reproducible code using the example from the link below:
CGAL shape smoothing example
output
case 1
case 2:
Environment
The text was updated successfully, but these errors were encountered: