MULTIBODY SIMULATION SOFTWARE - API documentation

chrono::collision::ChBroadPhaseCallback Class Reference

#include <CHcCollisionSystem.h>

List of all members.

Public Member Functions

bool BroadCallback (ChCollisionModel *mmodelA, ChCollisionModel *mmodelB)


Detailed Description

Class to be used as a callback interface for the broad-phase collision system. For each 'near enough' pair of shapes found during the Run() execution of the ChCollisionSystem, the function ChBroadPhaseCallback() is called. The user could optionally implement an inherited class and implement a custom BroadCallback().

Member Function Documentation

bool chrono::collision::ChBroadPhaseCallback::BroadCallback ( ChCollisionModel mmodelA,
ChCollisionModel mmodelB 
)

Callback used to report 'near enough' pairs of models. This must be implemented by a child class of ChBroadPhaseCallback. Return false to skip narrow-phase contact generation for this pair of bodies.

Parameters:
mmodelA  pass 1st model
mmodelB  pass 2nd model


CHRONO::ENGINE
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on 17 Jul 2009 by Doxygen