request to the collision algorithm More...
#include <collision_data.h>
Public Member Functions | |
CollisionRequest (size_t num_max_contacts_=1, bool enable_contact_=false, size_t num_max_cost_sources_=1, bool enable_cost_=false, bool use_approximate_cost_=true) | |
bool | isSatisfied (const CollisionResult &result) const |
Public Attributes | |
bool | enable_contact |
whether the contact information (normal, penetration depth and contact position) will return | |
bool | enable_cost |
whether the cost sources will be computed | |
size_t | num_max_contacts |
The maximum number of contacts will return. | |
size_t | num_max_cost_sources |
The maximum number of cost sources will return. | |
bool | use_approximate_cost |
whether the cost computation is approximated |
request to the collision algorithm
Definition at line 169 of file collision_data.h.
fcl::CollisionRequest::CollisionRequest | ( | size_t | num_max_contacts_ = 1 , |
bool | enable_contact_ = false , |
||
size_t | num_max_cost_sources_ = 1 , |
||
bool | enable_cost_ = false , |
||
bool | use_approximate_cost_ = true |
||
) | [inline] |
Definition at line 186 of file collision_data.h.
bool fcl::CollisionRequest::isSatisfied | ( | const CollisionResult & | result | ) | const |
Definition at line 42 of file collision_data.cpp.
whether the contact information (normal, penetration depth and contact position) will return
Definition at line 175 of file collision_data.h.
whether the cost sources will be computed
Definition at line 181 of file collision_data.h.
The maximum number of contacts will return.
Definition at line 172 of file collision_data.h.
The maximum number of cost sources will return.
Definition at line 178 of file collision_data.h.
whether the cost computation is approximated
Definition at line 184 of file collision_data.h.