3 references to EarthRadiusKm
Microsoft.Maui.Maps (3)
Primitives\Distance.cs (1)
70
distance = 2 * GeographyUtils.
EarthRadiusKm
* Math.Atan2(Math.Sqrt(distance), Math.Sqrt(1 - distance));
Primitives\GeographyUtils.cs (1)
21
double distance = circle.Radius.Kilometers /
EarthRadiusKm
;
Primitives\MapSpan.cs (1)
8
const double EarthCircumferenceKm = GeographyUtils.
EarthRadiusKm
* 2 * Math.PI;