Function SimOneAPI::IsInJunction
-
Defined in File SimOneHDMapAPI.h
Function Documentation
-
bool
SimOneAPI
::
IsInJunction
(
const
SSD
::
SimString
&
id
,
long
&
juncId
)
-
判断车道是否在交叉路口内
Determine if the lane is within an intersection.
此函数用于检查当前车道是否属于某个交叉路口
This function is used to check whether the current lane belongs to a junction.
- 参数 :
-
-
id – [in]
输入的车道ID,格式为roadId_sectionIndex_laneId
Input lane ID, formatted as roadId_sectionIndex_laneId.
-
juncId – [out]
所属交叉路口的ID
Owner junction ID.
-
- 返回 :
-
如果指定车道在交叉路口内,则返回true,否则返回false
Returns true if the specified lane is in a junction, else returns false.