yade-users team mailing list archive
Mailing list archive
Re: [Question #681292]: contact detection between polyhedra and sphere
Question #681292 on Yade changed:
Status: Open => Answered
Jan Stránský proposed the following answer:
there is no paper about Yade implementation. But sure you could find
something about the topic in general.
As the returned type is ScGeom, it computes penetration depth (no
The principle is (see ):
- find the closest point of the polyhedron to the sphere's center
- penetrationDepth = sphere.radius - distance(sphere.center, theClosestPoint) # pseudocode
You received this question notification because your team yade-users is
an answer contact for Yade.