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

Method CrossCountryVehicleModel

libs/routing/features_road_graph.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39FeaturesRoadGraphBase::CrossCountryVehicleModel::CrossCountryVehicleModel(VehicleModelFactoryPtrT modelFactory)
40 : m_modelFactory(modelFactory)
41 , m_maxSpeed(m_modelFactory->GetVehicleModel()->GetMaxWeightSpeed())
42 , m_offroadSpeedKMpH(m_modelFactory->GetVehicleModel()->GetOffroadSpeed())
43{}
44
45SpeedKMpH FeaturesRoadGraphBase::CrossCountryVehicleModel::GetSpeed(FeatureType & f,
46 SpeedParams const & speedParams) const

Callers

nothing calls this directly

Calls 2

GetMaxWeightSpeedMethod · 0.45
GetVehicleModelMethod · 0.45

Tested by

no test coverage detected