-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stitch_borders_example output error #8300
Comments
You are probably using a CGAL::Surface_mesh and getting the number of elements through As the doc indicates:
This is because the surface mesh will have "garbage" (i.e., removed elements) after calling If you want the exact number of elements without collecting garbage, you can use the number_of_vertices member function of the CGAL::surface_mesh, or |
but the output shows the numbe of vertex after stitching, not before stitching, which is weired. (I just use the code pulled from git, the branch is 5.5.x) |
@citystrawman can you please put a self contained example on gist.github.com so that we can reproduce/fix. You refer to an example, but the example for stitching uses |
You are right, sorry, that's not what happened. What happens is that the example is using the function CGAL::Polygon_mesh_processing::IO::read_polygon_mesh() from the
If you use
|
Hi, this issue is explained by MaelRL. Thank you! |
Please use the following template to help us solving your issue.
Issue Details
I am studying the polygon mesh processing stitch_borders_example, and I think this example shows that by using stitch_borders(), it will stitch the duplicated nodes, I ran this program and from the off file we can see that it actually does merge duplicated nodes:
however, in the terminal output, it is shown as follows:
I dont know if this is a bug ?
Source Code
Environment
The text was updated successfully, but these errors were encountered: