Function SimOneAPI::GetLaneLink
-
Defined in File SimOneHDMapAPI.h
Function Documentation
-
bool
SimOneAPI
::
GetLaneLink
(
const
SSD
::
SimString
&
id
,
HDMapStandalone
::
MLaneLink
&
laneLink
)
-
获取车道连接信息
Get lane connection information.
此函数用于基于车道ID获取车道的连接信息
This function is used to get a lane’s link information based on the lane’s ID.
- 参数 :
-
-
id – [in]
输入的车道ID,格式为roadId_sectionIndex_laneId
Input lane ID, formatted as roadId_sectionIndex_laneId.
-
laneLink – [out]
指定车道的连接信息(HDMapStandalone::MLaneLink)
Lane link information (HDMapStandalone::MLaneLink) of the specified lane.
-
- 返回 :
-
如果地图中存在指定的车道则返回true,否则返回false
Returns true if the specified lane exists in the map, else returns false.