26 #ifndef MLN_WIN_DIAG2D_HH
27 # define MLN_WIN_DIAG2D_HH
33 # include <mln/core/internal/classical_window_base.hh>
34 # include <mln/core/alias/dpoint2d.hh>
82 void print_(std::ostream& ostr)
const;
90 # ifndef MLN_INCLUDE_ONLY
96 mln_precondition(length % 2 == 1);
99 minus_dcol = static_cast<def::coord>(-dcol);
100 for (
def::coord col = minus_dcol; col <= dcol; ++col)
120 ostr <<
"[diag 2d: length=" <<
length_ <<
']';
123 # endif // ! MLN_INCLUDE_ONLY
131 #endif // ! MLN_WIN_DIAG2D_HH