GeographicLib 2.5
|
Command line utility for geodesic calculations. More...
#include <iostream>
#include <string>
#include <sstream>
#include <fstream>
#include <GeographicLib/Geodesic.hpp>
#include <GeographicLib/GeodesicLine.hpp>
#include <GeographicLib/DMS.hpp>
#include <GeographicLib/Utility.hpp>
#include "GeodSolve.usage"
Go to the source code of this file.
Typedefs | |
typedef GeographicLib::Math::real | real |
Functions | |
std::string | LatLonString (real lat, real lon, int prec, bool dms, char dmssep, bool longfirst) |
std::string | AzimuthString (real azi, int prec, bool dms, char dmssep) |
std::string | DistanceStrings (real s12, real a12, bool full, bool arcmode, int prec, bool dms) |
real | ReadDistance (const std::string &s, bool arcmode, bool fraction=false) |
int | main (int argc, const char *const argv[]) |
Command line utility for geodesic calculations.
Copyright (c) Charles Karney (2009-2023) karne.nosp@m.y@al.nosp@m.um.mi.nosp@m.t.ed.nosp@m.u and licensed under the MIT/X11 License. For more information, see https://geographiclib.sourceforge.io/
See the man page for usage information.
Definition in file GeodSolve.cpp.
typedef GeographicLib::Math::real real |
Definition at line 28 of file GeodSolve.cpp.
Definition at line 30 of file GeodSolve.cpp.
Referenced by main().
std::string AzimuthString | ( | real | azi, |
int | prec, | ||
bool | dms, | ||
char | dmssep | ||
) |
Definition at line 42 of file GeodSolve.cpp.
Referenced by main().
Definition at line 48 of file GeodSolve.cpp.
Referenced by main().
real ReadDistance | ( | const std::string & | s, |
bool | arcmode, | ||
bool | fraction = false |
||
) |
Definition at line 61 of file GeodSolve.cpp.
Referenced by main().
int main | ( | int | argc, |
const char *const | argv[] | ||
) |
Definition at line 67 of file GeodSolve.cpp.
References GeographicLib::GeodesicLine::Azimuth(), AzimuthString(), DistanceStrings(), GeographicLib::Geodesic::GenDirect(), GeographicLib::Geodesic::GenDirectLine(), GeographicLib::GeodesicLine::GenDistance(), GeographicLib::GeodesicLine::GenPosition(), GeographicLib::Geodesic::InverseLine(), LatLonString(), GeographicLib::Geodesic::Line(), and ReadDistance().