chrono::collision::ChNarrowPhaseCallback Class Referenceabstract

Description

Class to be used as a callback interface for the narrow phase collision system.

For each contact point found during the Run() execution of the ChCollisionSystem, the function ChNarrowPhaseCallback() is called. The user should implement an inherited class and implement a custom NarrowCallback() function.

#include <ChCCollisionSystem.h>

Public Member Functions

virtual void NarrowCallback (ChCollisionInfo &mcontactinfo)=0
 Callback, used to report contact points found by default narrow phase collision step. More...
 

Member Function Documentation

virtual void chrono::collision::ChNarrowPhaseCallback::NarrowCallback ( ChCollisionInfo mcontactinfo)
pure virtual

Callback, used to report contact points found by default narrow phase collision step.

This must be implemented by a child class of ChNarrowPhaseCallback