chrono::cbtArcSegmentCollisionAlgorithm Class Reference
Description
Custom override of the default Bullet algorithm for 2Dsegment-2Darc collision.
Note: works only if the two are coplanar.
#include <ChCollisionAlgorithmsBullet.h>
Inherits cbtActivatingCollisionAlgorithm.
Public Member Functions | |
cbtArcSegmentCollisionAlgorithm (cbtPersistentManifold *mf, const cbtCollisionAlgorithmConstructionInfo &ci, const cbtCollisionObjectWrapper *col0, const cbtCollisionObjectWrapper *col1, bool isSwapped) | |
cbtArcSegmentCollisionAlgorithm (const cbtCollisionAlgorithmConstructionInfo &ci) | |
virtual void | processCollision (const cbtCollisionObjectWrapper *body0, const cbtCollisionObjectWrapper *body1, const cbtDispatcherInfo &dispatchInfo, cbtManifoldResult *resultOut) override |
virtual cbtScalar | calculateTimeOfImpact (cbtCollisionObject *body0, cbtCollisionObject *body1, const cbtDispatcherInfo &dispatchInfo, cbtManifoldResult *resultOut) override |
virtual void | getAllContactManifolds (cbtManifoldArray &manifoldArray) override |
Member Function Documentation
◆ processCollision()
|
overridevirtual |
report a contact. internally this will be kept persistent, and contact reduction is done
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/collision/bullet/ChCollisionAlgorithmsBullet.h
- /builds/uwsbel/chrono/src/chrono/collision/bullet/ChCollisionAlgorithmsBullet.cpp