contact of polyhedras

Asked by zhou qian on 2019-07-12

Hi:
I have 3 questions about the contact of polyhedras:
1.How to caculate the contact point of 2 polyhedras(tetras) ( What's the algorithm of the contact point between 2 tetras since they are not spheres and they don't have central point?)
2.Although a polyhedra consists of lots of points, but they are all separated in tetras in simulations, is that right?
3.what's the difference between the polyhedron in utils and polyhedra in polyhedra_utils?
Yours,
Joe

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jérôme Duriez
Solved:
2019-07-13
Last query:
2019-07-13
Last reply:
2019-07-12
Best Jérôme Duriez (jduriez) said : #1

Hi,

1. and 2.I think Tetra and Polyhedra shapes are actually different and not related one to another. Contact algorithms for Polyhedra are described at https://www.sciencedirect.com/science/article/pii/S0032591014005191

Thanks to CGAL library they apply to any (convex) polyhedron, without any subdivision in Tetra shapes.

3. These two functions both return a body of Polyhedra shape. Their behavior / expected (or useable) attributes indeed differ though. One accepts a random generation of vertices, the other waits for the user to define them, for instance.

zhou qian (zhoug15) said : #2

Thanks Jérôme Duriez, that solved my question.