Go to the documentation of this file.
46 struct CollisionRequest;
52 struct HPP_FCL_DLLAPI
OBB {
70 return axes == other.
axes && To == other.
To && extent == other.
extent;
77 bool contain(
const Vec3f& p)
const;
99 *
this = *
this + other;
105 OBB operator+(
const OBB& other)
const;
137 const OBB& b2,
const CollisionRequest& request,
bool operator!=(const OBB &other) const
Difference operator.
Matrix3f axes
Orientation of OBB. axis[i] is the ith column of the orientation matrix for the box; it is also the i...
Vec3f extent
Half dimensions of OBB.
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
FCL_REAL volume() const
Volume of the OBB.
FCL_REAL width() const
Width of the OBB.
FCL_REAL depth() const
Depth of the OBB.
HPP_FCL_DLLAPI FCL_REAL distance(const Matrix3f &R0, const Vec3f &T0, const kIOS &b1, const kIOS &b2, Vec3f *P=NULL, Vec3f *Q=NULL)
Approximate distance between two kIOS bounding volumes.
FCL_REAL height() const
Height of the OBB.
HPP_FCL_DLLAPI bool obbDisjoint(const Matrix3f &B, const Vec3f &T, const Vec3f &a, const Vec3f &b)
FCL_REAL size() const
Size of the OBB (used in BV_Splitter to order two OBBs)
request to the collision algorithm
Oriented bounding box class.
bool operator==(const OBB &other) const
Equality operator.
OBB & operator+=(const OBB &other)
Merge the OBB and another OBB (the result is not compact).
Eigen::Matrix< FCL_REAL, 3, 3 > Matrix3f
HPP_FCL_DLLAPI bool overlap(const Matrix3f &R0, const Vec3f &T0, const AABB &b1, const AABB &b2)
Check collision between two aabbs, b1 is in configuration (R0, T0) and b2 is in identity.
const Vec3f & center() const
Center of the OBB.
static AABB translate(const AABB &aabb, const Vec3f &t)
translate the center of AABB by t
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:14