* mln/core/alias/complex_geometry.hh
(mln::discrete_plane_1complex_geometry): New typedef.
---
milena/ChangeLog | 7 +++++++
milena/mln/core/alias/complex_geometry.hh | 6 ++++++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 0d2e7ed..55260fd 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,12 @@
2009-02-11 Roland Levillain <roland(a)lrde.epita.fr>
+ Add a shortcut for planar 1-complex geometry.
+
+ * mln/core/alias/complex_geometry.hh
+ (mln::discrete_plane_1complex_geometry): New typedef.
+
+2009-02-11 Roland Levillain <roland(a)lrde.epita.fr>
+
Fix and factor mln::point3df and mln::point3d.
* mln/core/alias/point3df.hh (mln::point3df): Move typedef...
diff --git a/milena/mln/core/alias/complex_geometry.hh
b/milena/mln/core/alias/complex_geometry.hh
index e9ce8de..79c7db1 100644
--- a/milena/mln/core/alias/complex_geometry.hh
+++ b/milena/mln/core/alias/complex_geometry.hh
@@ -40,6 +40,12 @@
namespace mln
{
+ /// \brief Type alias for the geometry of a 1-complex (e.g., a
+ /// graph) located in a discrete 2-dimensional plane (with integer
+ /// coordinates).
+ typedef mln::geom::complex_geometry<1, point2d>
+ discrete_plane_1complex_geometry;
+
/// \brief Type alias for the geometry of a 2-complex located in a
/// discrete 2-dimensional plane (with integer coordinates).
typedef mln::geom::complex_geometry<2, point2d>
--
1.6.1.2
Show replies by date