mln::win::cube3d Struct Reference
[3D windows]

Cube window defined on the 3D grid. More...

#include <cube3d.hh>

Inherits classical_window_base< dpoint3d, cube3d >.

List of all members.

Public Member Functions

 cube3d (unsigned length)
 Constructor.
unsigned length () const
 Give the cube length, that is, its height.


Detailed Description

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.

Constructor & Destructor Documentation

mln::win::cube3d::cube3d ( unsigned  length  )  [inline]

Constructor.

Parameters:
[in] length Length, thus height, of the cube3d.
Precondition:
length is odd.


Member Function Documentation

unsigned mln::win::cube3d::length (  )  const [inline]

Give the cube length, that is, its height.


Generated on Tue Jul 14 16:33:22 2009 for Milena (Olena) by  doxygen 1.5.9