| 228 | } |
| 229 | |
| 230 | void IndexGraph::SetUTurnRestrictions(vector<RestrictionUTurn> && noUTurnRestrictions) |
| 231 | { |
| 232 | for (auto const & noUTurn : noUTurnRestrictions) |
| 233 | if (noUTurn.m_viaIsFirstPoint) |
| 234 | m_noUTurnRestrictions[noUTurn.m_featureId].m_atTheBegin = true; |
| 235 | else |
| 236 | m_noUTurnRestrictions[noUTurn.m_featureId].m_atTheEnd = true; |
| 237 | } |
| 238 | |
| 239 | void IndexGraph::SetRoadAccess(RoadAccess && roadAccess) |
| 240 | { |
no outgoing calls
no test coverage detected