chrono::ChProximityContainer::ReportProximityCallback Class Referenceabstract
Description
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).
It can be used to report or post-process proximity pairs.
#include <ChProximityContainer.h>
Public Member Functions | |
virtual bool | OnReportProximity (collision::ChCollisionModel *modA, collision::ChCollisionModel *modB)=0 |
Callback used to report contact points already added to the container. More... | |
Member Function Documentation
◆ OnReportProximity()
|
pure virtual |
Callback used to report contact points already added to the container.
If it returns false, the contact scanning will be stopped.
- Parameters
-
modA model A (could be nullptr, if the container does not support it) modB model B (could be nullptr, if the container does not support it)
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/physics/ChProximityContainer.h