MCPcopy 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
43MaxspeedType Maxspeed::GetSpeedInUnits(bool forward) const
44{
45 return (forward || !IsBidirectional()) ? m_forward : m_backward;
46}
47
48MaxspeedType Maxspeed::GetSpeedKmPH(bool forward) const
49{

Callers 2

GetSavedMaxspeedMethod · 0.80
UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

UNIT_TESTFunction · 0.64