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

Method GetTraffic

libs/routing/route.cpp:488–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488traffic::SpeedGroup Route::GetTraffic(size_t segmentIdx) const
489{
490 CHECK_LESS(segmentIdx, m_routeSegments.size(), ());
491 return m_routeSegments[segmentIdx].GetTraffic();
492}
493
494void Route::GetTurnsForTesting(vector<TurnItem> & turns) const
495{

Callers 2

FillTrafficForRenderingFunction · 0.45
MatchTrafficMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected