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 }
HeightAboveEllipsoid
double HeightAboveEllipsoid(double lat, double lon, double h)
Definition: cgeoid.cpp:5
h
const double h
Definition: testSimpleHelicopter.cpp:19
cgeoid.h
lon
static const double lon
Definition: testGeographicLib.cpp:34
lat
static const double lat
Definition: testGeographicLib.cpp:34
main
int main()
Definition: geoidtest.c:9


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:22