The lane offset record defines a lateral shift of the lane reference line(which is usually identical to the road reference line). More...
#include <RoadInfoLaneOffset.h>
Public Member Functions | |
void | AcceptVisitor (RoadInfoVisitor &v) final |
const geom::CubicPolynomial & | GetPolynomial () const |
RoadInfoLaneOffset (double s, double a, double b, double c, double d) | |
Public Member Functions inherited from carla::road::element::RoadInfo | |
double | GetDistance () const |
Distance from road's start location. More... | |
virtual | ~RoadInfo ()=default |
Private Attributes | |
const geom::CubicPolynomial | _offset |
Additional Inherited Members | |
Protected Member Functions inherited from 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.
Definition at line 22 of file RoadInfoLaneOffset.h.
|
inline |
Definition at line 25 of file RoadInfoLaneOffset.h.
|
inlinefinalvirtual |
Implements carla::road::element::RoadInfo.
Definition at line 34 of file RoadInfoLaneOffset.h.
|
inline |
Definition at line 38 of file RoadInfoLaneOffset.h.
References _offset.
|
private |
Definition at line 44 of file RoadInfoLaneOffset.h.
Referenced by GetPolynomial().