Closed altonlm closed 10 months ago
Which are the four files ?
There are only four files + results in the OP's zip.
I'm looking into it. I'd guess it's the optional manifoldness criterion, which flags incident outside tetrahedra as "inside" to recover manifoldness of the output.
It was indeed coming from the (optional) manifoldness post-processing. This step is improved with https://github.com/CGAL/cgal/pull/7629, see the pull request for details.
@altonlm I checked the result for all your examples and all alpha / delta values, and it was all fine. Could we please add this data into our tests (meaning, adding the data into the public data dir of CGAL: https://github.com/CGAL/cgal/tree/master/Data/data/meshes)?
I believe that that should be fine. The original data isn't mine and is from this dataset: https://www.microns-explorer.org/phase1 but I don't think there should be any issues with you using it as test cases. Thank you for the help!
Fixed with the merge of #7805.
Thanks @altonlm for the bug report.
Issue Details
I've apha-wrapped ~400 stl format meshes using a slightly modified version of the alpha wrapping example script and, on four out of the 400, strange triangles appeared connecting different components. I have a link to the original meshes in question and various alpha wrapping attempts. The meshes are all named according to this format:.off
The ones originally noticed with this issue have a relativeAlpha of 1000 and a relativeOffset of 4000 however (on the same mesh) offsets similar to 4000 can also exhibit the same behavior.
This isn't pressing as I can just use the ones with a relativeOffset of 4050 however I would like to understand the issue, if possible, and make sure that this is known about if it is unintended.
Source Code
This is the source code that I used which is a minimally changed version of the alphawrapping demo code triangle_mesh_wrap.cpp
Environment