Milena (Olena)
User documentation 2.0a Id
|
Cube window defined on the 3D grid. More...
#include <cube3d.hh>
Inherits mln::internal::classical_window_base< dpoint3d, cube3d >.
Public Member Functions | |
cube3d (unsigned length) | |
Constructor. | |
unsigned | length () const |
Give the cube length, that is, its height. |
Cube window defined on the 3D grid.
An cube3d is centered and symmetric; so its height (length) is odd.
For instance:
* o o o * o o o * o o o * o o o * o x o * o o o * o o o * o o o * o o o *
is defined with length = 3.
mln::win::cube3d::cube3d | ( | unsigned | length | ) | [inline] |
unsigned mln::win::cube3d::length | ( | ) | const [inline] |