Function swri_transform_util::GetMidpointLatLon
Defined in File transform_util.h
Function Documentation
-
void swri_transform_util::GetMidpointLatLon(double latitude1, double longitude1, double latitude2, double longitude2, double &mid_latitude, double &mid_longitude)
Find the midpoint on the arc between two lat/lon points
- Parameters:
latitude1 – [in] Endpoint 1 latitude in degrees
longitude1 – [in] Endpoint 1 longitude in degrees
latitude2 – [in] Endpoint 2 latitude in degrees
longitude2 – [in] Endpoint 2 longitude in degrees
mid_latitude – [out] Midpoint latitude in degrees
mid_longitude – [out] Midpoint longitude in degrees