次の方法で共有


Class GeoLocation

Declaration

struct winrt::Microsoft::Azure::SpatialAnchors::GeoLocation

Description

Contains optional geographical location information within a sensor fingerprint.

Remarks

If any of the values are unknown, they should not be set or can be set to NaN.

Properties

Altitude

The altitude of the device in meters.

float Altitude();
void Altitude(float const& value);

HorizontalError

The horizontal error in meters of the latitude and longitude. This corresponds to the radius of a 68.3% confidence region on the East/North plane. Over many invocations, the true position should be within this number of horizontal meters of the reported position.

float HorizontalError();
void HorizontalError(float const& value);

Latitude

The current latitude of the device in degrees.

double Latitude();
void Latitude(double const& value);

Longitude

The current longitude of the device in degrees.

double Longitude();
void Longitude(double const& value);

VerticalError

The vertical error of the altitude in meters. This corresponds to a one-sided 68.3% confidence interval along the Up axis. Over many invocations, the true altitude should be within this number of meters of the reported altitude.

float VerticalError();
void VerticalError(float const& value);