A class for rectangle sphere-swept bounding volume. More...
#include <hpp/fcl/BV/RSS.h>
Public Member Functions | |
bool | overlap (const RSS &other) const |
Check collision between two RSS. More... | |
bool | overlap (const RSS &other, const CollisionRequest &, FCL_REAL &sqrDistLowerBound) const |
Not implemented. More... | |
bool | overlap (const RSS &other, RSS &) const |
Check collision between two RSS and return the overlap part. More... | |
bool | contain (const Vec3f &p) const |
Check whether the RSS contains a point. More... | |
RSS & | operator+= (const Vec3f &p) |
A simple way to merge the RSS and a point, not compact. More... | |
RSS & | operator+= (const RSS &other) |
Merge the RSS and another RSS. More... | |
RSS | operator+ (const RSS &other) const |
Return the merged RSS of current RSS and the other one. More... | |
FCL_REAL | width () const |
Width of the RSS. More... | |
FCL_REAL | height () const |
Height of the RSS. More... | |
FCL_REAL | depth () const |
Depth of the RSS. More... | |
FCL_REAL | volume () const |
Volume of the RSS. More... | |
FCL_REAL | size () const |
Size of the RSS (used in BV_Splitter to order two RSSs) More... | |
const Vec3f & | center () const |
The RSS center. More... | |
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 More... | |
Public Attributes | |
Matrix3f | axes |
Orientation of RSS. More... | |
Vec3f | Tr |
Origin of the rectangle in RSS. More... | |
FCL_REAL | l [2] |
Side lengths of rectangle. More... | |
FCL_REAL | r |
Radius of sphere summed with rectangle to form RSS. More... | |
A class for rectangle sphere-swept bounding volume.
|
inline |
The RSS center.
References distance(), overlap(), Tr, and hpp::fcl::translate().
|
inline |
the distance between two RSS; P and Q, if not NULL, return the nearest points
Referenced by center(), and hpp::fcl::OBBRSS::distance().
Return the merged RSS of current RSS and the other one.
Referenced by operator+=().
Merge the RSS and another RSS.
References operator+().
bool hpp::fcl::RSS::overlap | ( | const RSS & | other | ) | const |
|
inline |
Not implemented.
References overlap().
|
inline |
Size of the RSS (used in BV_Splitter to order two RSSs)
Matrix3f hpp::fcl::RSS::axes |
FCL_REAL hpp::fcl::RSS::l[2] |
Side lengths of rectangle.
FCL_REAL hpp::fcl::RSS::r |