| MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHproximityContainerBase.h>
Public Member Functions | |
| virtual bool | ReportProximityCallback (collision::ChCollisionModel *modA, collision::ChCollisionModel *modB)=0 |
Class to be used as a callback interface for some user defined action to be taken for each proximity pair (already added to the container). The user should implement an inherited class and implement a custom ReportProximityCallback() function.
| virtual bool chrono::ChReportProximityCallback::ReportProximityCallback | ( | collision::ChCollisionModel * | modA, |
| collision::ChCollisionModel * | modB | ||
| ) | [pure virtual] |
Callback, used to report contact points already added to the container. This must be implemented by a child class of ChReportContactCallback. If returns false, the contact scanning will be stopped.
| modA | get model A (note: some containers may not support it and could be zero!) |
| modB | get model B (note: some containers may not support it and could be zero!) |
CHRONO::ENGINE