MULTIBODY SIMULATION SOFTWARE - API documentation
Public Member Functions
chrono::ChReportProximityCallback Class Reference

#include <CHproximityContainerBase.h>

List of all members.

Public Member Functions

virtual bool ReportProximityCallback (collision::ChCollisionModel *modA, collision::ChCollisionModel *modB)=0

Detailed Description

Class to be used as a callback interface for some user defined action to be taken for each proximity pair (already added to the container). The user should implement an inherited class and implement a custom ReportProximityCallback() function.


Member Function Documentation

virtual bool chrono::ChReportProximityCallback::ReportProximityCallback ( collision::ChCollisionModel modA,
collision::ChCollisionModel modB 
) [pure virtual]

Callback, used to report contact points already added to the container. This must be implemented by a child class of ChReportContactCallback. If returns false, the contact scanning will be stopped.

Parameters:
modAget model A (note: some containers may not support it and could be zero!)
modBget model B (note: some containers may not support it and could be zero!)

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