CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Private 属性 | 所有成员列表
carla::road::element::RoadInfoLaneVisibility类 参考final

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. 更多...

#include <RoadInfoLaneVisibility.h>

+ 类 carla::road::element::RoadInfoLaneVisibility 继承关系图:
+ carla::road::element::RoadInfoLaneVisibility 的协作图:

Public 成员函数

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 成员函数 继承自 carla::road::element::RoadInfo
double GetDistance () const
 Distance from road's start location.
 
virtual ~RoadInfo ()=default
 

Private 属性

const double _back
 
const double _forward
 
const double _left
 
const double _right
 

额外继承的成员函数

- Protected 成员函数 继承自 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.

在文件 RoadInfoLaneVisibility.h23 行定义.

构造及析构函数说明

◆ RoadInfoLaneVisibility()

carla::road::element::RoadInfoLaneVisibility::RoadInfoLaneVisibility ( double s,
double forward,
double back,
double left,
double right )
inline

在文件 RoadInfoLaneVisibility.h26 行定义.

成员函数说明

◆ AcceptVisitor()

void carla::road::element::RoadInfoLaneVisibility::AcceptVisitor ( RoadInfoVisitor & v)
inlinefinalvirtual

实现了 carla::road::element::RoadInfo.

在文件 RoadInfoLaneVisibility.h39 行定义.

◆ GetBack()

double carla::road::element::RoadInfoLaneVisibility::GetBack ( ) const
inline

在文件 RoadInfoLaneVisibility.h47 行定义.

引用了 _back.

◆ GetForward()

double carla::road::element::RoadInfoLaneVisibility::GetForward ( ) const
inline

在文件 RoadInfoLaneVisibility.h43 行定义.

引用了 _forward.

◆ GetLeft()

double carla::road::element::RoadInfoLaneVisibility::GetLeft ( ) const
inline

在文件 RoadInfoLaneVisibility.h51 行定义.

引用了 _left.

◆ GetRight()

double carla::road::element::RoadInfoLaneVisibility::GetRight ( ) const
inline

在文件 RoadInfoLaneVisibility.h55 行定义.

引用了 _right.

类成员变量说明

◆ _back

const double carla::road::element::RoadInfoLaneVisibility::_back
private

在文件 RoadInfoLaneVisibility.h63 行定义.

被这些函数引用 GetBack().

◆ _forward

const double carla::road::element::RoadInfoLaneVisibility::_forward
private

在文件 RoadInfoLaneVisibility.h61 行定义.

被这些函数引用 GetForward().

◆ _left

const double carla::road::element::RoadInfoLaneVisibility::_left
private

在文件 RoadInfoLaneVisibility.h65 行定义.

被这些函数引用 GetLeft().

◆ _right

const double carla::road::element::RoadInfoLaneVisibility::_right
private

在文件 RoadInfoLaneVisibility.h67 行定义.

被这些函数引用 GetRight().


该类的文档由以下文件生成: