The surface of a lane may be offset from the plane defined by the reference line and the corresponding elevation and crossfall entries (e.g. More...
#include <RoadInfoLaneHeight.h>
Public Member Functions | |
void | AcceptVisitor (RoadInfoVisitor &v) final |
double | GetInner () const |
Inner offset from road level. More... | |
double | GetOuter () const |
Outer offset from road level. More... | |
RoadInfoLaneHeight (double s, double inner, double outer) | |
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 double | _inner |
const double | _outer |
Additional Inherited Members | |
Protected Member Functions inherited from carla::road::element::RoadInfo | |
RoadInfo (double distance=0.0) | |
The surface of a lane may be offset from the plane defined by the reference line and the corresponding elevation and crossfall entries (e.g.
pedestrian walkways are typically a few centimeters above road level). The height record provides a simplified method to describe this offset by setting an inner and outer offset from road level at discrete positions along the lane profile.
Definition at line 22 of file RoadInfoLaneHeight.h.
|
inline |
Definition at line 25 of file RoadInfoLaneHeight.h.
|
inlinefinalvirtual |
Implements carla::road::element::RoadInfo.
Definition at line 34 of file RoadInfoLaneHeight.h.
|
inline |
Inner offset from road level.
Definition at line 39 of file RoadInfoLaneHeight.h.
References _inner.
|
inline |
Outer offset from road level.
Definition at line 44 of file RoadInfoLaneHeight.h.
References _outer.
|
private |
Definition at line 50 of file RoadInfoLaneHeight.h.
Referenced by GetInner().
|
private |
Definition at line 52 of file RoadInfoLaneHeight.h.
Referenced by GetOuter().