46 struct CollisionRequest;
53 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
72 return axes == other.
axes && To == other.
To && extent == other.
extent;
101 *
this = *
this + other;
#define HPP_FCL_DLLAPI
Definition: config.hh:88
FCL_REAL height() const
Height of the OBB.
Definition: OBB.h:119
FCL_REAL distance(const OBB &other, Vec3f *P=NULL, Vec3f *Q=NULL) const
Distance between two OBBs, not implemented.
OBB & operator+=(const Vec3f &p)
A simple way to merge the OBB and a point (the result is not compact).
OBB()
Definition: OBB.h:68
OBB & operator+=(const OBB &other)
Merge the OBB and another OBB (the result is not compact).
Definition: OBB.h:100
bool overlap(const OBB &other) const
Vec3f extent
Half dimensions of OBB.
Definition: OBB.h:66
FCL_REAL depth() const
Depth of the OBB.
Definition: OBB.h:122
bool operator!=(const OBB &other) const
Difference operator.
Definition: OBB.h:76
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.
FCL_REAL volume() const
Volume of the OBB.
Definition: OBB.h:125
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Matrix3f axes
Orientation of OBB. axis[i] is the ith column of the orientation matrix for the box; it is also the i...
Definition: OBB.h:60
FCL_REAL width() const
Width of the OBB.
Definition: OBB.h:116
bool contain(const Vec3f &p) const
Check whether the OBB contains a point.
bool operator==(const OBB &other) const
Equality operator.
Definition: OBB.h:71
const Vec3f & center() const
Center of the OBB.
Definition: OBB.h:113
OBB operator+(const OBB &other) const
Return the merged OBB of current OBB and the other one (the result is not compact).
bool overlap(const OBB &other, const CollisionRequest &request, FCL_REAL &sqrDistLowerBound) const
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)
Definition: OBB.h:110
Vec3f To
Center of OBB.
Definition: OBB.h:63
KDOP< N > translate(const KDOP< N > &bv, const Vec3f &t)
translate the KDOP BV
Eigen::Matrix< FCL_REAL, 3, 3 > Matrix3f
Definition: data_types.h:71
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
Definition: data_types.h:67
double FCL_REAL
Definition: data_types.h:66
Main namespace.
Definition: broadphase_bruteforce.h:44
request to the collision algorithm
Definition: collision_data.h:312
Oriented bounding box class.
Definition: OBB.h:52