coal  3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
coal::kIOS Class Reference

A class describing the kIOS collision structure, which is a set of spheres. More...

#include <coal/BV/kIOS.h>

Collaboration diagram for coal::kIOS:

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW bool operator== (const kIOS &other) const
 Equality operator. More...
 
bool operator!= (const kIOS &other) const
 Difference operator. More...
 
bool contain (const Vec3s &p) const
 Check whether the kIOS contains a point. More...
 
bool overlap (const kIOS &other) const
 Check collision between two kIOS. More...
 
bool overlap (const kIOS &other, const CollisionRequest &, Scalar &sqrDistLowerBound) const
 Check collision between two kIOS. More...
 
Scalar distance (const kIOS &other, Vec3s *P=NULL, Vec3s *Q=NULL) const
 The distance between two kIOS. More...
 
kIOSoperator+= (const Vec3s &p)
 A simple way to merge the kIOS and a point. More...
 
kIOSoperator+= (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...
 
Scalar size () const
 size of the kIOS (used in BV_Splitter to order two kIOSs) More...
 
const Vec3scenter () const
 Center of the kIOS. More...
 
Scalar width () const
 Width of the kIOS. More...
 
Scalar height () const
 Height of the kIOS. More...
 
Scalar depth () const
 Depth of the kIOS. More...
 
Scalar volume () const
 Volume of the kIOS. More...
 

Public Attributes

kIOS_Sphere spheres [max_num_spheres]
 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...
 

Static Public Attributes

static constexpr size_t max_num_spheres = 5
 

Detailed Description

A class describing the kIOS collision structure, which is a set of spheres.


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