diff -r 89cbf0a2ed57 -r 6a567c0f1214 lemon/path.h --- a/lemon/path.h Tue Apr 10 09:01:30 2007 +0000 +++ b/lemon/path.h Wed Apr 11 07:34:40 2007 +0000 @@ -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();