Project Chrono: chrono::ChCollisionSystem::BroadphaseCallback Class Reference

Public Member Functions | List of all members
chrono::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 <ChCollisionSystem.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.

## Member Function Documentation

## ◆ OnBroadphase()

virtual bool chrono::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

  modelA | 1st model
  modelB | 2nd model

The documentation for this class was generated from the following file:

- D:/W/B/src/chrono-9.0.1/src/chrono/collision/ChCollisionSystem.h