|
coal 3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
|
#include <coal/hfield.h>


Public Member Functions | |
| bool | operator== (const HFNode &other) const |
| Equality operator. | |
| bool | operator!= (const HFNode &other) const |
| Difference operator. | |
| bool | overlap (const HFNode &other) const |
| Check whether two BVNode collide. | |
| bool | overlap (const HFNode &other, const CollisionRequest &request, Scalar &sqrDistLowerBound) const |
| Check whether two BVNode collide. | |
| Scalar | 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. | |
| Vec3s | getCenter () const |
| Access to the center of the BV. | |
| coal::Matrix3s::IdentityReturnType | getOrientation () const |
| Access to the orientation of the BV. | |
| virtual | ~HFNode () |
Public Member Functions inherited from coal::HFNodeBase | |
| HFNodeBase () | |
| Default constructor. | |
| bool | operator== (const HFNodeBase &other) const |
| Comparison operator. | |
| bool | operator!= (const HFNodeBase &other) const |
| Difference operator. | |
| bool | isLeaf () const |
| Whether current node is a leaf node (i.e. contains a primitive index) | |
| size_t | leftChild () const |
| Return the index of the first child. The index is referred to the bounding volume array (i.e. bvs) in BVHModel. | |
| size_t | rightChild () const |
| Return the index of the second child. The index is referred to the bounding volume array (i.e. bvs) in BVHModel. | |
| Eigen::Vector2i | leftChildIndexes () const |
| Eigen::Vector2i | rightChildIndexes () const |
Public Attributes | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef HFNodeBase | Base |
| BV | bv |
| bounding volume storing the geometry | |
Public Attributes inherited from coal::HFNodeBase | |
| size_t | first_child |
| An index for first child node or primitive If the value is positive, it is the index of the first child bv node If the value is negative, it is -(primitive index + 1) Zero is not used. | |
| Eigen::DenseIndex | x_id |
| Eigen::DenseIndex | x_size |
| Eigen::DenseIndex | y_id |
| Eigen::DenseIndex | y_size |
| Scalar | max_height |
| int | contact_active_faces |
Additional Inherited Members | |
Public Types inherited from coal::HFNodeBase | |
| enum class | FaceOrientation { TOP = 1 , BOTTOM = 1 , NORTH = 2 , EAST = 4 , SOUTH = 8 , WEST = 16 } |
|
inlinevirtual |
|
inline |
Compute the distance between two BVNode. P1 and P2, if not NULL and the underlying BV supports distance, return the nearest points.
|
inline |
Access to the center of the BV.
|
inline |
Access to the orientation of the BV.
|
inline |
Difference operator.
|
inline |
Equality operator.
|
inline |
Check whether two BVNode collide.
|
inline |
Check whether two BVNode collide.
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef HFNodeBase coal::HFNode< BV >::Base |
| BV coal::HFNode< BV >::bv |
bounding volume storing the geometry