26 #ifndef MLN_WORLD_INTER_PIXEL_IS_SEPARATOR_HH
27 # define MLN_WORLD_INTER_PIXEL_IS_SEPARATOR_HH
35 # include <mln/core/concept/function.hh>
36 # include <mln/core/image/dmorph/image_if.hh>
37 # include <mln/core/point.hh>
58 bool operator()(
const Gpoint<P>& p)
const;
66 # ifndef MLN_INCLUDE_ONLY
71 is_separator::operator()(
const Gpoint<P>& p_)
const
73 const P& p = exact(p_);
74 return p.row() % 2 + p.col() % 2 == 1;
82 mlc_is_a(mln_site(P),
Gpoint)::check();
83 return this->operator()(exact(p).to_site());
86 # endif // ! MLN_INCLUDE_ONLY
94 #endif // ! MLN_WORLD_INTER_PIXEL_IS_SEPARATOR_HH