Distance between meshes
#2817
-
The distance between two meshes, is it exactly the smallest distance between the two nearest triangles of the two meshes ? |
Beta Was this translation helpful? Give feedback.
Answered by
Fedr
Jun 6, 2024
Replies: 1 comment
-
MeshLib has several functions for distance computation. If we are talking about
then yes, if two bodies do not intersect, it will return the smallest distance among all pairs of triangles from the two meshes. This function is also exposed in Python, and is available in MeshInspector UI, see video. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
oscalbert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MeshLib has several functions for distance computation.
If we are talking about
findSignedDistance
:then yes, if two bodies do not intersect, it will return the smalle…