Function SimOneAPI::GetSectionList

Function Documentation

void SimOneAPI::GetSectionList(const long &roadId, SSD::SimStringVector &rightList, SSD::SimStringVector &leftList)

获取section列表

Get the section list.

此函数用于检索指定道路ID的section列表,包括右侧和左侧的sections

This function is used to retrieve the list of sections for the specified road ID, including both right and left sections.

参数:
  • roadId -- [in]

    指定道路的ID

    The ID of the specified road.

  • rightList -- [out]

    用于存储右侧section列表的向量

    The vector to store the list of right sections.

  • leftList -- [out]

    用于存储左侧section列表的向量

    The vector to store the list of left sections.