[Lemon-commits] ladanyi: r3252 - lemon/trunk/lemon
Lemon SVN
svn at lemon.cs.elte.hu
Wed Apr 11 09:34:41 CEST 2007
Author: ladanyi
Date: Wed Apr 11 09:34:40 2007
New Revision: 3252
Modified:
lemon/trunk/lemon/path.h
Log:
Added SimplePath::front().
Modified: lemon/trunk/lemon/path.h
==============================================================================
--- lemon/trunk/lemon/path.h (original)
+++ lemon/trunk/lemon/path.h Wed Apr 11 09:34:40 2007
@@ -341,6 +341,11 @@
return EdgeIt(*this, n);
}
+ /// \brief Gives back the first edge of the path.
+ const Edge& front() const {
+ return data.front();
+ }
+
/// \brief Gives back the last edge of the path.
const Edge& back() const {
return data.back();
More information about the Lemon-commits
mailing list