diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2017-05-22 17:16:03 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2017-05-22 17:17:06 +0300 |
commit | 667a887fb14c7943a1bf112344fbc430893c9f08 (patch) | |
tree | 0419c7d7747140bdfb3314dd31bd342cd8287c40 | |
parent | f2855b1fb83cf2054e69cf48803cdf2d75ac6cc5 (diff) |
Renaming method FakeVertex::GetSoft() to FakeVertex::IsSoft()beta-825
-rw-r--r-- | routing/index_graph_starter.cpp | 6 | ||||
-rw-r--r-- | routing/index_graph_starter.hpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/routing/index_graph_starter.cpp b/routing/index_graph_starter.cpp index 5f31d0fc8a..a30618aa2f 100644 --- a/routing/index_graph_starter.cpp +++ b/routing/index_graph_starter.cpp @@ -25,9 +25,9 @@ Segment constexpr IndexGraphStarter::kFinishFakeSegment; IndexGraphStarter::IndexGraphStarter(FakeVertex const & start, FakeVertex const & finish, WorldGraph & graph) : m_graph(graph) , m_start(start.GetSegment(), - CalcProjectionToSegment(start.GetSegment(), start.GetPoint(), graph), start.GetSoft()) + CalcProjectionToSegment(start.GetSegment(), start.GetPoint(), graph), start.IsSoft()) , m_finish(finish.GetSegment(), - CalcProjectionToSegment(finish.GetSegment(), finish.GetPoint(), graph), finish.GetSoft()) + CalcProjectionToSegment(finish.GetSegment(), finish.GetPoint(), graph), finish.IsSoft()) { } @@ -98,7 +98,7 @@ void IndexGraphStarter::GetEdgesList(Segment const & segment, bool isOutgoing, void IndexGraphStarter::GetFakeToNormalEdges(FakeVertex const & fakeVertex, bool isOutgoing, vector<SegmentEdge> & edges) { - if (!fakeVertex.GetSoft()) + if (!fakeVertex.IsSoft()) { GetFakeToNormalEdge(fakeVertex, fakeVertex.GetSegment().IsForward(), edges); return; diff --git a/routing/index_graph_starter.hpp b/routing/index_graph_starter.hpp index 5754cf642c..8498df6414 100644 --- a/routing/index_graph_starter.hpp +++ b/routing/index_graph_starter.hpp @@ -37,7 +37,7 @@ public: uint32_t GetFeatureId() const { return m_segment.GetFeatureId(); } m2::PointD const & GetPoint() const { return m_point; } Segment const & GetSegment() const { return m_segment; } - bool GetSoft() const { return m_soft; } + bool IsSoft() const { return m_soft; } Segment GetSegmentWithDirection(bool forward) const { |