hpp-fcl
1.4.4
HPP fork of FCL -- The Flexible Collision Library
|
Class merging the OBB and RSS, can handle collision and distance simultaneously. More...
#include <hpp/fcl/BV/OBBRSS.h>
Public Member Functions | |
bool | contain (const Vec3f &p) const |
Check whether the OBBRSS contains a point. More... | |
bool | overlap (const OBBRSS &other) const |
Check collision between two OBBRSS. More... | |
bool | overlap (const OBBRSS &other, const CollisionRequest &request, FCL_REAL &sqrDistLowerBound) const |
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... | |
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 | 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 | 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... | |
Public Attributes | |
OBB | obb |
OBB member, for rotation. More... | |
RSS | rss |
RSS member, for distance. More... | |