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 I load stl file in meshlab, I want to unify the vertice, and remove the duplicate vertice.
It is in the function RemoveDuplicateVertex which is located at src\vcglib\vcg\complex\algorithms\clean.h
As a result , I found it compare vertice coordinate using simple operator ==
which is located at : src\vcglib\vcg\space\deprecated_point3.h
It means if the vetex is float type , it just compare float using operator ==
Is this reasonable? Or are there other considerations?
thanks!
The text was updated successfully, but these errors were encountered:
Well, it depends on the application. If duplicated vertices are there because imported from a format that stores not indexed meshes, it is reasonable because the vertex coordinates are going to be likely the same, and detected with operator ==.
But I agree that for some other applications, an additional tolerance could be useful.
when I load stl file in meshlab, I want to unify the vertice, and remove the duplicate vertice.
It is in the function RemoveDuplicateVertex which is located at src\vcglib\vcg\complex\algorithms\clean.h
As a result , I found it compare vertice coordinate using simple operator ==
which is located at : src\vcglib\vcg\space\deprecated_point3.h
It means if the vetex is float type , it just compare float using operator ==
Is this reasonable? Or are there other considerations?
thanks!
The text was updated successfully, but these errors were encountered: