#include <collision_data.h>
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 Contact & | getContact (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 | |
Definition at line 179 of file collision_data.h.