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

Function parseOpenDriveArea

common/map_sdk/map_import/src/ParseInterface.cpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 return _parser->parse(data_path) && _parser->getData(roads, links, objs, juncs, header, refPoint, doubleRoad);
15}
16bool parseOpenDriveArea(const std::string& data_path, txRoads& roads, txLaneLinks& links, txObjects& objs,
17 txJunctions& juncs, AreaPointVec ptr, txOdHeaderPtr& header, txPoint& refPoint) {
18 DataParsePtr _parser = ParserFactory::getParser(DataParse::OPENDRIVE);
19 if (_parser == nullptr) return false;
20 return _parser->parseArea(data_path, ptr) && _parser->getData(roads, links, objs, juncs, header, refPoint, true);
21}
22
23} // namespace hadmap

Callers 1

OpenDriveSearchMethod · 0.85

Calls 2

parseAreaMethod · 0.80
getDataMethod · 0.45

Tested by

no test coverage detected