GeographicLib: GeodesicExact.cpp File Reference

GeographicLib 2.5

Loading...
Searching...
No Matches
Namespaces
GeodesicExact.cpp File Reference

Implementation for GeographicLib::GeodesicExact class. More...

`#include <GeographicLib/GeodesicExact.hpp>`
`#include <GeographicLib/GeodesicLineExact.hpp>`
`#include <vector>`

Go to the source code of this file.

## Namespaces
namespace | GeographicLib
| Namespace for GeographicLib.

## Detailed Description

Implementation for GeographicLib::GeodesicExact class.

Copyright (c) Charles Karney (2012-2023) karne.nosp@m.y@al.nosp@m.um.mi.nosp@m.t.ed.nosp@m.u and licensed under the MIT/X11 License. For more information, see https://geographiclib.sourceforge.io/

This is a reformulation of the geodesic problem. The notation is as follows:

- at a general point (no suffix or 1 or 2 as suffix)
  - phi = latitude
  - beta = latitude on auxiliary sphere
  - omega = longitude on auxiliary sphere
  - lambda = longitude
  - alpha = azimuth of great circle
  - sigma = arc length along great circle
  - s = distance
  - tau = scaled distance (= sigma at multiples of pi/2)
- at northwards equator crossing
  - beta = phi = 0
  - omega = lambda = 0
  - alpha = alpha0
  - sigma = s = 0
- a 12 suffix means a difference, e.g., s12 = s2 - s1.
- s and c prefixes mean sin and cos

Definition in file GeodesicExact.cpp.