26 #ifndef MLN_CONVERT_TO_UPPER_WINDOW_HH
27 # define MLN_CONVERT_TO_UPPER_WINDOW_HH
34 # include <mln/core/concept/delta_point_site.hh>
35 # include <mln/core/concept/neighborhood.hh>
36 # include <mln/core/window.hh>
54 # ifndef MLN_INCLUDE_ONLY
69 const W& input_win =
exact(win_);
70 typedef mln_dpsite(W) D;
71 typedef mln_point(D) P;
73 mln_qiter(W) q(input_win, P::origin);
76 win.insert(q - P::origin);
85 typedef mln_dpoint(N) D;
86 typedef mln_point(D) P;
88 mln_niter(N) n(nbh, P::origin);
91 win.insert(n - P::origin);
95 # endif // ! MLN_INCLUDE_ONLY
102 #endif // ! MLN_CONVERT_TO_UPPER_WINDOW_HH