GeographicLib
1.42
|
Command line utility for geodesic calculations. More...
#include <iostream>
#include <sstream>
#include <string>
#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) |
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) |
int | main (int argc, char *argv[]) |
Command line utility for geodesic calculations.
Copyright (c) Charles Karney (2009-2012) charl and licensed under the MIT/X11 License. For more information, see es@k arney .comhttp://geographiclib.sourceforge.net/
See the man page for usage information.
Definition in file GeodSolve.cpp.
typedef GeographicLib::Math::real real |
Definition at line 32 of file GeodSolve.cpp.
Definition at line 34 of file GeodSolve.cpp.
References GeographicLib::DMS::Encode(), GeographicLib::DMS::LATITUDE, GeographicLib::DMS::LONGITUDE, and GeographicLib::DMS::NUMBER.
Referenced by main().
std::string AzimuthString | ( | real | azi, |
int | prec, | ||
bool | dms, | ||
char | dmssep | ||
) |
Definition at line 43 of file GeodSolve.cpp.
References GeographicLib::DMS::AZIMUTH, GeographicLib::DMS::Encode(), and GeographicLib::DMS::NUMBER.
Referenced by main().
Definition at line 49 of file GeodSolve.cpp.
References GeographicLib::DMS::Encode(), GeographicLib::DMS::NONE, GeographicLib::DMS::NUMBER, and GeographicLib::Utility::str().
Referenced by main().
real ReadDistance | ( | const std::string & | s, |
bool | arcmode | ||
) |
Definition at line 62 of file GeodSolve.cpp.
References GeographicLib::DMS::DecodeAngle().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 67 of file GeodSolve.cpp.
References GeographicLib::GeodesicExact::ArcDirect(), GeographicLib::Geodesic::ArcDirect(), GeographicLib::GeodesicLineExact::ArcPosition(), GeographicLib::GeodesicLine::ArcPosition(), AzimuthString(), GeographicLib::DMS::DecodeAzimuth(), GeographicLib::DMS::DecodeLatLon(), GeographicLib::GeodesicExact::Direct(), GeographicLib::Geodesic::Direct(), DistanceStrings(), GeographicLib::Math::extra_digits(), GeographicLib::GeodesicExact::Inverse(), GeographicLib::Geodesic::Inverse(), LatLonString(), GeographicLib::GeodesicExact::Line(), GeographicLib::Geodesic::Line(), GeographicLib::GeodesicLineExact::Position(), GeographicLib::GeodesicLine::Position(), ReadDistance(), GeographicLib::Utility::set_digits(), GeographicLib::Utility::str(), GeographicLib::Constants::WGS84_a(), and GeographicLib::Constants::WGS84_f().