26 #ifndef MLN_MAKE_ATTACHMENT_HH
27 # define MLN_MAKE_ATTACHMENT_HH
33 # include <mln/core/image/complex_image.hh>
34 # include <mln/make/cell.hh>
35 # include <mln/topo/is_facet.hh>
57 template <
unsigned D,
typename G,
typename V>
58 p_set< complex_psite<D, G> >
60 const complex_image<D, G, V>& ima);
63 # ifndef MLN_INCLUDE_ONLY
65 template <
unsigned D,
typename G,
typename V>
67 p_set< complex_psite<D, G> >
72 mlc_equal(V,
bool)::check();
80 typedef complex_lower_higher_neighborhood<D, G> adj_nbh_t;
82 mln_piter(faces_t) g(f_hat);
83 mln_niter(adj_nbh_t) n(adj_nbh, g);
86 if (ima(n) && !f_hat.has(n))
94 # endif // MLN_INCLUDE_ONLY
100 #endif // ! MLN_MAKE_ATTACHMENT_HH