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
-
template<typename ...Args>
inline explicit NdtreeNode(Args&&... args)
-
bool hasNonzeroData(FloatingPoint threshold) const
-
inline DataT &data()
-
inline const DataT &data() const
-
bool hasChild(NdtreeIndexRelativeChild child_index) const
-
bool eraseChild(NdtreeIndexRelativeChild child_index)
-
NdtreeNode *getChild(NdtreeIndexRelativeChild child_index)
-
const NdtreeNode *getChild(NdtreeIndexRelativeChild child_index) const
-
template<typename ...DefaultArgs>
NdtreeNode &getOrAllocateChild(NdtreeIndexRelativeChild child_index, DefaultArgs&&... args)
-
template<typename ...DefaultArgs>
NdtreeNode<DataT, dim> &getOrAllocateChild(NdtreeIndexRelativeChild child_index, DefaultArgs&&... 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