Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ IsStayOnRoad
Function
IsStayOnRoad
libs/routing/turns.cpp:201–204 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
199
}
200
201
bool IsStayOnRoad(CarDirection t)
202
{
203
return (t == CarDirection::GoStraight || t == CarDirection::StayOnRoundAbout);
204
}
205
206
bool IsGoStraightOrSlightTurn(CarDirection t)
207
{
Callers
1
FixupCarTurns
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected