A class describing the kIOS collision structure, which is a set of spheres. More...
#include <hpp/fcl/BV/kIOS.h>
Public Member Functions | |
bool | overlap (const kIOS &other) const |
Check collision between two kIOS. More... | |
bool | overlap (const kIOS &other, const CollisionRequest &, FCL_REAL &sqrDistLowerBound) const |
Check collision between two kIOS. More... | |
bool | overlap (const kIOS &other, kIOS &) const |
Check collision between two kIOS and return the overlap part. More... | |
bool | contain (const Vec3f &p) const |
Check whether the kIOS contains a point. More... | |
kIOS & | operator+= (const Vec3f &p) |
A simple way to merge the kIOS and a point. More... | |
kIOS & | operator+= (const kIOS &other) |
Merge the kIOS and another kIOS. More... | |
kIOS | operator+ (const kIOS &other) const |
Return the merged kIOS of current kIOS and the other one. More... | |
const Vec3f & | center () const |
Center of the kIOS. More... | |
FCL_REAL | width () const |
Width of the kIOS. More... | |
FCL_REAL | height () const |
Height of the kIOS. More... | |
FCL_REAL | depth () const |
Depth of the kIOS. More... | |
FCL_REAL | volume () const |
Volume of the kIOS. More... | |
FCL_REAL | size () const |
size of the kIOS (used in BV_Splitter to order two kIOSs) More... | |
FCL_REAL | distance (const kIOS &other, Vec3f *P=NULL, Vec3f *Q=NULL) const |
The distance between two kIOS. More... | |
Public Attributes | |
kIOS_Sphere | spheres [5] |
The (at most) five spheres for intersection. More... | |
unsigned int | num_spheres |
The number of spheres, no larger than 5. More... | |
OBB | obb |
@ OBB related with kIOS More... | |
A class describing the kIOS collision structure, which is a set of spheres.
|
inline |
Center of the kIOS.
References depth(), distance(), height(), overlap(), size(), hpp::fcl::translate(), volume(), and width().
|
inline |
Return the merged kIOS of current kIOS and the other one.
Referenced by operator+=().
Merge the kIOS and another kIOS.
References operator+().
bool hpp::fcl::kIOS::overlap | ( | const kIOS & | other | ) | const |
bool hpp::fcl::kIOS::overlap | ( | const kIOS & | other, |
const CollisionRequest & | , | ||
FCL_REAL & | sqrDistLowerBound | ||
) | const |
Check collision between two kIOS.
FCL_REAL hpp::fcl::kIOS::size | ( | ) | const |
unsigned int hpp::fcl::kIOS::num_spheres |
The number of spheres, no larger than 5.
kIOS_Sphere hpp::fcl::kIOS::spheres[5] |
The (at most) five spheres for intersection.