Class kIOS
Defined in File kIOS.h
Nested Relationships
Nested Types
Class Documentation
-
class kIOS
A class describing the kIOS collision structure, which is a set of spheres.
Public Functions
- inline EIGEN_MAKE_ALIGNED_OPERATOR_NEW bool operator== (const kIOS &other) const
Equality operator.
-
bool overlap(const kIOS &other, const CollisionRequest&, CoalScalar &sqrDistLowerBound) const
Check collision between two kIOS.
-
CoalScalar distance(const kIOS &other, Vec3s *P = NULL, Vec3s *Q = NULL) const
The distance between two kIOS.
-
CoalScalar size() const
size of the kIOS (used in BV_Splitter to order two kIOSs)
-
CoalScalar width() const
Width of the kIOS.
-
CoalScalar height() const
Height of the kIOS.
-
CoalScalar depth() const
Depth of the kIOS.
-
CoalScalar volume() const
Volume of the kIOS.
Public Members
-
kIOS_Sphere spheres[max_num_spheres]
The (at most) five spheres for intersection.
-
unsigned int num_spheres
The number of spheres, no larger than 5.
Public Static Attributes
-
static constexpr size_t max_num_spheres = 5