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

Method getRoad

common/map_sdk/route_plan/src/node_opt.cpp:156–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156bool NodeOpt::getRoad(const NodeId& id, const bool& wholeData, hadmap::txRoadPtr& roadPtr) {
157 int code = hadmap::getRoad(pHandle, id.roadId, wholeData, roadPtr);
158 return TX_HADMAP_DATA_OK == code;
159}
160
161bool NodeOpt::getRoad(hadmap::roadpkid roadId, const bool& wholeData, hadmap::txRoadPtr& roadPtr) {
162 int code = hadmap::getRoad(pHandle, roadId, wholeData, roadPtr);

Callers 2

cutRoadMethod · 0.45

Calls 1

getRoadFunction · 0.50

Tested by

no test coverage detected