diff options
Diffstat (limited to 'routing/joint_index.hpp')
-rw-r--r-- | routing/joint_index.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/routing/joint_index.hpp b/routing/joint_index.hpp index 0e3c8c0441..cef629ef37 100644 --- a/routing/joint_index.hpp +++ b/routing/joint_index.hpp @@ -5,7 +5,7 @@ #include "routing/road_point.hpp" #include "base/assert.hpp" - +#include "std/utility.hpp" #include "std/vector.hpp" namespace routing @@ -43,6 +43,10 @@ public: } void Build(RoadIndex const & roadIndex, uint32_t numJoints); + + /// \brief fills result with paths from |jointId0| to |jointId1|. + void FindPointsWithCommonFeature(Joint::Id jointId0, Joint::Id jointId1, + vector<pair<RoadPoint, RoadPoint>> & result) const; Joint::Id InsertJoint(RoadPoint const & rp); void AppendToJoint(Joint::Id jointId, RoadPoint rp); |