All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends

fcl::CollisionResult Struct Reference

collision result More...

#include <collision_data.h>

List of all members.

Public Member Functions

 CollisionResult ()
void addContact (const Contact &c)
 add one contact into result structure
void addCostSource (const CostSource &c, std::size_t num_max_cost_sources)
 add one cost source into result structure
bool isCollision () const
 return binary collision result
size_t numContacts () const
 number of contacts found
size_t numCostSources () const
 number of cost sources found
const ContactgetContact (size_t i) const
 get the i-th contact calculated
void getContacts (std::vector< Contact > &contacts_)
 get all the contacts
void getCostSources (std::vector< CostSource > &cost_sources_)
 get all the cost sources
void clear ()
 clear the results obtained

Detailed Description

collision result

Definition at line 179 of file collision_data.h.

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