#include <backdiag2d.hh>
Inherits mln::internal::classical_window_base< mln::dpoint, mln::win::backdiag2d >.
Public Member Functions | |
| backdiag2d (unsigned length) | |
| Constructor. | |
| unsigned | length () const |
| Give the diagonal length, that is, its width. | |
An backdiag2d is centered and symmetric. its width (length) is odd.
For instance:
* o
* o
* x
* o
* o
* | mln::win::backdiag2d::backdiag2d | ( | unsigned | length | ) | [inline] |
Constructor.
| [in] | length | Length, thus width, of the diagonal line. |
length is odd.
| unsigned mln::win::backdiag2d::length | ( | ) | const [inline] |
Give the diagonal length, that is, its width.
1.5.6