chrono::ChCollisionSystem::NarrowphaseCallback Class Referenceabstract

Description

Class to be used as a callback interface for user-defined actions to be performed during narrowphase.

The OnNarrowphase() method will be called for each collision pair found during narrow phase.

#include <ChCollisionSystem.h>

Inherited by chrono::vehicle::ChTrackCollisionManager.

Public Member Functions

virtual bool OnNarrowphase (ChCollisionInfo &cinfo)=0
 Callback used to process collision pairs found by the narrow-phase collision step. More...
 

Member Function Documentation

◆ OnNarrowphase()

virtual bool chrono::ChCollisionSystem::NarrowphaseCallback::OnNarrowphase ( ChCollisionInfo cinfo)
pure virtual

Callback used to process collision pairs found by the narrow-phase collision step.

Return true to generate a contact for this pair of overlapping bodies.


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