FCL
0.6.0
Flexible Collision Library
|
collision matrix stores the functions for collision between different types of objects and provides a uniform call interface More...
#include <collision_func_matrix.h>
Public Types | |
using | S = typename NarrowPhaseSolver::S |
using | CollisionFunc = std::size_t(*)(const CollisionGeometry< S > *o1, const Transform3< S > &tf1, const CollisionGeometry< S > *o2, const Transform3< S > &tf2, const NarrowPhaseSolver *nsolver, const CollisionRequest< S > &request, CollisionResult< S > &result) |
the uniform call interface for collision: for collision, we need know More... | |
Public Attributes | |
CollisionFunc | collision_matrix [NODE_COUNT][NODE_COUNT] |
each item in the collision matrix is a function to handle collision between objects of type1 and type2 | |
collision matrix stores the functions for collision between different types of objects and provides a uniform call interface
using fcl::detail::CollisionFunctionMatrix< NarrowPhaseSolver >::CollisionFunc = std::size_t (*)( const CollisionGeometry<S>* o1, const Transform3<S>& tf1, const CollisionGeometry<S>* o2, const Transform3<S>& tf2, const NarrowPhaseSolver* nsolver, const CollisionRequest<S>& request, CollisionResult<S>& result) |
the uniform call interface for collision: for collision, we need know