38 #ifndef FCL_TRAVERSAL_DISTANCERAVERSALNODEBASE_INL_H 39 #define FCL_TRAVERSAL_DISTANCERAVERSALNODEBASE_INL_H 41 #include "fcl/narrowphase/detail/traversal/distance/distance_traversal_node_base.h" 51 class DistanceTraversalNodeBase<double>;
55 DistanceTraversalNodeBase<S>::DistanceTraversalNodeBase()
56 : result(nullptr), enable_statistics(false)
63 DistanceTraversalNodeBase<S>::~DistanceTraversalNodeBase()
72 return std::numeric_limits<S>::max();
93 enable_statistics = enable;
virtual S BVTesting(int b1, int b2) const
BV test between b1 and b2.
Definition: distance_traversal_node_base-inl.h:70
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
virtual bool canStop(S c) const
Check whether the traversal can stop.
Definition: distance_traversal_node_base-inl.h:84
virtual void leafTesting(int b1, int b2) const
Leaf test between node b1 and b2, if they are both leafs.
Definition: distance_traversal_node_base-inl.h:77
void enableStatistics(bool enable)
Whether store some statistics information during traversal.
Definition: distance_traversal_node_base-inl.h:91