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

Method GetSavedMaxspeed

libs/routing/geometry.cpp:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 SpeedInUnits GetSavedMaxspeed(uint32_t featureId, bool forward) override
104 {
105 auto const speed = m_attrsGetter.m_maxSpeeds.GetMaxspeed(featureId);
106 return {speed.GetSpeedInUnits(forward), speed.GetUnits()};
107 }
108
109private:
110 VehicleModelPtrT m_vehicleModel;

Callers

nothing calls this directly

Calls 3

GetMaxspeedMethod · 0.80
GetSpeedInUnitsMethod · 0.80
GetUnitsMethod · 0.45

Tested by

no test coverage detected