chrono::ChAddProximityCallback Class Referenceabstract

Description

Class to be used as a callback interface for some user defined action to be taken each time a proximity info is added to the container.

#include <ChProximityContainerBase.h>

Public Member Functions

virtual void ProximityCallback (const collision::ChCollisionModel &modA, const collision::ChCollisionModel &modB)=0
 Callback, used to report proximity pairs being added to the container. More...
 

Member Function Documentation

virtual void chrono::ChAddProximityCallback::ProximityCallback ( const collision::ChCollisionModel modA,
const collision::ChCollisionModel modB 
)
pure virtual

Callback, used to report proximity pairs being added to the container.

This must be implemented by a child class of ChAddProximityCallback

Parameters
modAget contact model 1
modBget contact model 2