ndtree
nd-octree data-structure and algorithms
ndtree::v1::manifold_neighbors< nd, m > Struct Template Reference

Description

template<int nd, int m>
struct ndtree::v1::manifold_neighbors< nd, m >

Neighbor of an nd-dimensional node across a (nd - m)-dimensional face.

TODO: simplify this and provide a way of constructing custom neighbor search tables

Public Member Functions

auto operator() () const noexcept
 Range of neighbor positions.
 
constexpr neighbor_offset< nd > operator[] (neighbor_idx i) const noexcept
 Returns the offset for the neighbor in position i.