代码拉取完成,页面将自动刷新
#pragma once
#include "XmlNode.h"
#include <map>
#include <string>
namespace odr
{
const double ROADMARK_WEIGHT_STANDARD_WIDTH = 0.12;
const double ROADMARK_WEIGHT_BOLD_WIDTH = 0.25;
struct RoadMarksLine : public XmlNode
{
RoadMarksLine() = default;
double width = -1;
double length = 0;
double space = 0;
double t_offset = 0;
double s_offset = 0;
std::string name;
std::string rule;
};
struct RoadMarkGroup : public XmlNode
{
RoadMarkGroup() = default;
double width = -1;
double height = 0;
double s_offset = 0;
std::string type;
std::string weight;
std::string color;
std::string material;
std::string laneChange;
std::map<double, RoadMarksLine> s_to_roadmarks_line;
};
struct RoadMark
{
RoadMark() = default;
double s_start = 0;
double s_end = 0;
double t_offset = 0;
double width = 0;
std::string type = "";
};
} // namespace odr
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。