Accessing to the shape triangle minimizing distance in the distance calculation module
Posted: 10 Dec 2019, 11:28
Hi,
I would like to use the distance calculation module provided by the simulator. By reading the corresponding sections of the documentation and the related APIs, I see that it is possible to access the minimum distance between two separated shapes.
However, I would like to know if it is possible to retrieve additional information about this computation, such as the shapes triangles achieving that minimum distance returned by the function. As the module directly computes the minimum distance, I assume that there is an internal computation among all the vertexes/edges/triangles of the shape.
Said in a formal way, I would be interested in accessing the argmin of the minimum distance. Is that actually possible?
If not, do you suggest any workaround for this purpose?
Thanks in advance
Marco
I would like to use the distance calculation module provided by the simulator. By reading the corresponding sections of the documentation and the related APIs, I see that it is possible to access the minimum distance between two separated shapes.
However, I would like to know if it is possible to retrieve additional information about this computation, such as the shapes triangles achieving that minimum distance returned by the function. As the module directly computes the minimum distance, I assume that there is an internal computation among all the vertexes/edges/triangles of the shape.
Said in a formal way, I would be interested in accessing the argmin of the minimum distance. Is that actually possible?
If not, do you suggest any workaround for this purpose?
Thanks in advance
Marco