← Back to team overview

yade-dev team mailing list archive

Re: Overlapping volume

 

>
> // distance between two contact spheres
> d=((Body::byId(id1,scene)->state->pos) -
> (Body::byId(id2,scene)->state->pos) +
> (scene->cell->hSize*I->cellDist.cast<Real>())).norm();
>
I'm not sure in fact... check sign in other places and see.




Follow ups

References