Function SimOneAPI::IsOverlapLaneLine

Function Documentation

bool SimOneAPI::IsOverlapLaneLine(const SSD::SimPoint3D &pos, const double &radius, SSD::SimString &id)

判断给定位置是否与车道线重叠

Check if the specified position overlaps with a lane line.

此函数用于确定给定位置及其周围一定半径内是否与车道线重叠

This function is used to determine whether the given position and its surrounding area within a certain radius overlap with a lane line.

参数:
const SSD::SimPoint3D &pos

[in]

指定位置的坐标

The coordinates of the specified position.

const double &radius

[in]

用于重叠检查的半径

The radius used for overlap checking.

SSD::SimString &id

[out]

重叠的车道线ID

The ID of the overlapping lane line.

返回:

如果给定位置与车道线重叠,则返回true,否则返回false

Returns true if there is an overlap with a lane line at the given position, false otherwise.