Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
gtsam
3rdparty
GeographicLib
wrapper
C
geoidtest.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include "
cgeoid.h
"
3
4
#if defined(_MSC_VER)
5
/* Squelch warnings about scanf */
6
# pragma warning (disable: 4996)
7
#endif
8
9
int
main
() {
10
double
lat
,
lon
,
h
;
11
while
(scanf(
"%lf %lf %lf"
, &lat, &lon, &h) == 3)
12
printf(
"%.3f\n"
,
HeightAboveEllipsoid
(lat, lon, h));
13
}
lat
static const double lat
Definition:
testGeographicLib.cpp:35
cgeoid.h
h
const double h
Definition:
testSimpleHelicopter.cpp:16
lon
static const double lon
Definition:
testGeographicLib.cpp:35
main
int main()
Definition:
geoidtest.c:9
HeightAboveEllipsoid
double HeightAboveEllipsoid(double lat, double lon, double h)
Definition:
cgeoid.cpp:5
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:08