A class describing the kIOS collision structure, which is a set of spheres.
More...
#include <coal/BV/kIOS.h>
A class describing the kIOS collision structure, which is a set of spheres.
◆ center()
const Vec3s& coal::kIOS::center |
( |
| ) |
const |
|
inline |
◆ contain()
bool coal::kIOS::contain |
( |
const Vec3s & |
p | ) |
const |
Check whether the kIOS contains a point.
◆ depth()
Scalar coal::kIOS::depth |
( |
| ) |
const |
◆ distance()
The distance between two kIOS.
◆ height()
Scalar coal::kIOS::height |
( |
| ) |
const |
◆ operator!=()
bool coal::kIOS::operator!= |
( |
const kIOS & |
other | ) |
const |
|
inline |
◆ operator+()
kIOS coal::kIOS::operator+ |
( |
const kIOS & |
other | ) |
const |
Return the merged kIOS of current kIOS and the other one.
◆ operator+=() [1/2]
kIOS& coal::kIOS::operator+= |
( |
const kIOS & |
other | ) |
|
|
inline |
◆ operator+=() [2/2]
kIOS& coal::kIOS::operator+= |
( |
const Vec3s & |
p | ) |
|
A simple way to merge the kIOS and a point.
◆ operator==()
bool coal::kIOS::operator== |
( |
const kIOS & |
other | ) |
const |
|
inline |
◆ overlap() [1/2]
bool coal::kIOS::overlap |
( |
const kIOS & |
other | ) |
const |
Check collision between two kIOS.
◆ overlap() [2/2]
Check collision between two kIOS.
◆ size()
Scalar coal::kIOS::size |
( |
| ) |
const |
size of the kIOS (used in BV_Splitter to order two kIOSs)
◆ volume()
Scalar coal::kIOS::volume |
( |
| ) |
const |
◆ width()
Scalar coal::kIOS::width |
( |
| ) |
const |
◆ max_num_spheres
constexpr size_t coal::kIOS::max_num_spheres = 5 |
|
staticconstexpr |
◆ num_spheres
unsigned int coal::kIOS::num_spheres |
The number of spheres, no larger than 5.
◆ obb
◆ spheres
The (at most) five spheres for intersection.
The documentation for this class was generated from the following file: