Template Struct BVNode
Defined in File BV_node.h
Inheritance Relationships
Base Type
public coal::BVNodeBase
(Struct BVNodeBase)
Struct Documentation
-
template<typename BV>
struct BVNode : public coal::BVNodeBase A class describing a bounding volume node. It includes the tree structure providing in BVNodeBase and also the geometry data provided in BV template parameter.
Public Types
-
typedef BVNodeBase Base
Public Functions
-
inline bool overlap(const BVNode &other, const CollisionRequest &request, CoalScalar &sqrDistLowerBound) const
Check whether two BVNode collide.
-
inline CoalScalar distance(const BVNode &other, Vec3s *P1 = NULL, Vec3s *P2 = NULL) const
Compute the distance between two BVNode. P1 and P2, if not NULL and the underlying BV supports distance, return the nearest points.
-
inline const Matrix3s &getOrientation() const
-
inline const Matrix3s &getOrientation() const
-
inline const Matrix3s &getOrientation() const
-
typedef BVNodeBase Base