Command line utility for geodesic calculations. More...
#include "GeographicLib/Geodesic.hpp"
#include "GeographicLib/DMS.hpp"
#include <iostream>
#include <iomanip>
#include <sstream>
Go to the source code of this file.
Typedefs | |
typedef GeographicLib::Math::real | real |
Functions | |
int | usage (int retval) |
std::string | LatLonString (real lat, real lon, int prec, bool dms) |
std::string | AzimuthString (real azi, int prec, bool dms) |
std::string | DistanceStrings (real s12, real a12, bool full, bool arcmode, int prec, bool dms) |
real | ReadDistance (const std::string &s, bool arcmode) |
int | main (int argc, char *argv[]) |
Command line utility for geodesic calculations.
Copyright (c) Charles Karney (2009, 2010) <charles@karney.com> and licensed under the LGPL. For more information, see http://geographiclib.sourceforge.net/
Compile with -I../include and link with Geodesic.o DMS.o
See Geod for usage information.
Definition in file Geod.cpp.
typedef GeographicLib::Math::real real |
std::string AzimuthString | ( | real | azi, | |
int | prec, | |||
bool | dms | |||
) |
real ReadDistance | ( | const std::string & | s, | |
bool | arcmode | |||
) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 127 of file Geod.cpp.
References AzimuthString(), DistanceStrings(), LatLonString(), ReadDistance(), and usage().