Delen via


SpatialLocatorAttachedFrameOfReference.TryGetRelativeHeadingAtTimestamp Method

Definition

Computes the device's heading in radians for the specified timestamp, relative to this frame's fixed heading.

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)

Parameters

timestamp
PerceptionTimestamp

The timestamp to compute the relative heading for.

Returns

The relative heading in radians that corresponds with the timestamp, or null if it is not available for the specified time.

Remarks

This method will return null if the timestamp is too far in the past or future.

Applies to