Class merging the OBB and RSS, can handle collision and distance simultaneously. More...
#include <OBBRSS.h>
Public Member Functions | |
const Vec3s & | center () const |
Center of the OBBRSS. More... | |
bool | contain (const Vec3s &p) const |
Check whether the OBBRSS contains a point. More... | |
CoalScalar | depth () const |
Depth of the OBBRSS. More... | |
CoalScalar | distance (const OBBRSS &other, Vec3s *P=NULL, Vec3s *Q=NULL) const |
Distance between two OBBRSS; P and Q , is not NULL, returns the nearest points. More... | |
CoalScalar | height () const |
Height of the OBBRSS. More... | |
bool | operator!= (const OBBRSS &other) const |
Difference operator. More... | |
OBBRSS | operator+ (const OBBRSS &other) const |
Merge two OBBRSS. More... | |
OBBRSS & | operator+= (const OBBRSS &other) |
Merge two OBBRSS. More... | |
OBBRSS & | operator+= (const Vec3s &p) |
Merge the OBBRSS and a point. More... | |
bool | operator== (const OBBRSS &other) const |
Equality operator. More... | |
bool | overlap (const OBBRSS &other) const |
Check collision between two OBBRSS. More... | |
bool | overlap (const OBBRSS &other, const CollisionRequest &request, CoalScalar &sqrDistLowerBound) const |
CoalScalar | size () const |
Size of the OBBRSS (used in BV_Splitter to order two OBBRSS) More... | |
CoalScalar | volume () const |
Volume of the OBBRSS. More... | |
CoalScalar | width () const |
Width of the OBRSS. More... | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW OBB | obb |
OBB member, for rotation. More... | |
RSS | rss |
RSS member, for distance. More... | |
Class merging the OBB and RSS, can handle collision and distance simultaneously.
Definition at line 53 of file coal/BV/OBBRSS.h.