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

Function IsLeftTurn

libs/routing/turns.cpp:176–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176bool IsLeftTurn(CarDirection t)
177{
178 return (t >= CarDirection::TurnLeft && t <= CarDirection::TurnSlightLeft);
179}
180
181bool IsRightTurn(CarDirection t)
182{

Callers 2

IsLeftOrRightTurnFunction · 0.85
IsTurnMadeFromLeftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected