MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / getRoad

Function getRoad

common/map_sdk/map_engine/src/hadmap_engine.cpp:221–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221int getRoad(txMapHandle* pHandle, const roadpkid& roadId, const bool& wholeData, hadmap::txRoadPtr& roadPtr) {
222 handleSafeDetect det(pHandle, "getRoad by id");
223
224 return pHandle->searchPtr->getRoad(roadId, wholeData, roadPtr);
225}
226
227int getRoads(txMapHandle* pHandle, const hadmap::PointVec& envelope, const bool& wholeData, hadmap::txRoads& roads) {
228 handleSafeDetect det(pHandle, "getRoads by envelope");

Callers 8

getRoadsMethod · 0.70
getObjectsMethod · 0.70
updateRoadsMethod · 0.70
getRoadsMethod · 0.70
packRouteSectionMethod · 0.50
getRoadMethod · 0.50
initNodeMethod · 0.50
getRoadMethod · 0.50

Calls 1

getRoadMethod · 0.45

Tested by

no test coverage detected