Understanding Signed Distance Calculation Between Two Meshes #4138
-
VertScalars scalarVertId = findSignedDistances(meshCompareIn, meshTargetIn); When applying findSignedDistances(meshCompareIn, meshTargetIn), most of the distance values are negative, but some points have positive values. I think this happens because the criterion for determining whether a point is inside or outside is ambiguous. I would like to understand how the vertices of meshCompareIn are determined to be inside or outside based on the vertices of meshTargetIn. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello! Inside/Outside classification in MeshLib/source/MRMesh/MRMesh.h Lines 252 to 255 in 3f13d6a |
Beta Was this translation helpful? Give feedback.
Hello!
Inside/Outside classification in
findSignedDistance
functions is done by this function:MeshLib/source/MRMesh/MRMesh.h
Lines 252 to 255 in 3f13d6a