Public Member Functions | Public Attributes | List of all members
hpp::fcl::DistanceCallBackDefault Struct Reference

Default distance callback to check collision between collision objects. More...

#include <default_broadphase_callbacks.h>

Inheritance diagram for hpp::fcl::DistanceCallBackDefault:
Inheritance graph
[legend]

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...
 
virtual ~DistanceCallBackDefault ()
 
- Public Member Functions inherited from hpp::fcl::DistanceCallBackBase
virtual void init ()
 Initialization of the callback before running the collision broadphase manager. More...
 
virtual bool operator() (CollisionObject *o1, CollisionObject *o2, FCL_REAL &dist)
 Functor call associated to the distance operation. More...
 

Public Attributes

DistanceData data
 

Detailed Description

Default distance callback to check collision between collision objects.

Definition at line 195 of file default_broadphase_callbacks.h.

Constructor & Destructor Documentation

◆ ~DistanceCallBackDefault()

virtual hpp::fcl::DistanceCallBackDefault::~DistanceCallBackDefault ( )
inlinevirtual

Definition at line 200 of file default_broadphase_callbacks.h.

Member Function Documentation

◆ distance()

bool hpp::fcl::DistanceCallBackDefault::distance ( CollisionObject o1,
CollisionObject o2,
FCL_REAL dist 
)
virtual

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

Parameters
[in]o1Collision object #1.
[in]o2Collision object #2.
[out]distDistance between the two collision geometries.

Implements hpp::fcl::DistanceCallBackBase.

Definition at line 88 of file default_broadphase_callbacks.cpp.

Member Data Documentation

◆ data

DistanceData hpp::fcl::DistanceCallBackDefault::data

Definition at line 198 of file default_broadphase_callbacks.h.


The documentation for this struct was generated from the following files:


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:03