SpatialLocatorAttachedFrameOfReference.TryGetRelativeHeadingAtTimestamp 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
相对于此帧的固定标题,计算指定时间戳的设备标题(以弧度为单位)。
public:
virtual IReference<double> ^ TryGetRelativeHeadingAtTimestamp(PerceptionTimestamp ^ timestamp) = TryGetRelativeHeadingAtTimestamp;
IReference<double> TryGetRelativeHeadingAtTimestamp(PerceptionTimestamp const& timestamp);
public System.Nullable<double> TryGetRelativeHeadingAtTimestamp(PerceptionTimestamp timestamp);
function tryGetRelativeHeadingAtTimestamp(timestamp)
Public Function TryGetRelativeHeadingAtTimestamp (timestamp As PerceptionTimestamp) As Nullable(Of Double)
参数
- timestamp
- PerceptionTimestamp
要计算其相对标题的时间戳。
返回
对应于时间戳的相对标题(以弧度为单位),如果指定时间不可用,则为 null。
注解
如果时间戳在过去或将来太远,此方法将返回 null。