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. More...
#include <RoadInfoLaneBorder.h>
Public Member Functions | |
void | AcceptVisitor (RoadInfoVisitor &v) final |
const geom::CubicPolynomial & | GetPolynomial () const |
RoadInfoLaneBorder (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 | _border |
Additional Inherited Members | |
Protected Member Functions inherited from 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.
Definition at line 23 of file RoadInfoLaneBorder.h.
|
inline |
Definition at line 26 of file RoadInfoLaneBorder.h.
|
inlinefinalvirtual |
Implements carla::road::element::RoadInfo.
Definition at line 35 of file RoadInfoLaneBorder.h.
|
inline |
Definition at line 39 of file RoadInfoLaneBorder.h.
References _border.
|
private |
Definition at line 45 of file RoadInfoLaneBorder.h.
Referenced by GetPolynomial().