Aracılığıyla paylaş


SpatialLocator.TryLocateAtTimestamp Method

Definition

Returns a SpatialLocation representing the device's location at the specified timestamp. The coordinates within are expressed relative to the supplied coordinate system. If the device cannot be located in that coordinate system at the specified timestamp, the return value will be null. This can happen when the device has lost tracking, for example.

public:
 virtual SpatialLocation ^ TryLocateAtTimestamp(PerceptionTimestamp ^ timestamp, SpatialCoordinateSystem ^ coordinateSystem) = TryLocateAtTimestamp;
SpatialLocation TryLocateAtTimestamp(PerceptionTimestamp const& timestamp, SpatialCoordinateSystem const& coordinateSystem);
public SpatialLocation TryLocateAtTimestamp(PerceptionTimestamp timestamp, SpatialCoordinateSystem coordinateSystem);
function tryLocateAtTimestamp(timestamp, coordinateSystem)
Public Function TryLocateAtTimestamp (timestamp As PerceptionTimestamp, coordinateSystem As SpatialCoordinateSystem) As SpatialLocation

Parameters

timestamp
PerceptionTimestamp

The timestamp at which to locate the device.

coordinateSystem
SpatialCoordinateSystem

The coordinate system in which to express the location's coordinates.

Returns

The location.

Applies to