Struct CollisionCallBackDefault

Inheritance Relationships

Base Type

Struct Documentation

struct CollisionCallBackDefault : public hpp::fcl::CollisionCallBackBase

Default collision callback to check collision between collision objects.

Public Functions

inline virtual void init()

Initialize the callback. Clears the collision result and sets the done boolean to false.

virtual bool collide(CollisionObject *o1, CollisionObject *o2)

Collision evaluation between two objects in collision. This callback will cause the broadphase evaluation to stop if it returns true.

Parameters:
  • o1[in] Collision object #1.

  • o2[in] Collision object #2.

inline virtual ~CollisionCallBackDefault()

Public Members

CollisionData data