1 Star 0 Fork 3

kissisgb/libOpenDRIVE

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
RoadMark.h 943 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sebastian Pagel 提交于 2022-03-22 18:09 . clean up includes
#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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kissisgb/libOpenDRIVE.git
git@gitee.com:kissisgb/libOpenDRIVE.git
kissisgb
libOpenDRIVE
libOpenDRIVE
master

搜索帮助