Struct DistanceCallBackDefault

Inheritance Relationships

Base Type

Struct Documentation

struct DistanceCallBackDefault : public hpp::fcl::DistanceCallBackBase

Default distance callback to check collision between collision objects.

Public Functions

inline virtual void init()

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

virtual 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.

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

  • o2[in] Collision object #2.

  • dist[out] Distance between the two collision geometries.

inline virtual ~DistanceCallBackDefault()

Public Members

DistanceData data