38 #ifndef HPP_FCL_OBBRSS_H 39 #define HPP_FCL_OBBRSS_H 50 struct CollisionRequest;
84 return obb.
overlap(other.
obb, request, sqrDistLowerBound);
104 *
this = *
this + other;
112 result.
obb = obb + other.
obb;
113 result.
rss = rss + other.
rss;
169 return overlap(R0, T0, b1.
obb, b2.
obb, request, sqrDistLowerBound);
bool overlap(const OBBRSS &other, const CollisionRequest &request, FCL_REAL &sqrDistLowerBound) const
Definition: OBBRSS.h:81
FCL_REAL width() const
Width of the OBRSS.
Definition: OBBRSS.h:130
OBB obb
OBB member, for rotation.
Definition: OBBRSS.h:61
FCL_REAL volume() const
Volume of the OBB.
Definition: OBB.h:128
Main namespace.
Definition: AABB.h:43
OBBRSS & operator+=(const Vec3f &p)
Merge the OBBRSS and a point.
Definition: OBBRSS.h:94
OBBRSS operator+(const OBBRSS &other) const
Merge two OBBRSS.
Definition: OBBRSS.h:109
Oriented bounding box class.
Definition: OBB.h:54
FCL_REAL height() const
Height of the OBB.
Definition: OBB.h:116
Eigen::Matrix< FCL_REAL, 3, 3 > Matrix3f
Definition: data_types.h:74
FCL_REAL volume() const
Volume of the OBBRSS.
Definition: OBBRSS.h:148
bool overlap(const OBB &other) const
const Vec3f & center() const
Center of the OBBRSS.
Definition: OBBRSS.h:124
request to the collision algorithm
Definition: collision_data.h:150
bool contain(const Vec3f &p) const
Check whether the OBBRSS contains a point.
Definition: OBBRSS.h:67
double FCL_REAL
Definition: data_types.h:68
RSS rss
RSS member, for distance.
Definition: OBBRSS.h:64
FCL_REAL depth() const
Depth of the OBB.
Definition: OBB.h:122
bool overlap(const OBBRSS &other) const
Check collision between two OBBRSS.
Definition: OBBRSS.h:73
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.
Definition: OBBRSS.h:88
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
FCL_REAL size() const
Size of the OBB (used in BV_Splitter to order two OBBs)
Definition: OBB.h:98
bool contain(const Vec3f &p) const
Check whether the OBB contains a point.
FCL_REAL height() const
Height of the OBBRSS.
Definition: OBBRSS.h:136
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
Definition: data_types.h:73
const Vec3f & center() const
Center of the OBB.
Definition: OBB.h:104
FCL_REAL width() const
Width of the OBB.
Definition: OBB.h:110
FCL_REAL depth() const
Depth of the OBBRSS.
Definition: OBBRSS.h:142
FCL_REAL size() const
Size of the OBBRSS (used in BV_Splitter to order two OBBRSS)
Definition: OBBRSS.h:118