Function SimOneAPI::GenerateRoute_V2

Function Documentation

bool SimOneAPI :: GenerateRoute_V2 ( const SSD :: SimPoint3DVector & inputPoints , SSD :: SimVector < int > & indexOfValidPoints , HDMapStandalone :: MRoutePath & path , SSD :: SimVector < HDMapStandalone :: MRoutePoint > & routePtList )

获取路网路径规划详细信息

Get detailed information about road network path planning.

此函数用于根据输入点生成路网的路径规划详细信息,包括路线的途径点和段信息

This function is used to generate detailed information of road network path planning based on input points, including waypoints and segment information of the route.

参数 :
  • inputPoints [in]

    用于指导生成路线应通过的输入点

    Input points that guide the generated route should pass over.

  • indexOfValidPoints [out]

    从输入点中选择有效的点

    Pick valid ones from input points. Valid ones will be used for generating route.

  • path [out]

    生成路线的途径点和段信息

    Waypoints and segment info of the generated route.

  • routePtList [out]

    生成路线的车道详细信息

    Lane detail information of the generated route.

返回 :

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

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