SPH
Public Member Functions | List of all members
LeafIndexIterator Class Reference

Index iterator with given mapping (index permutation). More...

#include <KdTree.h>

Inheritance diagram for LeafIndexIterator:
IndexIterator

Public Member Functions

INLINE LeafIndexIterator (const Size idx, ArrayView< const Size > mapping)
 
INLINE Size operator* () const
 
- Public Member Functions inherited from IndexIterator
INLINE IndexIterator (const Size idx)
 
INLINE Size operator* () const
 
INLINE IndexIteratoroperator++ ()
 
INLINE bool operator!= (const IndexIterator other) const
 

Additional Inherited Members

- Protected Attributes inherited from IndexIterator
Size idx
 

Detailed Description

Index iterator with given mapping (index permutation).

Returns value mapping[index] when dereferenced,

Definition at line 85 of file KdTree.h.

Constructor & Destructor Documentation

◆ LeafIndexIterator()

INLINE LeafIndexIterator::LeafIndexIterator ( const Size  idx,
ArrayView< const Size mapping 
)
inline

Definition at line 90 of file KdTree.h.

Member Function Documentation

◆ operator*()

INLINE Size LeafIndexIterator::operator* ( ) const
inline

Definition at line 94 of file KdTree.h.


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