-
Notifications
You must be signed in to change notification settings - Fork 155
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
Remove duplicates #139
Comments
Assuming your duplicated vertices are not connected to any edges / faces you can detect them with for (auto v : mesh.vertices())
if (mesh.is_isolated(v))
std::cout << "gotcha!" << std::endl; Hope this helps! |
Thank you for your answer dsieger ! That's not exactly what I'm looking for, I'm talking about merging vertices that belong to two triangles and overlap, typically what can happen when meshes have UV islands. Thanks again 🙂 ! |
Do you mean a mesh with boundaries and the vertices at the boundaries overlap? In that case, no, we currently don't have that. You might have a look at the |
Hello !
I have a simple question: is there any way to remove duplicate vertices in a mesh using this lib ? I didn't find any piece of code that seem to do it.
If not, is this feature planned in the future ?
Thanks !
The text was updated successfully, but these errors were encountered: