From 26d37b5e120bdadf484b3c8199123a5a632b6a74 Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Wed, 11 May 2016 16:59:45 +0200
Subject: [PATCH] Add Graph::isShort

---
 include/hpp/manipulation/graph/edge.hh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/hpp/manipulation/graph/edge.hh b/include/hpp/manipulation/graph/edge.hh
index 38925a2e..159b1ade 100644
--- a/include/hpp/manipulation/graph/edge.hh
+++ b/include/hpp/manipulation/graph/edge.hh
@@ -140,6 +140,10 @@ namespace hpp {
             isShort_ = isShort;
           }
 
+          bool isShort () const {
+            return isShort_;
+          }
+
         protected:
           /// Initialization of the object.
           void init (const EdgeWkPtr_t& weak, const GraphWkPtr_t& graph, const NodeWkPtr_t& from,
-- 
GitLab