Each lane within a road cross section may be provided with several entries defining the visibility in four directions relative to the lane’s direction. More...
#include <RoadInfoLaneVisibility.h>
Public Member Functions | |
void | AcceptVisitor (RoadInfoVisitor &v) final |
double | GetBack () const |
double | GetForward () const |
double | GetLeft () const |
double | GetRight () const |
RoadInfoLaneVisibility (double s, double forward, double back, double left, double right) | |
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 | _back |
const double | _forward |
const double | _left |
const double | _right |
Additional Inherited Members | |
Protected Member Functions inherited from carla::road::element::RoadInfo | |
RoadInfo (double distance=0.0) | |
Each lane within a road cross section may be provided with several entries defining the visibility in four directions relative to the lane’s direction.
Each entry is valid until a new entry is defined. If multiple entries are defined, they must be listed in increasing order.
For left lanes (positive ID), the forward direction is oriented opposite to the track’s direction, for right lanes, the forward direction and the track’s direction are identical.
Definition at line 23 of file RoadInfoLaneVisibility.h.
|
inline |
Definition at line 26 of file RoadInfoLaneVisibility.h.
|
inlinefinalvirtual |
Implements carla::road::element::RoadInfo.
Definition at line 39 of file RoadInfoLaneVisibility.h.
|
inline |
Definition at line 47 of file RoadInfoLaneVisibility.h.
References _back.
|
inline |
Definition at line 43 of file RoadInfoLaneVisibility.h.
References _forward.
|
inline |
Definition at line 51 of file RoadInfoLaneVisibility.h.
References _left.
|
inline |
Definition at line 55 of file RoadInfoLaneVisibility.h.
References _right.
|
private |
Definition at line 63 of file RoadInfoLaneVisibility.h.
Referenced by GetBack().
|
private |
Definition at line 61 of file RoadInfoLaneVisibility.h.
Referenced by GetForward().
|
private |
Definition at line 65 of file RoadInfoLaneVisibility.h.
Referenced by GetLeft().
|
private |
Definition at line 67 of file RoadInfoLaneVisibility.h.
Referenced by GetRight().