Function SimOneAPI::IsTwoSideRoad

Function Documentation

bool SimOneAPI :: IsTwoSideRoad ( const long & roadId )

判断指定道路是否是双向道路

Determine if the specified road is a two-way road.

此函数用于检查指定的道路ID是否代表一个双向道路

This function is used to check whether the specified road ID represents a two-way road.

参数 :

roadId [in]

输入的道路ID

Input road ID.

返回 :

如果是双向道路则返回true,否则返回false

Returns true if it is a two-way road, else returns false.