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:34
cgeoid.h
h
const double h
Definition:
testSimpleHelicopter.cpp:19
lon
static const double lon
Definition:
testGeographicLib.cpp:34
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 Tue Jul 4 2023 02:34:18