distance to facets

Asked by JOHN

Good evening,
I was wondering, is there a way to find the distance of a particle to the walls (facets)
Ideally the minimum distance from all the walls would do, but if (as i suspect) this is not possible, is there a way to find the overlap of a given sphere with every facet?
Thanks in advance
Ioannis

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
JOHN
Solved:
Last query:
Last reply:
Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#1

Hi it depends if an interaction exists or not. What is the situation in which you want to get this overlap?
Bruno

Revision history for this message
JOHN (washingmachine) said :
#2

Hello,
I would ideally like to find the distance of a specific particle to the wall of the structure it is in for every time step.

Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#3

One particle vs. multiple facets and not necessarily some existing interactions?...
I don't see anything ready to get such thing. There must be efficient algorithms for it in CGAL library but it would have to be implemented.
Bruno

Revision history for this message
JOHN (washingmachine) said :
#4

thanks, i ll look into that