C library for Geodesics  2.1
direct.c File Reference

A test program for geod_direct() More...

#include <stdio.h>
#include "geodesic.h"

Go to the source code of this file.

Functions

int main ()
 

Detailed Description

A test program for geod_direct()

Definition in file direct.c.

Function Documentation

◆ main()

int main ( void  )

A simple program to solve the direct geodesic problem.

This program reads in lines with lat1, lon1, azi1, s12 and prints out lines with lat2, lon2, azi2 (for the WGS84 ellipsoid).

Definition at line 21 of file direct.c.

References geod_geodesic::a, geod_geodesic::f, geod_direct(), and geod_init().