27 #ifndef MLN_DRAW_LINE_HH
28 # define MLN_DRAW_LINE_HH
36 # include <mln/core/concept/image.hh>
37 # include <mln/core/site_set/p_line2d.hh>
38 # include <mln/core/image/imorph/safe.hh>
39 # include <mln/data/paste.hh>
40 # include <mln/pw/image.hh>
41 # include <mln/pw/cst.hh>
65 void line(Image<I>& ima,
66 const mln_psite(I)& beg,
const mln_psite(I)& end,
67 const mln_value(I)& v);
70 # ifndef MLN_INCLUDE_ONLY
74 void line(Image<I>& ima_,
75 const mln_psite(I)& beg,
const mln_psite(I)& end,
76 const mln_value(I)& v)
79 mln_precondition(ima.is_valid());
81 mln_trace_warning(
"Begin site is not part of the given image.");
83 mln_trace_warning(
"End site is not part of the given image.");
88 # endif // ! MLN_INCLUDE_ONLY
95 #endif // ! MLN_DRAW_LINE_HH