Function SimOneAPI::GetSectionLaneList
-
Defined in File SimOneHDMapAPI.h
Function Documentation
-
bool
SimOneAPI
::
GetSectionLaneList
(
const
SSD
::
SimString
&
laneId
,
SSD
::
SimStringVector
&
sectionLaneList
)
-
获取指定车道线所在Section的所有车道线ID列表
Get the list of lane line IDs for the specified lane line in the section.
此函数用于获取与指定车道ID处于同一Section中的所有车道线的ID列表。请注意,使用格式roadId_sectionIndex_laneId的laneId时,不应将laneId设置为0,因为0不是有效的车道ID
This function is used to get the list of lane IDs that are in the same section as the specified lane ID. Note that the laneId in the format roadId_sectionIndex_laneId should not be set to 0, as 0 does not represent a valid lane ID.
- 参数 :
-
-
laneId – [in]
输入的车道ID,格式为roadId_sectionIndex_laneId
Input lane ID, formatted as roadId_sectionIndex_laneId.
-
sectionLaneList – [out]
指定车道所在Section的所有车道线ID列表
List of lane IDs in the same section as the specified lane.
-
- 返回 :
-
当找到一个或多个车道时返回true,否则返回false
Returns true when one or more lanes are found, else returns false.