Default distance callback to check collision between collision objects. More...
#include <default_broadphase_callbacks.h>
Public Member Functions | |
bool | distance (CollisionObject *o1, CollisionObject *o2, FCL_REAL &dist) |
Distance evaluation between two objects in collision. This callback will cause the broadphase evaluation to stop if it returns true. More... | |
void | init () |
Initialize the callback. Clears the distance result and sets the done boolean to false. More... | |
virtual | ~DistanceCallBackDefault () |
Public Member Functions inherited from hpp::fcl::DistanceCallBackBase | |
virtual bool | operator() (CollisionObject *o1, CollisionObject *o2, FCL_REAL &dist) |
Functor call associated to the distance operation. More... | |
Public Attributes | |
DistanceData | data |
Default distance callback to check collision between collision objects.
Definition at line 211 of file default_broadphase_callbacks.h.
|
inlinevirtual |
Definition at line 220 of file default_broadphase_callbacks.h.
|
virtual |
Distance evaluation between two objects in collision. This callback will cause the broadphase evaluation to stop if it returns true.
[in] | o1 | Collision object #1. |
[in] | o2 | Collision object #2. |
[out] | dist | Distance between the two collision geometries. |
Implements hpp::fcl::DistanceCallBackBase.
Definition at line 88 of file default_broadphase_callbacks.cpp.
|
inlinevirtual |
Initialize the callback. Clears the distance result and sets the done boolean to false.
Reimplemented from hpp::fcl::DistanceCallBackBase.
Definition at line 214 of file default_broadphase_callbacks.h.
DistanceData hpp::fcl::DistanceCallBackDefault::data |
Definition at line 218 of file default_broadphase_callbacks.h.