6-Connection (3D) ################# 6-connected neighborhood over a 3D grid. .. figure:: /figures/core/c6.svg :alt: 6-connected :align: center Center and its 6-connected points .. rubric:: Properties +---------------+----------+ | Property | | +===============+==========+ | Category | *static* | +---------------+----------+ | Incremental | | +---------------+----------+ | Decomposabale | | +---------------+----------+ | Separable | | +---------------+----------+ .. topic:: See also * :doc:`c26` .. topic:: Examples :: mln::point3d p = {0,0,0}; for (auto q : mln::c6(p)) std::cout << p << ","; Prints: .. code-block:: text [-1,0,0], [0,-1,0], [0,0,-1], [0,0,1], [0,1,0], [1,0,0]