`#include <kIOS.h>`

## Public Member Functions | |

bool | overlap (const kIOS &other) const |

Check collision between two kIOS. | |

bool | overlap (const kIOS &other, kIOS &overlap_part) const |

Check collision between two kIOS and return the overlap part. For kIOS, we return nothing, as the overlappart of two kIOS usually is not an kIOS. | |

bool | contain (const Vec3f &p) const |

Check whether the kIOS contains a point. | |

kIOS & | operator+= (const Vec3f &p) |

A simple way to merge the kIOS and a point. | |

kIOS & | operator+= (const kIOS &other) |

Merge the kIOS and another kIOS. | |

kIOS | operator+ (const kIOS &other) const |

Return the merged kIOS of current kIOS and the other one. | |

const Vec3f & | center () const |

Center of the kIOS. | |

FCL_REAL | width () const |

Width of the kIOS. | |

FCL_REAL | height () const |

Height of the kIOS. | |

FCL_REAL | depth () const |

Depth of the kIOS. | |

FCL_REAL | volume () const |

Volume of the kIOS. | |

FCL_REAL | size () const |

size of the kIOS (used in BV_Splitter to order two kIOSs) | |

FCL_REAL | distance (const kIOS &other, Vec3f *P=NULL, Vec3f *Q=NULL) const |

The distance between two kIOS. | |

## Public Attributes | |

kIOS_Sphere | spheres [5] |

The (at most) five spheres for intersection. | |

unsigned int | num_spheres |

The number of spheres, no larger than 5. | |

OBB | obb |

@ OBB related with kIOS | |

## Classes | |

struct | kIOS_Sphere |

One sphere in kIOS. |

Definition at line 47 of file kIOS.h.

The documentation for this class was generated from the following files: