/home/travis/build/boostorg/boost/boost/geometry/util/math.hpp File Reference

## Namespaces

namespace | boost
namespace | boost::geometry
namespace | boost::geometry::math

## Functions

template<typename T >
T | boost::geometry::math::abs (T const &value)
| Short utility to workaround gcc/clang problem that abs is converting to integer and that older versions of MSVC does not support abs of long long...
template<typename DegreeOrRadian , typename T >
T | boost::geometry::math::as_radian (T const &value)
template<typename T >
T | boost::geometry::math::d2r ()
template<typename T1 , typename T2 >
bool | boost::geometry::math::equals (T1 const &a, T2 const &b)
| returns true if both arguments are equal.
template<typename T1 , typename T2 >
bool | boost::geometry::math::equals_with_epsilon (T1 const &a, T2 const &b)
template<typename DegreeOrRadian , typename T >
T | boost::geometry::math::from_radian (T const &value)
template<typename T >
T | boost::geometry::math::half_pi ()
template<typename T >
T | boost::geometry::math::hav (T const &theta)
| Calculates the haversine of an angle.
template<typename T1 , typename T2 >
bool | boost::geometry::math::larger (T1 const &a, T2 const &b)
template<typename T1 , typename T2 >
bool | boost::geometry::math::larger_or_equals (T1 const &a, T2 const &b)
template<typename T >
detail::modulo< T >::return_type | boost::geometry::math::mod (T const &value1, T const &value2)
| Short utility to return the modulo of two values.
template<typename T >
T | boost::geometry::math::pi ()
template<typename T >
T | boost::geometry::math::r2d ()
template<typename T >
T | boost::geometry::math::relaxed_epsilon (T const &factor)
template<typename Result , typename T >
Result | boost::geometry::math::rounding_cast (T const &v)
| Short utility to cast a value possibly rounding it to the nearest integral value.
template<typename T >
T | boost::geometry::math::scaled_epsilon (T const &value)
template<typename T >
int | boost::geometry::math::sign (T const &value)
| Short utility to calculate the sign of a number: -1 (negative), 0 (zero), 1 (positive)
template<typename T1 , typename T2 >
bool | boost::geometry::math::smaller (T1 const &a, T2 const &b)
template<typename T1 , typename T2 >
bool | boost::geometry::math::smaller_or_equals (T1 const &a, T2 const &b)
template<typename T >
T | boost::geometry::math::sqr (T const &value)
| Short utility to return the square.
template<typename T >
detail::square_root< T > ::return_type | boost::geometry::math::sqrt (T const &value)
| Short utility to return the square root.
template<typename T >
T | boost::geometry::math::two_pi ()

April 2, 2011 | Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK