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 (ChCollisionModel *modA, ChCollisionModel *modB)=0
 Callback used to report contact points already added to the container. More...
 

Member Function Documentation

◆ OnReportProximity()

virtual bool chrono::ChProximityContainer::ReportProximityCallback::OnReportProximity ( ChCollisionModel modA,
ChCollisionModel modB 
)
pure virtual

Callback used to report contact points already added to the container.

If it returns false, the contact scanning will be stopped.

Parameters
modAmodel A (could be nullptr, if the container does not support it)
modBmodel 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