Header for GeographicLib::Constants class. More...
#include <GeographicLib/Config.h>
#include <stdexcept>
#include <string>
#include <GeographicLib/Math.hpp>
Go to the source code of this file.
Classes | |
class | GeographicLib::Constants |
Constants needed by GeographicLib More... | |
class | GeographicLib::GeographicErr |
Exception handling for GeographicLib. More... | |
Namespaces | |
namespace | GeographicLib |
Namespace for GeographicLib. | |
Defines | |
#define | GEOGRAPHICLIB_CONSTANTS_HPP 1 |
#define | GEOGRAPHICLIB_VERSION_NUM(a, b, c) ((((a) * 10000 + (b)) * 100) + (c)) |
#define | GEOGRAPHICLIB_VERSION |
#define | GEOGRAPHICLIB_STATIC_ASSERT(cond, reason) { enum{ GEOGRAPHICLIB_STATIC_ASSERT_ENUM = 1/int(cond) }; } |
#define | GEOGRAPHICLIB_EXPORT |
Header for GeographicLib::Constants class.
Copyright (c) Charles Karney (2008-2011) <charles@karney.com> and licensed under the MIT/X11 License. For more information, see http://geographiclib.sourceforge.net/
Definition in file Constants.hpp.
#define GEOGRAPHICLIB_CONSTANTS_HPP 1 |
Definition at line 11 of file Constants.hpp.
#define GEOGRAPHICLIB_VERSION_NUM | ( | a, | |||
b, | |||||
c | ) | ((((a) * 10000 + (b)) * 100) + (c)) [related] |
Pack the version components into a single integer.
Definition at line 19 of file Constants.hpp.
#define GEOGRAPHICLIB_VERSION [related] |
GEOGRAPHICLIB_VERSION_NUM(GEOGRAPHICLIB_VERSION_MAJOR, \ GEOGRAPHICLIB_VERSION_MINOR, \ GEOGRAPHICLIB_VERSION_PATCH)
The version of GeographicLib as a single integer, packed as MMmmmmpp where MM is the major version, mmmm is the minor version, and pp is the patch level.
Definition at line 27 of file Constants.hpp.
#define GEOGRAPHICLIB_STATIC_ASSERT | ( | cond, | |||
reason | ) | { enum{ GEOGRAPHICLIB_STATIC_ASSERT_ENUM = 1/int(cond) }; } [related] |
A compile-time assert. Use C++11 static_assert, if available.
Definition at line 55 of file Constants.hpp.
Referenced by GeographicLib::Accumulator< T >::Accumulator(), GeographicLib::SphericalEngine::Circle(), GeographicLib::Geoid::Geoid(), GeographicLib::TransverseMercator::TransverseMercator(), and GeographicLib::SphericalEngine::Value().
#define GEOGRAPHICLIB_EXPORT |
Definition at line 70 of file Constants.hpp.