Page 1 of 1

Wrong sign when computing point/mesh distance

Posted: Fri Aug 07, 2015 1:00 pm
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 397 times