Public Member Functions | Public Attributes | List of all members
coal::CollisionCallBackDefault Struct Reference

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

#include <default_broadphase_callbacks.h>

Inheritance diagram for coal::CollisionCallBackDefault:
Inheritance graph
[legend]

Public Member Functions

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. More...
 
void init ()
 Initialize the callback. Clears the collision result and sets the done boolean to false. More...
 
virtual ~CollisionCallBackDefault ()
 
- Public Member Functions inherited from coal::CollisionCallBackBase
virtual bool operator() (CollisionObject *o1, CollisionObject *o2)
 Functor call associated to the collide operation. More...
 

Public Attributes

CollisionData data
 

Detailed Description

Default collision callback to check collision between collision objects.

Definition at line 196 of file coal/broadphase/default_broadphase_callbacks.h.

Constructor & Destructor Documentation

◆ ~CollisionCallBackDefault()

virtual coal::CollisionCallBackDefault::~CollisionCallBackDefault ( )
inlinevirtual

Member Function Documentation

◆ collide()

bool coal::CollisionCallBackDefault::collide ( CollisionObject o1,
CollisionObject o2 
)
virtual

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

Implements coal::CollisionCallBackBase.

Definition at line 61 of file default_broadphase_callbacks.cpp.

◆ init()

void coal::CollisionCallBackDefault::init ( )
inlinevirtual

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

Reimplemented from coal::CollisionCallBackBase.

Definition at line 199 of file coal/broadphase/default_broadphase_callbacks.h.

Member Data Documentation

◆ data

CollisionData coal::CollisionCallBackDefault::data

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


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:45:00