Instead of describing lanes by their width entries and, thus, invariably depending on influences of inner lanes on outer lanes, it might be more convenient to just describe the outer border of each lane independent of any inner lanes’ parameters. 更多...
#include <RoadInfoLaneBorder.h>
Public 成员函数 | |
void | AcceptVisitor (RoadInfoVisitor &v) final |
const geom::CubicPolynomial & | GetPolynomial () const |
RoadInfoLaneBorder (double s, double a, double b, double c, double d) | |
Public 成员函数 继承自 carla::road::element::RoadInfo | |
double | GetDistance () const |
Distance from road's start location. | |
virtual | ~RoadInfo ()=default |
Private 属性 | |
const geom::CubicPolynomial | _border |
额外继承的成员函数 | |
Protected 成员函数 继承自 carla::road::element::RoadInfo | |
RoadInfo (double distance=0.0) | |
Instead of describing lanes by their width entries and, thus, invariably depending on influences of inner lanes on outer lanes, it might be more convenient to just describe the outer border of each lane independent of any inner lanes’ parameters.
Especially in cases where road data is derived from measurements, this type of definition will provide a more convenient method without the need to tesselate road sections into too many parts. Note. Lane borders and widths are mutually exclusive.
在文件 RoadInfoLaneBorder.h 第 23 行定义.
|
inline |
在文件 RoadInfoLaneBorder.h 第 26 行定义.
|
inlinefinalvirtual |
实现了 carla::road::element::RoadInfo.
在文件 RoadInfoLaneBorder.h 第 35 行定义.
|
inline |
在文件 RoadInfoLaneBorder.h 第 39 行定义.
引用了 _border.
|
private |
在文件 RoadInfoLaneBorder.h 第 45 行定义.
被这些函数引用 GetPolynomial().