Function SimOneAPI::GetRoadLength

Function Documentation

double SimOneAPI::GetRoadLength(const long &roadId)

获取道路长度

Get the length of the road.

此函数用于获取指定道路ID的道路长度

This function is used to get the length of the road for a given road ID.

参数:

roadId -- [in]

输入的道路ID

Input road ID.

返回:

返回指定道路的长度

Returns the length of the road.