| 86 | }; |
| 87 | |
| 88 | bool IsRealVertex(m2::PointD const & p, FeatureID const & fid, DataSource const & dataSource) |
| 89 | { |
| 90 | FeaturesLoaderGuard g(dataSource, fid.m_mwmId); |
| 91 | auto const ft = g.GetOriginalFeatureByIndex(fid.m_index); |
| 92 | bool matched = false; |
| 93 | ft->ForEachPoint([&p, &matched](m2::PointD const & fp) |
| 94 | { |
| 95 | if (p == fp) |
| 96 | matched = true; |
| 97 | }, FeatureType::BEST_GEOMETRY); |
| 98 | return matched; |
| 99 | } |
| 100 | |
| 101 | void ExpandFake(Graph::EdgeVector & path, Graph::EdgeVector::iterator edgeIt, DataSource const & dataSource, Graph & g) |
| 102 | { |
no test coverage detected