collision result More...
#include <hpp/fcl/collision_data.h>
Public Member Functions | |
CollisionResult () | |
void | addContact (const Contact &c) |
add one contact into result structure More... | |
void | addCostSource (const CostSource &c, std::size_t num_max_cost_sources) |
add one cost source into result structure More... | |
bool | isCollision () const |
return binary collision result More... | |
size_t | numContacts () const |
number of contacts found More... | |
size_t | numCostSources () const |
number of cost sources found More... | |
const Contact & | getContact (size_t i) const |
get the i-th contact calculated More... | |
void | getContacts (std::vector< Contact > &contacts_) |
get all the contacts More... | |
void | getCostSources (std::vector< CostSource > &cost_sources_) |
get all the cost sources More... | |
void | clear () |
clear the results obtained More... | |
Public Attributes | |
Vec3f | cached_gjk_guess |
FCL_REAL | distance_lower_bound |
Lower bound on distance between objects if they are disjoint. More... | |
collision result
|
inline |
|
inline |
add one contact into result structure
Referenced by fcl::ShapeCollisionTraversalNode< S1, S2, NarrowPhaseSolver >::leafTesting(), fcl::MeshCollisionTraversalNode< OBBRSS >::leafTesting(), fcl::MeshShapeCollisionTraversalNode< OBBRSS, S, NarrowPhaseSolver >::leafTesting(), and fcl::ShapeMeshCollisionTraversalNode< S, kIOS, NarrowPhaseSolver >::leafTesting().
|
inline |
add one cost source into result structure
Referenced by fcl::ShapeCollisionTraversalNode< S1, S2, NarrowPhaseSolver >::leafTesting(), fcl::MeshCollisionTraversalNode< OBBRSS >::leafTesting(), fcl::MeshShapeCollisionTraversalNode< OBBRSS, S, NarrowPhaseSolver >::leafTesting(), and fcl::ShapeMeshCollisionTraversalNode< S, kIOS, NarrowPhaseSolver >::leafTesting().
|
inline |
clear the results obtained
|
inline |
get the i-th contact calculated
|
inline |
get all the contacts
|
inline |
get all the cost sources
|
inline |
return binary collision result
|
inline |
number of contacts found
Referenced by fcl::ShapeCollisionTraversalNode< S1, S2, NarrowPhaseSolver >::leafTesting(), and fcl::MeshCollisionTraversalNode< OBBRSS >::leafTesting().
|
inline |
number of cost sources found
Vec3f fcl::CollisionResult::cached_gjk_guess |
FCL_REAL fcl::CollisionResult::distance_lower_bound |
Lower bound on distance between objects if they are disjoint.