static
| 1214 | |
| 1215 | // static |
| 1216 | void IndexRouter::PointsOnEdgesSnapping::RoadsToNearestEdges(m2::PointD const & point, vector<RoadInfoT> const & roads, |
| 1217 | IsEdgeProjGood const & isGood, |
| 1218 | vector<EdgeProjectionT> & edgeProj) |
| 1219 | { |
| 1220 | NearestEdgeFinder finder(point, isGood); |
| 1221 | for (auto const & road : roads) |
| 1222 | finder.AddInformationSource(road); |
| 1223 | |
| 1224 | finder.MakeResult(edgeProj, kMaxRoadCandidates); |
| 1225 | } |
| 1226 | |
| 1227 | Segment IndexRouter::PointsOnEdgesSnapping::GetSegmentByEdge(Edge const & edge) const |
| 1228 | { |
nothing calls this directly
no test coverage detected