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

Method GetFeature

libs/routing/directions_engine.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74unique_ptr<FeatureType> DirectionsEngine::GetFeature(FeatureID const & featureId)
75{
76 if (IsFakeFeature(featureId.m_index))
77 return nullptr;
78 return m_dataSource.GetFeature(featureId);
79}
80
81void DirectionsEngine::LoadPathAttributes(FeatureID const & featureId, LoadedPathSegment & pathSegment, bool isForward)
82{

Callers 5

GetFeatureTypesMethod · 0.45
GetEdgeTypesMethod · 0.45

Calls 1

IsFakeFeatureFunction · 0.85

Tested by

no test coverage detected