The lane offset record defines a lateral shift of the lane reference line(which is usually identical to the road reference line). 更多...
#include <RoadInfoLaneOffset.h>
Public 成员函数 | |
void | AcceptVisitor (RoadInfoVisitor &v) final |
const geom::CubicPolynomial & | GetPolynomial () const |
RoadInfoLaneOffset (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 | _offset |
额外继承的成员函数 | |
Protected 成员函数 继承自 carla::road::element::RoadInfo | |
RoadInfo (double distance=0.0) | |
The lane offset record defines a lateral shift of the lane reference line(which is usually identical to the road reference line).
This may be used for an easy implementation of a (local)lateralshift of the lanes relative to the road’s referenceline. Especially the modeling of inner-city layouts or "2+1" cross-country road layouts can be facilitated considerably by this feature.
在文件 RoadInfoLaneOffset.h 第 22 行定义.
|
inline |
在文件 RoadInfoLaneOffset.h 第 25 行定义.
|
inlinefinalvirtual |
实现了 carla::road::element::RoadInfo.
在文件 RoadInfoLaneOffset.h 第 34 行定义.
|
inline |
在文件 RoadInfoLaneOffset.h 第 38 行定义.
引用了 _offset.
|
private |
在文件 RoadInfoLaneOffset.h 第 44 行定义.
被这些函数引用 GetPolynomial().