用于解析OpenDrive文件中的几何信息的解析器类 更多...
#include <GeometryParser.h>
静态 Public 成员函数 | |
static void | Parse (const pugi::xml_document &xml, carla::road::MapBuilder &map_builder) |
解析XML文档中的几何信息并构建道路地图 | |
用于解析OpenDrive文件中的几何信息的解析器类
在文件 GeometryParser.h 第 22 行定义.
|
static |
解析XML文档中的几何信息并构建道路地图
xml | [const pugi::xml_document &] 要解析的XML文档 |
map_builder | [carla::road::MapBuilder &] 用于构建道路地图的构建器对象 |
在文件 GeometryParser.cpp 第 76 行定义.
引用了 carla::opendrive::parser::GeometryPoly3::a, carla::road::MapBuilder::AddRoadGeometryArc(), carla::road::MapBuilder::AddRoadGeometryLine(), carla::road::MapBuilder::AddRoadGeometryParamPoly3(), carla::road::MapBuilder::AddRoadGeometryPoly3(), carla::road::MapBuilder::AddRoadGeometrySpiral(), carla::opendrive::parser::Geometry::arc, pugi::xml_attribute::as_double(), pugi::xml_node::attribute(), carla::opendrive::parser::GeometryParamPoly3::aU, carla::opendrive::parser::GeometryParamPoly3::aV, carla::opendrive::parser::GeometryPoly3::b, carla::opendrive::parser::GeometryParamPoly3::bU, carla::opendrive::parser::GeometryParamPoly3::bV, carla::opendrive::parser::GeometryPoly3::c, pugi::xml_node::child(), pugi::xml_node::children(), carla::opendrive::parser::GeometryParamPoly3::cU, carla::opendrive::parser::GeometryArc::curvature, carla::opendrive::parser::GeometrySpiral::curvEnd, carla::opendrive::parser::GeometrySpiral::curvStart, carla::opendrive::parser::GeometryParamPoly3::cV, carla::opendrive::parser::GeometryPoly3::d, carla::opendrive::parser::GeometryParamPoly3::dU, carla::opendrive::parser::GeometryParamPoly3::dV, pugi::xml_node::first_child(), carla::road::MapBuilder::GetRoad(), carla::opendrive::parser::Geometry::hdg, carla::opendrive::parser::Geometry::length, pugi::xml_node::name(), carla::opendrive::parser::GeometryParamPoly3::p_range, carla::opendrive::parser::Geometry::param_poly3, carla::opendrive::parser::Geometry::poly3, carla::opendrive::parser::Geometry::road_id, carla::opendrive::parser::Geometry::s, carla::opendrive::parser::Geometry::spiral, carla::opendrive::parser::Geometry::type, pugi::xml_attribute::value(), carla::opendrive::parser::Geometry::x , 以及 carla::opendrive::parser::Geometry::y.
被这些函数引用 carla::opendrive::OpenDriveParser::Load().