Latitude of the start point in decimal degrees.
Longitude of the start point in decimal degrees.
Initial bearing in degrees true. Values outside [0, 360) are normalized.
Distance to travel along the bearing in nautical miles. Negative values reverse direction.
Destination coordinates in decimal degrees.
Computes the destination point reached by traveling a given distance along a great-circle bearing from a starting position.
The bearing is normalized via trigonometry, so values outside
[0, 360)(e.g.-90or450) behave as their wrapped equivalents. A negativetravelDistanceNmis treated as travel in the opposite direction, producing the same result as the positive distance atbearingDeg + 180. Output longitude is normalized to the range[-180, 180]; points on the antimeridian may be represented with either sign.