Go to the documentation of this file.
38 #ifndef FCL_BV_OBBRSS_INL_H
39 #define FCL_BV_OBBRSS_INL_H
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>
150 return rss.distance(other.
rss, P, Q);
154 template <
typename S,
typename DerivedA,
typename DerivedB>
155 bool overlap(
const Eigen::MatrixBase<DerivedA>& R0,
156 const Eigen::MatrixBase<DerivedB>& T0,
163 template <
typename S,
typename DerivedA,
typename DerivedB>
165 const Eigen::MatrixBase<DerivedA>& R0,
166 const Eigen::MatrixBase<DerivedB>& T0,
174 template <
typename S>
OBBRSS< S > translate(const OBBRSS< S > &bv, const Vector3< S > &t)
Translate the OBBRSS bv.
AABB< S > translate(const AABB< S > &aabb, const Eigen::MatrixBase< Derived > &t)
translate the center of AABB by t
Eigen::Matrix< S, 3, 1 > Vector3
bool overlap(const Eigen::MatrixBase< DerivedA > &R0, const Eigen::MatrixBase< DerivedB > &T0, const OBBRSS< S > &b1, const OBBRSS< S > &b2)
Check collision between two OBBRSS, b1 is in configuration (R0, T0) and b2 is in indentity.
S distance(const Eigen::MatrixBase< DerivedA > &R0, const Eigen::MatrixBase< DerivedB > &T0, const OBBRSS< S > &b1, const OBBRSS< S > &b2, Vector3< S > *P, Vector3< S > *Q)
Computate distance between two OBBRSS, b1 is in configuation (R0, T0) and b2 is in indentity; P and Q...
template class FCL_EXPORT OBBRSS< double >
Vector3< S > To
Center of OBB.
template TMatrix3< double > operator+(const Matrix3< double > &m1, const TMatrix3< double > &m2)
fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:48