chrono::ChProximityContainer::AddProximityCallback 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 <ChProximityContainer.h>

Public Member Functions

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

Member Function Documentation

◆ OnAddProximity()

virtual void chrono::ChProximityContainer::AddProximityCallback::OnAddProximity ( const collision::ChCollisionModel modA,
const collision::ChCollisionModel modB 
)
pure virtual

Callback used to process proximity pairs being added to the container.

A derived user-provided callback class must implement this.

Parameters
modAcontact model 1
modBcontact model 2

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/physics/ChProximityContainer.h