equal
deleted
inserted
replaced
337 } |
337 } |
338 |
338 |
339 /// \brief Initializes edge iterator to point to the nth edge. |
339 /// \brief Initializes edge iterator to point to the nth edge. |
340 EdgeIt nthIt(int n) const { |
340 EdgeIt nthIt(int n) const { |
341 return EdgeIt(*this, n); |
341 return EdgeIt(*this, n); |
|
342 } |
|
343 |
|
344 /// \brief Gives back the first edge of the path. |
|
345 const Edge& front() const { |
|
346 return data.front(); |
342 } |
347 } |
343 |
348 |
344 /// \brief Gives back the last edge of the path. |
349 /// \brief Gives back the last edge of the path. |
345 const Edge& back() const { |
350 const Edge& back() const { |
346 return data.back(); |
351 return data.back(); |