|
Milena (Olena)
User documentation 2.0a Id
|
Diagonal line window defined on the 2D square grid. More...
#include <backdiag2d.hh>
Inherits mln::internal::classical_window_base< dpoint2d, backdiag2d >.
Public Member Functions | |
| backdiag2d (unsigned length) | |
| Constructor. | |
| unsigned | length () const |
| Give the diagonal length, that is, its width. | |
Diagonal line window defined on the 2D square grid.
An backdiag2d is centered and symmetric. its width (length) is odd.
For instance:
* o
* o
* x
* o
* o
* is defined with length = 5.
Definition at line 63 of file backdiag2d.hh.
|
inline |
Constructor.
| [in] | length | Length, thus width, of the diagonal line. |
length is odd. Definition at line 93 of file backdiag2d.hh.
|
inline |
Give the diagonal length, that is, its width.
Definition at line 105 of file backdiag2d.hh.