Go to the documentation of this file.
42 #include <boost/math/constants/constants.hpp>
47 struct CollisionRequest;
53 struct HPP_FCL_DLLAPI
RSS {
78 return axes == other.
axes && Tr == other.
Tr &&
79 length[0] == other.
length[0] && length[1] == other.
length[1] &&
87 bool contain(
const Vec3f& p)
const;
95 sqrDistLowerBound = sqrt(-1);
109 *
this = *
this + other;
114 RSS operator+(
const RSS& other)
const;
118 return (std::sqrt(length[0] * length[0] + length[1] * length[1]) +
136 return (length[0] * length[1] * 2 * radius +
137 4 * boost::math::constants::pi<FCL_REAL>() * radius * radius *
155 const RSS& b1,
const RSS& b2,
Vec3f* P = NULL,
166 const RSS& b2,
const CollisionRequest& request,
FCL_REAL height() const
Height of the RSS.
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
Matrix3f axes
Orientation of RSS. axis[i] is the ith column of the orientation matrix for the RSS; it is also the i...
FCL_REAL depth() const
Depth of the RSS.
bool operator!=(const RSS &other) const
Difference operator.
bool operator==(const RSS &other) const
Equality operator.
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.
Vec3f Tr
Origin of the rectangle in RSS.
request to the collision algorithm
bool overlap(const RSS &other, RSS &) const
Check collision between two RSS and return the overlap part. For RSS, we return nothing,...
bool overlap(const RSS &other, const CollisionRequest &, FCL_REAL &sqrDistLowerBound) const
Not implemented.
Eigen::Matrix< FCL_REAL, 3, 3 > Matrix3f
RSS & operator+=(const RSS &other)
Merge the RSS and another RSS.
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
The RSS center.
FCL_REAL size() const
Size of the RSS (used in BV_Splitter to order two RSSs)
FCL_REAL width() const
Width of the RSS.
FCL_REAL length[2]
Side lengths of rectangle.
FCL_REAL radius
Radius of sphere summed with rectangle to form RSS.
FCL_REAL volume() const
Volume of the RSS.
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:15