forked from organicmaps/organicmaps
Review fixes.
This commit is contained in:
parent
9b14083462
commit
61ba332a02
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ void IndexGraphStarter::GetFakeToNormalEdges(FakeVertex const & fakeVertex, bool
|
|||
void IndexGraphStarter::GetFakeToNormalEdge(FakeVertex const & fakeVertex, bool forward,
|
||||
vector<SegmentEdge> & edges)
|
||||
{
|
||||
Segment const segment = fakeVertex.GetSegmentWithDirection(forward);
|
||||
auto const segment = fakeVertex.GetSegmentWithDirection(forward);
|
||||
m2::PointD const & pointTo = GetPoint(segment, true /* front */);
|
||||
double const weight = m_graph.GetEstimator().CalcLeapWeight(fakeVertex.GetPoint(), pointTo);
|
||||
edges.emplace_back(segment, weight);
|
||||
|
|
|
@ -70,7 +70,7 @@ private:
|
|||
m2::PointD const & finalPoint,
|
||||
RouterDelegate const & delegate, Route & route);
|
||||
|
||||
/// \brief Finds closest edges which may be considered as start of finish of the route.
|
||||
/// \brief Finds closest edges which may be considered as start or finish of the route.
|
||||
/// \param isOutgoing == true is |point| is considered as the start of the route.
|
||||
/// isOutgoing == false is |point| is considered as the finish of the route.
|
||||
bool FindClosestEdge(platform::CountryFile const & file, m2::PointD const & point,
|
||||
|
|
Loading…
Add table
Reference in a new issue