|
GeographicLib 1.52
|
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/GeodesicExact.hpp>#include <GeographicLib/GeodesicLineExact.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-2019) charl.nosp@m.es@k.nosp@m.arney.nosp@m..com 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 31 of file GeodSolve.cpp.
Definition at line 33 of file GeodSolve.cpp.
Referenced by main().
| std::string AzimuthString | ( | real | azi, |
| int | prec, | ||
| bool | dms, | ||
| char | dmssep | ||
| ) |
Definition at line 45 of file GeodSolve.cpp.
Referenced by main().
Definition at line 51 of file GeodSolve.cpp.
Referenced by main().
| real ReadDistance | ( | const std::string & | s, |
| bool | arcmode, | ||
| bool | fraction = false |
||
| ) |
Definition at line 64 of file GeodSolve.cpp.
Referenced by main().
| int main | ( | int | argc, |
| const char *const | argv[] | ||
| ) |
Definition at line 70 of file GeodSolve.cpp.
References GeographicLib::GeodesicLine::Azimuth(), GeographicLib::GeodesicLineExact::Azimuth(), AzimuthString(), DistanceStrings(), GeographicLib::GeodesicExact::GenDirect(), GeographicLib::GeodesicExact::GenDirectLine(), GeographicLib::GeodesicLine::GenDistance(), GeographicLib::GeodesicLineExact::GenDistance(), GeographicLib::GeodesicLine::GenPosition(), GeographicLib::GeodesicLineExact::GenPosition(), GeographicLib::GeodesicExact::InverseLine(), LatLonString(), GeographicLib::GeodesicExact::Line(), and ReadDistance().