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

Method GetSpeedLimit

libs/routing/single_vehicle_world_graph.cpp:193–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193SpeedInUnits SingleVehicleWorldGraph::GetSpeedLimit(Segment const & segment)
194{
195 ASSERT(segment.IsRealSegment(), ());
196 return GetIndexGraph(segment.GetMwmId()).GetGeometry().GetSavedMaxspeed(segment.GetFeatureId(), segment.IsForward());
197}
198
199RoadGeometry const & SingleVehicleWorldGraph::GetRoadGeometry(NumMwmId mwmId, uint32_t featureId)
200{

Callers

nothing calls this directly

Calls 7

ASSERTFunction · 0.85
IsRealSegmentMethod · 0.45
GetSavedMaxspeedMethod · 0.45
GetGeometryMethod · 0.45
GetMwmIdMethod · 0.45
GetFeatureIdMethod · 0.45
IsForwardMethod · 0.45

Tested by

no test coverage detected