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

Function ToSpeedKmPH

libs/platform/measurement_utils.cpp:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88double ToSpeedKmPH(double speed, Units units)
89{
90 switch (units)
91 {
92 case Units::Imperial: return MiphToKmph(speed);
93 case Units::Metric: return speed;
94 }
95 UNREACHABLE();
96}
97
98std::string FormatLatLonAsDMSImpl(double value, char positive, char negative, int dac)
99{

Callers 3

GetMaxSpeedKmPHFunction · 0.85
UNIT_TESTFunction · 0.85
GetSpeedKmPHMethod · 0.85

Calls 1

MiphToKmphFunction · 0.85

Tested by 1

UNIT_TESTFunction · 0.68