chrono::collision::btArcSegmentCollisionAlgorithm 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 btActivatingCollisionAlgorithm.
Public Member Functions | |
btArcSegmentCollisionAlgorithm (btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *col0, const btCollisionObjectWrapper *col1, bool isSwapped) | |
btArcSegmentCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci) | |
virtual void | processCollision (const btCollisionObjectWrapper *body0, const btCollisionObjectWrapper *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) override |
virtual btScalar | calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) override |
virtual void | getAllContactManifolds (btManifoldArray &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/ChCollisionAlgorithmsBullet.h
- /builds/uwsbel/chrono/src/chrono/collision/ChCollisionAlgorithmsBullet.cpp