00README.txt 800 Bytes
Newer Older
Valentin Platzgummer's avatar
Valentin Platzgummer committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
This is a C implementation of the geodesic algorithms described in

  C. F. F. Karney,
  Algorithms for geodesics,
  J. Geodesy 87, 43-55 (2013);
  https://doi.org/10.1007/s00190-012-0578-z
  Addenda: https://geographiclib.sourceforge.io/geod-addenda.html

For documentation, see

  https://geographiclib.sourceforge.io/html/C/

The code in this directory is entirely self-contained.  In particular,
it does not depend on the C++ classes.  You can compile and link the
example programs directly with something like:

  cc -o inverse inverse.c geodesic.c -lm
  echo 30 0 29.5 179.5 | ./inverse

Alternatively, you can build the examples using cmake.  For example, on
Linux systems you might do:

  mkdir BUILD
  cd BUILD
  cmake ..
  make
  echo 30 0 29.5 179.5 | ./inverse