
* mln/core/image/complex_image.hh (mln::complex_image<D, G, V>::dim): New constant. (mln::complex_image<D, G, V>::geom): New typedef. --- milena/ChangeLog | 8 ++++++++ milena/mln/core/image/complex_image.hh | 6 +++++- 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index 5ce1170..16ddcbb 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -24,6 +24,14 @@ 2008-10-22 Roland Levillain <roland@lrde.epita.fr> + Supplement complex-based image. + + * mln/core/image/complex_image.hh + (mln::complex_image<D, G, V>::dim): New constant. + (mln::complex_image<D, G, V>::geom): New typedef. + +2008-10-22 Roland Levillain <roland@lrde.epita.fr> + * mln/core/macros.hh (mln_geom, mln_geom_): New macros. 2008-10-22 Roland Levillain <roland@lrde.epita.fr> diff --git a/milena/mln/core/image/complex_image.hh b/milena/mln/core/image/complex_image.hh index 94ba949..32c83cb 100644 --- a/milena/mln/core/image/complex_image.hh +++ b/milena/mln/core/image/complex_image.hh @@ -116,7 +116,7 @@ namespace mln /// Values attached to each face of the complex. /// /// \arg p D The dimension of the complex. - /// \arg p G The geometry of the complex. + /// \arg p G The geometry type of the complex. /// \arg p V The value type of the image. template <unsigned D, typename G, typename V> class complex_image @@ -124,6 +124,10 @@ namespace mln complex_image<D, G, V> > { public: + /// The dimension of the complex. + static const unsigned dim = D; + /// The geometry type of the complex. + typedef G geom; /// Value associated type. typedef V value; -- 1.6.0.1