Open xiaolong7 opened 1 year ago
Add the following check
before breaking the edge
Thank you for your suggestion! I have made the following change according to my understanding of your suggestion, but there are still some additional vertices on the boundary of the final mesh. Does the change I made follow your suggestion?
It works after I changed the condition to
if (!halfedge->startVertex->_isBoundary && !nextHalfedge->startVertex->_isBoundary)
.
Thank you!
You are right, the boundary vertices are not featured before the long edge splits, so should use the boundary check directly.
Hi, this is not an issue of the code but a question that I hope you could help to point me to the right direction. I want to have a final mesh that has exactly the same boundary vertices as in the original mesh without any additional or missing vertices on the boundary. I am wondering if it is possible to achieve this by just making edits on few lines of the code? It would be great if that's possible and if you could point me to the part of code that needs to be edited. Thank you for your time and help!