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

Public Types | |
| enum class | FaceOrientation { TOP = 1 , BOTTOM = 1 , NORTH = 2 , EAST = 4 , SOUTH = 8 , WEST = 16 } |
Public Member Functions | |
| 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 | |
| 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 |
| CoalScalar | max_height |
| int | contact_active_faces |
| strong |
| inline |
Default constructor.
| inline |
Whether current node is a leaf node (i.e. contains a primitive index).
| inline |
Return the index of the first child. The index is referred to the bounding volume array (i.e. bvs) in BVHModel.
| inline |
| inline |
Difference operator.
| inline |
Comparison operator.
| inline |
Return the index of the second child. The index is referred to the bounding volume array (i.e. bvs) in BVHModel.
| inline |
| int coal::HFNodeBase::contact_active_faces |
| size_t coal::HFNodeBase::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.
| CoalScalar coal::HFNodeBase::max_height |
| Eigen::DenseIndex coal::HFNodeBase::x_id |
| Eigen::DenseIndex coal::HFNodeBase::x_size |
| Eigen::DenseIndex coal::HFNodeBase::y_id |
| Eigen::DenseIndex coal::HFNodeBase::y_size |