Function SimOneAPI::GetRoadMark
-
Defined in File SimOneHDMapAPI.h
Function Documentation
-
bool
SimOneAPI
::
GetRoadMark
(
const
SSD
::
SimPoint3D
&
pos
,
const
SSD
::
SimString
&
id
,
HDMapStandalone
::
MRoadMark
&
left
,
HDMapStandalone
::
MRoadMark
&
right
)
-
根据指定车道ID和局部坐标获取输入点左右两侧车道标线信息
Get lane marking information on both sides of the input point based on the specified lane ID and local coordinates.
此函数用于获取指定车道ID和输入点局部坐标处左右两侧的车道标线信息
This function is used to get the lane marking information on both the left and right sides at the local coordinates of the input point and the specified lane ID.
- 参数 :
-
-
pos – [in]
输入的3D位置
Input 3D location.
-
id – [in]
输入的车道ID,格式为roadId_sectionIndex_laneId
Input lane ID, formatted as roadId_sectionIndex_laneId.
-
left – [out]
输入点左侧的车道标线
Left side roadmark at the input point.
-
right – [out]
输入点右侧的车道标线
Right side roadmark at the input point.
-
- 返回 :
-
如果找到车道标线,则返回true,否则返回false
Returns true if the roadmark is found, else returns false.