MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ build_grid_3d_neighbors()

static std::unordered_map< size_t, std::vector< size_t > > MayaFlux::Nodes::Network::NodeNetwork::build_grid_3d_neighbors ( size_t  width,
size_t  height,
size_t  depth 
)
staticprotected

Build neighbor map for GRID_3D topology.

Parameters
widthGrid width
heightGrid height
depthGrid depth
Returns
Map of node index to neighbor indices (6-connectivity)