---
milena/ChangeLog | 4 ++++
milena/mln/core/alias/dpoint2d.hh | 13 ++++++++++++-
2 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 21734a8..3100c37 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-22 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
+
+ * mln/core/alias/dpoint2d.hh: Add new dpoint2d aliases.
+
2009-09-22 Fabien Freling <fabien.freling(a)lrde.epita.fr>
Fix HSL values in test.
diff --git a/milena/mln/core/alias/dpoint2d.hh b/milena/mln/core/alias/dpoint2d.hh
index 687ae55..2dbd864 100644
--- a/milena/mln/core/alias/dpoint2d.hh
+++ b/milena/mln/core/alias/dpoint2d.hh
@@ -1,4 +1,5 @@
-// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2007, 2008, 2009 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -59,6 +60,11 @@ namespace mln
extern const dpoint2d left;
extern const dpoint2d right;
+ extern const dpoint2d up_left;
+ extern const dpoint2d up_right;
+ extern const dpoint2d down_left;
+ extern const dpoint2d down_right;
+
/// \}
@@ -70,6 +76,11 @@ namespace mln
const dpoint2d left = dpoint2d( 0, -1 );
const dpoint2d right = dpoint2d( 0, +1 );
+ const dpoint2d up_left = dpoint2d( -1, -1 );
+ const dpoint2d up_right = dpoint2d( -1, +1 );
+ const dpoint2d down_left = dpoint2d( +1, -1 );
+ const dpoint2d down_right = dpoint2d( +1, +1 );
+
# endif // ! MLN_INCLUDE_ONLY
--
1.5.6.5
Show replies by date