Class merging the OBB and RSS, can handle collision and distance simultaneously. More...
#include <hpp/fcl/BV/OBBRSS.h>
Public Member Functions | |
bool | overlap (const OBBRSS &other) const |
Check collision between two OBBRSS. More... | |
bool | overlap (const OBBRSS &other, const CollisionRequest &request, FCL_REAL &sqrDistLowerBound) const |
Check collision between two OBBRSS. More... | |
bool | overlap (const OBBRSS &other, OBBRSS &) const |
Check collision between two OBBRSS and return the overlap part. More... | |
bool | contain (const Vec3f &p) const |
Check whether the OBBRSS contains a point. More... | |
OBBRSS & | operator+= (const Vec3f &p) |
Merge the OBBRSS and a point. More... | |
OBBRSS & | operator+= (const OBBRSS &other) |
Merge two OBBRSS. More... | |
OBBRSS | operator+ (const OBBRSS &other) const |
Merge two OBBRSS. More... | |
FCL_REAL | width () const |
Width of the OBRSS. More... | |
FCL_REAL | height () const |
Height of the OBBRSS. More... | |
FCL_REAL | depth () const |
Depth of the OBBRSS. More... | |
FCL_REAL | volume () const |
Volume of the OBBRSS. More... | |
FCL_REAL | size () const |
Size of the OBBRSS (used in BV_Splitter to order two OBBRSS) More... | |
const Vec3f & | center () const |
Center of the OBBRSS. More... | |
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. More... | |
Public Attributes | |
OBB | obb |
OBB member, for rotation. More... | |
RSS | rss |
RSS member, for distance. More... | |
|
inline |
Center of the OBBRSS.
References hpp::fcl::OBB::center().
|
inline |
Check whether the OBBRSS contains a point.
References hpp::fcl::OBB::contain().
|
inline |
Depth of the OBBRSS.
References hpp::fcl::OBB::depth().
|
inline |
Distance between two OBBRSS; P and Q , is not NULL, returns the nearest points.
References hpp::fcl::RSS::distance(), overlap(), rss, and hpp::fcl::translate().
|
inline |
Height of the OBBRSS.
References hpp::fcl::OBB::height().
|
inline |
Check collision between two OBBRSS.
References obb, and hpp::fcl::OBB::overlap().
Referenced by distance(), and overlap().
|
inline |
Check collision between two OBBRSS.
sqrDistLowerBound | squared lower bound on distance between objects if they do not overlap. |
References obb, and hpp::fcl::OBB::overlap().
|
inline |
Size of the OBBRSS (used in BV_Splitter to order two OBBRSS)
References hpp::fcl::OBB::size().
|
inline |
Volume of the OBBRSS.
References hpp::fcl::OBB::volume().
|
inline |
Width of the OBRSS.
References hpp::fcl::OBB::width().
OBB hpp::fcl::OBBRSS::obb |
OBB member, for rotation.
Referenced by operator+(), and overlap().
RSS hpp::fcl::OBBRSS::rss |
RSS member, for distance.
Referenced by distance(), and operator+().