← Back to team overview

yade-dev team mailing list archive

Re: acces to sphere/wall information

 

I usually use classIndexes, but it needs a bit more than one line. Do we have a simpler way now (checking class names takes too much time)?

Bruno


Emanuele Catalano a écrit :
Hi all,
in a loop "FOREACH ( const shared_ptr<Body>& b, *ncb->bodies )"
could you tell me which is the best and most performant way to test if a body is a sphere or a wall?

Thanks.
Emanuele

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp



--

_______________
Chareyre Bruno
Maître de Conférences

Grenoble INP
Laboratoire 3SR - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________




Follow ups

References