38 #ifndef FCL_DISTANCE_FUNC_MATRIX_H 39 #define FCL_DISTANCE_FUNC_MATRIX_H 41 #include "fcl/geometry/collision_geometry.h" 42 #include "fcl/narrowphase/distance_request.h" 43 #include "fcl/narrowphase/distance_result.h" 53 template <
typename NarrowPhaseSolver>
56 using S =
typename NarrowPhaseSolver::S;
67 const Transform3<S>& tf1,
69 const Transform3<S>& tf2,
70 const NarrowPhaseSolver* nsolver,
84 #include "fcl/narrowphase/detail/distance_func_matrix-inl.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45
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 ...
Definition: distance_func_matrix.h:76
distance matrix stores the functions for distance between different types of objects and provides a u...
Definition: distance_func_matrix.h:54
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) DistanceFunc
the uniform call interface for distance: for distance, we need know
Definition: distance_func_matrix.h:72
distance result
Definition: distance_request.h:48
The geometry for the object for collision or distance computation.
Definition: collision_geometry.h:59
request to the distance computation
Definition: distance_request.h:52