43 #include <boost/math/constants/constants.hpp>
47 struct CollisionRequest;
54 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
80 return axes == other.
axes && Tr == other.
Tr &&
81 length[0] == other.
length[0] && length[1] == other.
length[1] &&
96 Scalar& sqrDistLowerBound)
const {
97 sqrDistLowerBound = std::numeric_limits<Scalar>::quiet_NaN();
111 *
this = *
this + other;
120 return (std::sqrt(length[0] * length[0] + length[1] * length[1]) +
138 return (length[0] * length[1] * 2 * radius +
139 4 * boost::math::constants::pi<Scalar>() * radius * radius *
170 Scalar& sqrDistLowerBound);
#define COAL_DLLAPI
Definition: config.hh:88
Main namespace.
Definition: broadphase_bruteforce.h:44
Scalar distance(const Matrix3s &R0, const Vec3s &T0, const kIOS &b1, const kIOS &b2, Vec3s *P=NULL, Vec3s *Q=NULL)
Approximate distance between two kIOS bounding volumes.
bool overlap(const Matrix3s &R0, const Vec3s &T0, const AABB &b1, const AABB &b2)
Check collision between two aabbs, b1 is in configuration (R0, T0) and b2 is in identity.
Eigen::Matrix< Scalar, 3, 1 > Vec3s
Definition: data_types.h:70
double Scalar
Definition: data_types.h:68
Eigen::Matrix< Scalar, 3, 3 > Matrix3s
Definition: data_types.h:74
request to the collision algorithm
Definition: collision_data.h:311