38 #ifndef FCL_BV_BVNODE_H 39 #define FCL_BV_BVNODE_H 42 #include "fcl/math/bv/OBB.h" 43 #include "fcl/math/bv/RSS.h" 44 #include "fcl/math/bv/OBBRSS.h" 45 #include "fcl/geometry/bvh/BV_node_base.h" 51 template <
typename BV>
54 using S =
typename BV::S;
66 Vector3<S>* P1 =
nullptr,
67 Vector3<S>* P2 =
nullptr)
const;
78 #include "fcl/geometry/bvh/BV_node-inl.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45
bool overlap(const BVNode &other) const
Check whether two BVNode collide.
Definition: BV_node-inl.h:48
S distance(const BVNode &other, Vector3< S > *P1=nullptr, Vector3< S > *P2=nullptr) const
Compute the distance between two BVNode. P1 and P2, if not nullptr and the underlying BV supports dis...
Definition: BV_node-inl.h:55
BVNodeBase encodes the tree structure for BVH.
Definition: BV_node_base.h:50
BV bv
bounding volume storing the geometry
Definition: BV_node.h:57
A class describing a bounding volume node. It includes the tree structure providing in BVNodeBase and...
Definition: BV_node.h:52
Vector3< S > getCenter() const
Access the center of the BV.
Definition: BV_node-inl.h:63
Matrix3< S > getOrientation() const
Access the orientation of the BV.
Definition: BV_node-inl.h:80