yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00426
Re: differenciate box/sphere and sphere/sphere interaction
Janek Kozicki wrote:
>try this. I haven't tested that but it should be something like this:
>
>int geometryIndex1 = (*bodies)[id1]->geometricalModel->getClassIndex();
>int geometryIndex2 = (*bodies)[id2]->geometricalModel->getClassIndex();
>
>
>Please tell if it works.
>
>
>
it seems ok.
thank you for your very quick reply
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users
References