38 #ifndef FCL_TRAVERSAL_BVHSHAPEDISTANCETRAVERSALNODE_INL_H 39 #define FCL_TRAVERSAL_BVHSHAPEDISTANCETRAVERSALNODE_INL_H 41 #include "fcl/narrowphase/detail/traversal/distance/bvh_shape_distance_traversal_node.h" 50 template<
typename BV,
typename Shape>
51 BVHShapeDistanceTraversalNode<BV, Shape>::BVHShapeDistanceTraversalNode()
52 : DistanceTraversalNodeBase<typename BV::S>()
59 query_time_seconds = 0.0;
63 template<
typename BV,
typename Shape>
66 return model1->getBV(b).isLeaf();
70 template<
typename BV,
typename Shape>
73 return model1->getBV(b).leftChild();
77 template<
typename BV,
typename Shape>
80 return model1->getBV(b).rightChild();
84 template<
typename BV,
typename Shape>
88 return model1->getBV(b1).bv.distance(model2_bv);
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
Traversal node for distance computation between BVH and shape.
Definition: bvh_shape_distance_traversal_node.h:52