SPH
Classes | Public Member Functions | List of all members
OctreeNode< T > Class Template Reference

#include <Grid.h>

Classes

struct  Hint
 

Public Member Functions

T & create (const Indices &idxs, const Size dim, const T &value)
 
Variant< T *, Hintfind (const Indices &idxs, const Size dim)
 
Variant< const T *, Hintfind (const Indices &idxs, const Size dim) const
 
template<typename TFunctor >
void iterate (const Indices &from, const Indices &to, const TFunctor &functor)
 
bool isLeaf () const
 

Detailed Description

template<typename T>
class OctreeNode< T >

Definition at line 67 of file Grid.h.

Member Function Documentation

◆ create()

template<typename T >
T& OctreeNode< T >::create ( const Indices idxs,
const Size  dim,
const T &  value 
)
inline

Definition at line 74 of file Grid.h.

◆ find() [1/2]

template<typename T >
Variant<T*, Hint> OctreeNode< T >::find ( const Indices idxs,
const Size  dim 
)
inline

Definition at line 96 of file Grid.h.

◆ find() [2/2]

template<typename T >
Variant<const T*, Hint> OctreeNode< T >::find ( const Indices idxs,
const Size  dim 
) const
inline

Definition at line 116 of file Grid.h.

◆ isLeaf()

template<typename T >
bool OctreeNode< T >::isLeaf ( ) const
inline

Definition at line 159 of file Grid.h.

◆ iterate()

template<typename T >
template<typename TFunctor >
void OctreeNode< T >::iterate ( const Indices from,
const Indices to,
const TFunctor &  functor 
)
inline

Definition at line 126 of file Grid.h.


The documentation for this class was generated from the following file: