chrono::collision::ChCollisionSystem::BroadphaseCallback Class Referenceabstract

Description

Class to be used as a callback interface for user-defined actions to be performed for each 'near enough' pair of collision shapes found by the broad-phase collision step.

#include <ChCCollisionSystem.h>

Public Member Functions

virtual bool OnBroadphase (ChCollisionModel *modelA, ChCollisionModel *modelB)=0
 Callback used to process 'near enough' pairs of collision models found by the broad-phase collision algorithm. More...
 

Member Function Documentation

◆ OnBroadphase()

virtual bool chrono::collision::ChCollisionSystem::BroadphaseCallback::OnBroadphase ( ChCollisionModel modelA,
ChCollisionModel modelB 
)
pure virtual

Callback used to process 'near enough' pairs of collision models found by the broad-phase collision algorithm.

Return false to skip narrow-phase contact generation for this pair of bodies.

Parameters
modelA1st model
modelB2nd model

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