Function SimOneAPI::Navigate

Function Documentation

bool SimOneAPI :: Navigate ( const SSD :: SimPoint3DVector & inputPoints , SSD :: SimVector < int > & indexOfValidPoints , SSD :: SimVector < long > & roadIdList )

获取规划路径所途径道路的ID列表

Get the ID list of roads traversed by the planned path.

此函数用于提供一个规划路径,通过输入点生成,并返回该路径所途径的道路ID列表

This function provides a routing path generated by input points and returns the list of road IDs traversed by this routing path.

参数 :
  • inputPoints [in]

    用于引导生成路线的输入点

    Input points that guide the generated route.

  • indexOfValidPoints [out]

    从输入点中选出的有效点的索引

    Indices of valid points picked from input points.

  • roadIdList [out]

    路径所途径的道路ID列表

    List of road IDs that are traversed by the routing path.

返回 :

如果已生成任何路线,则返回true,否则返回false

Returns true if any route has been generated, else returns false.