UnitySwiftKotlin←API Reference Return to API Reference index←packageNianticSpatial.NSDK.AR.Utilities NianticSpatial.NSDK.AR.Utilities←structLatLng NianticSpatial.NSDK.AR.Utilities.LatLng Method Bearing Bearing Declaration public static double Bearing(LatLng l1, LatLng l2) Summary Calculates the initial bearing (sometimes referred to as forward azimuth) which if followed in a straight line along a great-circle arc will take you from the l1 to l2 points. @returns Initial bearing in degrees Parameters NameTypeSummaryl1LatLng-l2LatLng-
Calculates the initial bearing (sometimes referred to as forward azimuth) which if
followed in a straight line along a great-circle arc will take you from the l1 to l2 points.
@returns Initial bearing in degrees