SpatialLocator.TryLocateAtTimestamp(PerceptionTimestamp, SpatialCoordinateSystem) SpatialLocator.TryLocateAtTimestamp(PerceptionTimestamp, SpatialCoordinateSystem) SpatialLocator.TryLocateAtTimestamp(PerceptionTimestamp, SpatialCoordinateSystem) SpatialLocator.TryLocateAtTimestamp(PerceptionTimestamp, SpatialCoordinateSystem) SpatialLocator.TryLocateAtTimestamp(PerceptionTimestamp, SpatialCoordinateSystem) 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 : SpatialLocation TryLocateAtTimestamp(PerceptionTimestamp timestamp, SpatialCoordinateSystem coordinateSystem)
SpatialLocation TryLocateAtTimestamp(PerceptionTimestamp timestamp, SpatialCoordinateSystem coordinateSystem) const;
public SpatialLocation TryLocateAtTimestamp(PerceptionTimestamp timestamp, SpatialCoordinateSystem coordinateSystem)
Public Function TryLocateAtTimestamp(timestamp As PerceptionTimestamp, coordinateSystem As SpatialCoordinateSystem) As SpatialLocation
var spatialLocation = spatialLocator.tryLocateAtTimestamp(timestamp, coordinateSystem);

Parameters

timestamp
PerceptionTimestamp PerceptionTimestamp PerceptionTimestamp

The timestamp at which to locate the device.

coordinateSystem
SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem

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

Returns