Lane Width RecordEach lane within a road’scross section can be provided with severalwidth entries. More...
#include <RoadInfoLaneWidth.h>
Public Member Functions | |
void | AcceptVisitor (RoadInfoVisitor &v) final |
const geom::CubicPolynomial & | GetPolynomial () const |
RoadInfoLaneWidth (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 | _width |
Additional Inherited Members | |
Protected Member Functions inherited from carla::road::element::RoadInfo | |
RoadInfo (double distance=0.0) | |
Lane Width RecordEach lane within a road’scross section can be provided with severalwidth entries.
At least one entry must be defined for each lane, except for the center lane which is, per convention, of zero width. Each entry is valid until a new entry is defined. If multiple entries are defined for a lane, they must be listed in ascendingorder.
Definition at line 21 of file RoadInfoLaneWidth.h.
|
inline |
Definition at line 24 of file RoadInfoLaneWidth.h.
|
inlinefinalvirtual |
Implements carla::road::element::RoadInfo.
Definition at line 33 of file RoadInfoLaneWidth.h.
|
inline |
Definition at line 37 of file RoadInfoLaneWidth.h.
References _width.
Referenced by carla::road::Map::GetWaypoint().
|
private |
Definition at line 43 of file RoadInfoLaneWidth.h.
Referenced by GetPolynomial().