MCPcopy Create free account
hub / github.com/comaps/comaps / SetUTurnRestrictions

Method SetUTurnRestrictions

libs/routing/index_graph.cpp:230–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230void 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
239void IndexGraph::SetRoadAccess(RoadAccess && roadAccess)
240{

Callers 1

DeserializeIndexGraphFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected