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

Detailed Description

Default distance callback to check collision between collision objects.

Definition at line 211 of file default_broadphase_callbacks.h.

Constructor & Destructor Documentation

◆ ~DistanceCallBackDefault()

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

Definition at line 220 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.

◆ init()

void hpp::fcl::DistanceCallBackDefault::init ( )
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.

Member Data Documentation

◆ data

DistanceData hpp::fcl::DistanceCallBackDefault::data

Definition at line 218 of file default_broadphase_callbacks.h.


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


hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:16