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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:08