31 #include <mln/core/alias/point2d.hh>
32 #include <mln/core/site_set/p_vertices.hh>
34 #include <mln/fun/i2v/array.hh>
35 #include <mln/util/graph.hh>
36 #include <mln/core/image/graph_elt_neighborhood.hh>
39 unsigned fwd_neighb[] = { 0, 2, 3 };
40 unsigned bkd_neighb[] = { 3, 2, 0 };
97 mln_psite_(pv_t)
p(pg, 1);
104 mln_fwd_niter_(nbh_t) fq(nbh,
p);
106 mln_assertion(fq.element().
id() == fwd_neighb[i++]);
109 mln_bkd_niter_(nbh_t) bq(nbh, p);
111 mln_assertion(bq.element().
id() == bkd_neighb[i++]);