Wrong sign when computing point/mesh distance

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
JDA
Posts: 3
Joined: Wed Dec 24, 2014 8:51 am

Wrong sign when computing point/mesh distance

Post by JDA »

Hello !

We have a mesh with some sharp edges and, sometime, computing signed distance around these edges return a wrong sign. If I have understood correctly, sign is computed using orientation of the closest triangle and in the case where closest point is on a (very) sharp edge, a "wrong" triangle can be used (just see attachment, it will be easier to understand).

Anyway, it is not a big problem for us because we will always try to use relatively "smooth" meshes but for your information...
DistPb.zip
Point/mesh sign problem
(161 KiB) Downloaded 394 times
Post Reply