Go to the documentation of this file.
38 #ifndef HPP_FCL_OBBRSS_H
39 #define HPP_FCL_OBBRSS_H
47 struct CollisionRequest;
63 return obb == other.
obb && rss == other.
rss;
80 return obb.overlap(other.
obb, request, sqrDistLowerBound);
86 Vec3f* Q = NULL)
const {
99 *
this = *
this + other;
107 result.
rss = rss + other.
rss;
146 return overlap(R0, T0, b1.
obb, b2.
obb, request, sqrDistLowerBound);
bool operator!=(const OBBRSS &other) const
Difference operator.
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
FCL_REAL width() const
Width of the OBRSS.
OBBRSS & operator+=(const OBBRSS &other)
Merge two OBBRSS.
OBB obb
OBB member, for rotation.
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.
bool operator==(const OBBRSS &other) const
Equality operator.
bool overlap(const OBBRSS &other, const CollisionRequest &request, FCL_REAL &sqrDistLowerBound) const
OBBRSS operator+(const OBBRSS &other) const
Merge two OBBRSS.
bool overlap(const OBBRSS &other) const
Check collision between two OBBRSS.
FCL_REAL volume() const
Volume of the OBBRSS.
const Vec3f & center() const
Center of the OBBRSS.
OBBRSS & operator+=(const Vec3f &p)
Merge the OBBRSS and a point.
request to the collision algorithm
Oriented bounding box class.
FCL_REAL distance(const OBBRSS &other, Vec3f *P=NULL, Vec3f *Q=NULL) const
Distance between two OBBRSS; P and Q , is not NULL, returns the nearest points.
bool contain(const Vec3f &p) const
Check whether the OBBRSS contains a point.
FCL_REAL height() const
Height of the OBBRSS.
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.
FCL_REAL distance(const RSS &other, Vec3f *P=NULL, Vec3f *Q=NULL) const
the distance between two RSS; P and Q, if not NULL, return the nearest points
RSS rss
RSS member, for distance.
FCL_REAL depth() const
Depth of the OBBRSS.
FCL_REAL size() const
Size of the OBBRSS (used in BV_Splitter to order two OBBRSS)
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:14