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

Function IsGoStraightOrSlightTurn

libs/routing/turns.cpp:206–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206bool IsGoStraightOrSlightTurn(CarDirection t)
207{
208 return (t == CarDirection::GoStraight || t == CarDirection::TurnSlightLeft || t == CarDirection::TurnSlightRight);
209}
210
211string DebugPrint(CarDirection const turn)
212{

Callers 5

TryToGetExitDirectionFunction · 0.85
GetTurnDirectionBasicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected