Levelset sign should be evaluated with the same tolerance used when checking if the point lies on the segmentation. Also, I've replace the algorithm for projection points onto triangles. The new algorithm is more precise when the point lies on the triangle.
Levelset sign should be evaluated with the same tolerance used when checking if the point lies on the segmentation. Also, I've replace the algorithm for projection points onto triangles. The new algorithm is more precise when the point lies on the triangle.