C# Класс InTheHand.Devices.Geolocation.BasicGeopositionExtensions

Provides extension methods for BasicGeoposition.
PlatformVersion supported iOSiOS 9.0 and later macOSOS X 10.7 and later tvOStvOS 9.0 and later TizenTizen 3.0 Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetDistanceTo ( this b, BasicGeoposition other ) : double

Returns the distance between the latitude and longitude coordinates that are specified by this BasicGeoposition and another specified BasicGeoposition.

Приватные методы

Метод Описание
GetDistance ( double thisLatitude, double thisLongitude, double otherLatitude, double otherLongitude ) : double
ToRadians ( double degrees ) : double

Описание методов

GetDistanceTo() публичный статический Метод

Returns the distance between the latitude and longitude coordinates that are specified by this BasicGeoposition and another specified BasicGeoposition.
public static GetDistanceTo ( this b, BasicGeoposition other ) : double
b this
other BasicGeoposition The for the location to calculate the distance to.
Результат double