Function SimOneAPI::ContainsLane

Function Documentation

bool SimOneAPI :: ContainsLane ( const SSD :: SimString & id )

查询指定车道是否存在于地图中

Check if the specified lane exists in the map.

此函数用于检查当前地图中是否存在指定ID的车道

This function is used to check whether a lane with the specified ID exists in the current map.

参数 :

id [in]

输入的车道ID,格式为roadId_sectionIndex_laneId

Input lane ID, formatted as roadId_sectionIndex_laneId.

返回 :

如果存在则返回true,否则返回false

Returns true if it exists, else returns false.