Class merging the OBB and RSS, can handle collision and distance simultaneously.
More...
#include <coal/BV/OBBRSS.h>
Class merging the OBB and RSS, can handle collision and distance simultaneously.
◆ center()
const Vec3s& coal::OBBRSS::center |
( |
| ) |
const |
|
inline |
◆ contain()
bool coal::OBBRSS::contain |
( |
const Vec3s & |
p | ) |
const |
|
inline |
Check whether the OBBRSS contains a point.
◆ depth()
Scalar coal::OBBRSS::depth |
( |
| ) |
const |
|
inline |
◆ distance()
Distance between two OBBRSS; P and Q , is not NULL, returns the nearest points.
◆ height()
Scalar coal::OBBRSS::height |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool coal::OBBRSS::operator!= |
( |
const OBBRSS & |
other | ) |
const |
|
inline |
◆ operator+()
OBBRSS coal::OBBRSS::operator+ |
( |
const OBBRSS & |
other | ) |
const |
|
inline |
◆ operator+=() [1/2]
◆ operator+=() [2/2]
◆ operator==()
bool coal::OBBRSS::operator== |
( |
const OBBRSS & |
other | ) |
const |
|
inline |
◆ overlap() [1/2]
bool coal::OBBRSS::overlap |
( |
const OBBRSS & |
other | ) |
const |
|
inline |
Check collision between two OBBRSS.
◆ overlap() [2/2]
Check collision between two OBBRSS
- Return values
-
sqrDistLowerBound | squared lower bound on distance between objects if they do not overlap. |
◆ size()
Scalar coal::OBBRSS::size |
( |
| ) |
const |
|
inline |
Size of the OBBRSS (used in BV_Splitter to order two OBBRSS)
◆ volume()
Scalar coal::OBBRSS::volume |
( |
| ) |
const |
|
inline |
◆ width()
Scalar coal::OBBRSS::width |
( |
| ) |
const |
|
inline |
◆ obb
EIGEN_MAKE_ALIGNED_OPERATOR_NEW OBB coal::OBBRSS::obb |
OBB member, for rotation.
◆ rss
RSS member, for distance.
The documentation for this struct was generated from the following file: