#include <cube3d.hh>
Inherits mln::internal::classical_window_base< mln::dpoint, mln::win::cube3d >.
Public Member Functions | |
cube3d (unsigned length) | |
Constructor. | |
unsigned | length () const |
Give the cube length, that is, its height. |
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 *
mln::win::cube3d::cube3d | ( | unsigned | length | ) | [inline] |
Constructor.
[in] | length | Length, thus height, of the cube3d. |
length
is odd.
unsigned mln::win::cube3d::length | ( | ) | const [inline] |
Give the cube length, that is, its height.