Go to the documentation of this file.
45 struct CollisionRequest;
51 struct COAL_DLLAPI
OBB {
52 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
71 return axes == other.
axes && To == other.
To && extent == other.
extent;
78 bool contain(
const Vec3s& p)
const;
100 *
this = *
this + other;
106 OBB operator+(
const OBB& other)
const;
138 const OBB& b2,
const CollisionRequest& request,
bool operator!=(const OBB &other) const
Difference operator.
Eigen::Matrix< CoalScalar, 3, 1 > Vec3s
Vec3s extent
Half dimensions of OBB.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Matrix3s axes
Orientation of OBB. axis[i] is the ith column of the orientation matrix for the box; it is also the i...
COAL_DLLAPI bool obbDisjoint(const Matrix3s &B, const Vec3s &T, const Vec3s &a, const Vec3s &b)
COAL_DLLAPI CoalScalar 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.
CoalScalar height() const
Height of the OBB.
CoalScalar size() const
Size of the OBB (used in BV_Splitter to order two OBBs)
CoalScalar depth() const
Depth of the OBB.
CoalScalar volume() const
Volume of the OBB.
request to the collision algorithm
static AABB translate(const AABB &aabb, const Vec3s &t)
translate the center of AABB by t
bool operator==(const OBB &other) const
Equality operator.
const Vec3s & center() const
Center of the OBB.
COAL_DLLAPI 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< CoalScalar, 3, 3 > Matrix3s
OBB & operator+=(const OBB &other)
Merge the OBB and another OBB (the result is not compact).
Oriented bounding box class.
CoalScalar width() const
Width of the OBB.
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:58