38 #ifndef FCL_BV_OBBRSS_INL_H 39 #define FCL_BV_OBBRSS_INL_H 41 #include "fcl/math/bv/OBBRSS.h" 52 OBBRSS<double>
translate(
const OBBRSS<double>& bv,
const Vector3<double>& t);
58 return obb.overlap(other.
obb);
89 *
this = *
this + other;
98 result.
obb = obb + other.
obb;
99 result.
rss = rss + other.
rss;
104 template <
typename S>
111 template <
typename S>
118 template <
typename S>
125 template <
typename S>
132 template <
typename S>
139 template <
typename S>
146 template <
typename S>
148 Vector3<S>* P, Vector3<S>* Q)
const 154 template <
typename S,
typename DerivedA,
typename DerivedB>
155 bool overlap(
const Eigen::MatrixBase<DerivedA>& R0,
156 const Eigen::MatrixBase<DerivedB>& T0,
159 return overlap(R0, T0, b1.
obb, b2.
obb);
163 template <
typename S,
typename DerivedA,
typename DerivedB>
165 const Eigen::MatrixBase<DerivedA>& R0,
166 const Eigen::MatrixBase<DerivedB>& T0,
168 Vector3<S>* P, Vector3<S>* Q)
174 template <
typename S>
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
AABB< S > translate(const AABB< S > &aabb, const Eigen::MatrixBase< Derived > &t)
translate the center of AABB by t
Definition: AABB-inl.h:345
S distance(const Eigen::MatrixBase< DerivedA > &R0, const Eigen::MatrixBase< DerivedB > &T0, const kIOS< S > &b1, const kIOS< S > &b2, Vector3< S > *P, Vector3< S > *Q)
Approximate distance between two kIOS bounding volumes.
Definition: kIOS-inl.h:266
Vector3< S > To
Center of OBB.
Definition: OBB.h:65