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