chrono::ChCollisionSystem::NarrowphaseCallback Class Referenceabstract

Description

Class to be used as a callback interface for user-defined actions to be performed at each collision pair found during the narrow-phase collision step.

It can be used to override the geometric information.

#include <ChCollisionSystem.h>

Inherited by chrono::vehicle::ChTrackCollisionManager.

Public Member Functions

virtual bool OnNarrowphase (ChCollisionInfo &contactinfo)=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 contactinfo)
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