Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ GetSpeedInUnits
Method
GetSpeedInUnits
libs/routing_common/maxspeed_conversion.cpp:43–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
}
42
43
MaxspeedType Maxspeed::GetSpeedInUnits(bool forward) const
44
{
45
return (forward || !IsBidirectional()) ? m_forward : m_backward;
46
}
47
48
MaxspeedType Maxspeed::GetSpeedKmPH(bool forward) const
49
{
Callers
2
GetSavedMaxspeed
Method · 0.80
UNIT_TEST
Function · 0.80
Calls
no outgoing calls
Tested by
1
UNIT_TEST
Function · 0.64