Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::strategy::distance::comparable::haversine< RadiusType, CalculationType > Class Template Reference

#include <distance_haversine.hpp>

Classes

struct  calculation_type
 

Public Types

typedef RadiusType radius_type
 

Public Member Functions

 haversine (RadiusType const &r=1.0)
 
RadiusType radius () const
 

Static Public Member Functions

template<typename Point1 , typename Point2 >
static calculation_type
< Point1, Point2 >::type 
apply (Point1 const &p1, Point2 const &p2)
 

Member Typedef Documentation

template<typename RadiusType , typename CalculationType = void>
typedef RadiusType boost::geometry::strategy::distance::comparable::haversine< RadiusType, CalculationType >::radius_type

Constructor & Destructor Documentation

template<typename RadiusType , typename CalculationType = void>
boost::geometry::strategy::distance::comparable::haversine< RadiusType, CalculationType >::haversine ( RadiusType const &  r = 1.0)
inlineexplicit

Member Function Documentation

template<typename RadiusType , typename CalculationType = void>
template<typename Point1 , typename Point2 >
static calculation_type<Point1, Point2>::type boost::geometry::strategy::distance::comparable::haversine< RadiusType, CalculationType >::apply ( Point1 const &  p1,
Point2 const &  p2 
)
inlinestatic
template<typename RadiusType , typename CalculationType = void>
RadiusType boost::geometry::strategy::distance::comparable::haversine< RadiusType, CalculationType >::radius ( ) const
inline

The documentation for this class was generated from the following file: