Function swri_transform_util::GetBearing

Function Documentation

double swri_transform_util::GetBearing(double source_latitude, double source_longitude, double destination_latitude, double destination_longitude)

Calculates the bearing between two points.

Parameters:
  • source_latitude[in] The latitude of the origin point in degrees

  • source_longitude[in] The longitude of the origin point in degrees

  • destination_latitude[in] The latitude of the destination point in degrees

  • destination_longitude[in] The longitude of the destination point in degrees

Returns:

The bearing between the origin and destination in degrees ENU