Function SimOneAPI::GenerateRoute

Function Documentation

bool SimOneAPI :: GenerateRoute ( const SSD :: SimPoint3DVector & inputPoints , SSD :: SimVector < int > & indexOfValidPoints , SSD :: SimPoint3DVector & route )

获取路网路径规划

Get road network path planning.

此函数用于根据指定的输入点生成路线。它将从输入点中筛选出有效点,并利用这些点来规划路线

This function is used to generate a route for specified input points. It picks valid ones from the input points, which will be used for generating the route.

参数 :
  • inputPoints [in]

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

    Input points that guide the generated route.

  • indexOfValidPoints [out]

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

    Indices of valid points picked from input points.

  • route [out]

    生成的路线

    Generated route.

返回 :

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

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