collision result
More...
#include <hpp/fcl/collision_data.h>
hpp::fcl::CollisionResult::CollisionResult |
( |
| ) |
|
|
inline |
void hpp::fcl::CollisionResult::addContact |
( |
const Contact & |
c | ) |
|
|
inline |
add one contact into result structure
Referenced by hpp::fcl::ShapeCollisionTraversalNode< S1, S2, NarrowPhaseSolver >::leafTesting(), hpp::fcl::MeshShapeCollisionTraversalNode< kIOS, S, NarrowPhaseSolver, 0 >::leafTesting(), hpp::fcl::MeshCollisionTraversalNode< BV, _Options >::leafTesting(), hpp::fcl::ShapeMeshCollisionTraversalNode< S, OBB, NarrowPhaseSolver, 0 >::leafTesting(), and hpp::fcl::OcTreeSolver< NarrowPhaseSolver >::ShapeOcTreeDistance().
void hpp::fcl::CollisionResult::clear |
( |
| ) |
|
|
inline |
clear the results obtained
const Contact& hpp::fcl::CollisionResult::getContact |
( |
size_t |
i | ) |
const |
|
inline |
get the i-th contact calculated
void hpp::fcl::CollisionResult::getContacts |
( |
std::vector< Contact > & |
contacts_ | ) |
|
|
inline |
bool hpp::fcl::CollisionResult::isCollision |
( |
| ) |
const |
|
inline |
size_t hpp::fcl::CollisionResult::numContacts |
( |
| ) |
const |
|
inline |
bool hpp::fcl::CollisionResult::operator== |
( |
const CollisionResult & |
other | ) |
const |
|
inline |
reposition Contact objects when fcl inverts them during their construction.
Vec3f hpp::fcl::CollisionResult::cached_gjk_guess |
FCL_REAL hpp::fcl::CollisionResult::distance_lower_bound |
Lower bound on distance between objects if they are disjoint.
- Note
- computed only on request.
Referenced by operator==().