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

Method GetSpeedKmPH

libs/routing_common/maxspeed_conversion.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26MaxspeedType SpeedInUnits::GetSpeedKmPH() const
27{
28 return static_cast<MaxspeedType>(ToSpeedKmPH(m_speed, m_units));
29}
30
31// Maxspeed ----------------------------------------------------------------------------------------
32Maxspeed::Maxspeed(Units units, MaxspeedType forward, MaxspeedType backward)

Callers 5

GetRoadInfoMethod · 0.80
AddSpeedMethod · 0.80
GetCurrentSpeedLimitMethod · 0.80
UNIT_TESTFunction · 0.80
GetTypeSpeedImplMethod · 0.80

Calls 1

ToSpeedKmPHFunction · 0.85

Tested by 1

UNIT_TESTFunction · 0.64