Struct OBBRSS
Defined in File OBBRSS.h
Struct Documentation
-
struct OBBRSS
Class merging the OBB and RSS, can handle collision and distance simultaneously.
Public Functions
-
inline bool overlap(const OBBRSS &other, const CollisionRequest &request, CoalScalar &sqrDistLowerBound) const
Check collision between two OBBRSS
- Return values:
sqrDistLowerBound – squared lower bound on distance between objects if they do not overlap.
-
inline 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.
-
inline CoalScalar size() const
Size of the OBBRSS (used in BV_Splitter to order two OBBRSS)
-
inline CoalScalar width() const
Width of the OBRSS.
-
inline CoalScalar height() const
Height of the OBBRSS.
-
inline CoalScalar depth() const
Depth of the OBBRSS.
-
inline CoalScalar volume() const
Volume of the OBBRSS.
-
inline bool overlap(const OBBRSS &other, const CollisionRequest &request, CoalScalar &sqrDistLowerBound) const