Template Struct HFNode

Inheritance Relationships

Base Type

Struct Documentation

template<typename BV>
struct HFNode : public coal::HFNodeBase

Public Functions

inline bool operator==(const HFNode &other) const

Equality operator.

inline bool operator!=(const HFNode &other) const

Difference operator.

inline bool overlap(const HFNode &other) const

Check whether two BVNode collide.

inline bool overlap(const HFNode &other, const CollisionRequest &request, CoalScalar &sqrDistLowerBound) const

Check whether two BVNode collide.

inline CoalScalar distance(const HFNode &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 Vec3s getCenter() const

Access to the center of the BV.

inline coal::Matrix3s::IdentityReturnType getOrientation() const

Access to the orientation of the BV.

inline virtual ~HFNode()

Public Members

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef HFNodeBase Base
BV bv

bounding volume storing the geometry