#include <IFCD.h>
Public Member Functions | |
virtual | ~IFCD ()=default |
virtual Contacts & | generateContacts (PossibleContacts &possibleContacts)=0 |
generates a list of actual collisions More... | |
Contacts & | getContacts () |
returns saved list of contacts More... | |
Protected Attributes | |
Contacts | contacts_ |
Additional Inherited Members | |
Private Member Functions inherited from walberla::NonCopyable | |
NonCopyable ()=default | |
~NonCopyable ()=default | |
|
virtualdefault |
|
pure virtual |
generates a list of actual collisions
Takes a list of possible contacts (pair of BodyIDs) and checks them for actual collision. All generated contacts are stored in the member variable contacts_ for later reuse. Returns a list containing all contact points detected.
possibleContacts | list of possible contacts generated by coarse collision detection |
Implemented in walberla::pe::fcd::GenericFCD< BodyTypeTuple, CollisionFunctor >, and walberla::pe::fcd::GenericFCD< BodyTypeTuple, AnalyticCollideFunctor >.
|
inline |
returns saved list of contacts
|
protected |