Renaming method FakeVertex::GetSoft() to FakeVertex::IsSoft()

This commit is contained in:
Vladimir Byko-Ianko 2017-05-22 17:16:03 +03:00 committed by Добрый Ээх
parent f0b5279262
commit 7fab7734df
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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
{