Function SimOneAPI::GetParkingSpaceIds¶
Defined in File SimOneHDMapAPI.h
Function Documentation¶
-
bool SimOneAPI::GetParkingSpaceIds(const SSD::SimPoint3D &inputPt, double distance, SSD::SimStringVector &ids)¶
获取地图中指定点前方一定距离内的停车位列表
Get a list of parking spaces located ahead of a specified point in the map, within a certain distance.
此函数用于获取输入点前方特定距离范围内的停车位列表
This function is used to get a list of parking spaces within a certain range of distance ahead of the input point.
- 参数:¶
- const SSD::SimPoint3D &inputPt¶
[in]
输入的3D位置
Input 3D location.
- double distance¶
[in]
检测范围的距离
Input range distance.
- SSD::SimStringVector &ids¶
[out]
前方一定距离内的停车位列表
List of parking spaces within the specified distance.
- 返回:¶
如果存在,则返回true,否则返回false
Returns true if parking spaces exist within the range, else returns false.