Function SimOneAPI::IsDriving
-
Defined in File SimOneHDMapAPI.h
Function Documentation
-
bool
SimOneAPI
::
IsDriving
(
const
SSD
::
SimString
&
id
)
-
判断车道是否为机动车道
Determine if the lane is a motor vehicle lane.
此函数用于检查指定的车道ID是否代表一个机动车道
This function is used to check whether the specified lane ID represents a motor vehicle lane.
- 参数 :
-
id – [in]
输入的车道ID,格式为roadId_sectionIndex_laneId
Input lane ID, formatted as roadId_sectionIndex_laneId.
- 返回 :
-
如果指定车道是机动车道,则返回true,否则返回false
Returns true if the specified lane is a driving type, else returns false.