27 #ifndef MLN_CORE_IMAGE_DMORPH_HEXA_PITER_HH
28 # define MLN_CORE_IMAGE_DMORPH_HEXA_PITER_HH
34 # include <mln/core/internal/piter_adaptor.hh>
36 # include <mln/core/alias/box2d.hh>
37 # include <mln/core/alias/box2d_h.hh>
57 typedef mln_fwd_piter(S) adaptee_;
88 public mln::internal::fixme
93 # ifndef MLN_INCLUDE_ONLY
102 super_(adaptee_(box_adaptee_))
110 template <
typename S>
116 p_[0] = this->pi_[0];
117 p_[1] = this->pi_[1];
120 template <
typename S>
126 p_[0] = this->pi_[0] * 2;
127 p_[1] = this->pi_[1] * 2 + this->pi_[0] % 2;
130 template <
typename S>
132 hexa_fwd_piter_<S>::operator
point2d_h()
const
140 # endif // ! MLN_INCLUDE_ONLY
145 #endif // ! MLN_CORE_IMAGE_DMORPH_HEXA_PITER_HH