Go to the documentation of this file.
38 #ifndef FCL_BV_BVNODE_INL_H
39 #define FCL_BV_BVNODE_INL_H
47 template <
typename BV>
50 return bv.overlap(other.
bv);
54 template <
typename BV>
58 return bv.distance(other.
bv, P1, P2);
62 template <
typename BV>
69 template <
typename S,
typename BV>
79 template <
typename BV>
106 template <
typename S>
Matrix3< S > axis
Orientation of OBB. The axes of the rotation matrix are the principle directions of the box....
static Matrix3< S > run(const BVNode< BV > &)
BV bv
bounding volume storing the geometry
bool overlap(const BVNode &other) const
Check whether two BVNode collide.
Eigen::Matrix< S, 3, 1 > Vector3
Eigen::Matrix< S, 3, 3 > Matrix3
Vector3< S > getCenter() const
Access the center of the BV.
Oriented bounding box class.
A class describing a bounding volume node. It includes the tree structure providing in BVNodeBase and...
static Matrix3< S > run(const OBB< S > &bv)
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...
Matrix3< S > getOrientation() const
Access the orientation of the BV.
fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:48