Template Class NdtreeNode
Defined in File ndtree_node.h
Class Documentation
-
template<typename DataT, int dim>
class NdtreeNode Public Types
-
using DataType = DataT
Public Functions
-
inline explicit NdtreeNode(DataT data)
-
bool hasNonzeroData(FloatingPoint threshold) const
-
inline DataT &data()
-
inline const DataT &data() const
-
bool hasChild(NdtreeIndexRelativeChild child_index) const
-
template<typename ...NodeConstructorArgs>
NdtreeNode *allocateChild(NdtreeIndexRelativeChild child_index, NodeConstructorArgs&&... args)
-
bool deleteChild(NdtreeIndexRelativeChild child_index)
-
NdtreeNode *getChild(NdtreeIndexRelativeChild child_index)
-
const NdtreeNode *getChild(NdtreeIndexRelativeChild child_index) const
-
template<typename ...NodeConstructorArgs>
NdtreeNode<DataT, dim> *allocateChild(NdtreeIndexRelativeChild child_index, NodeConstructorArgs&&... args)
Public Static Attributes
-
static constexpr int kNumChildren = NdtreeIndex<dim>::kNumChildren
Friends
-
inline friend bool operator==(const NdtreeNode &lhs, const NdtreeNode &rhs)
-
using DataType = DataT