Boost.Geometry    Boost C++ Libraries
Public Member Functions | List of all members
boost::geometry::strategy::distance::vincenty< Spheroid, CalculationType > Class Template Reference

Distance calculation formulae on latlong coordinates, after Vincenty, 1975. More...

Inheritance diagram for boost::geometry::strategy::distance::vincenty< Spheroid, CalculationType >:
boost::geometry::strategy::distance::geographic< strategy::vincenty, Spheroid, CalculationType >

Public Member Functions

 vincenty ()
 
 vincenty (Spheroid const &spheroid)
 
- Public Member Functions inherited from boost::geometry::strategy::distance::geographic< strategy::vincenty, Spheroid, CalculationType >
calculation_type< Point1,
Point2 >::type 
apply (Point1 const &point1, Point2 const &point2) const
 
 geographic ()
 
 geographic (Spheroid const &spheroid)
 
Spheroid const & model () const
 

Additional Inherited Members

- Public Types inherited from boost::geometry::strategy::distance::geographic< strategy::vincenty, Spheroid, CalculationType >
typedef Spheroid model_type
 

Detailed Description

template<typename Spheroid = srs::spheroid<double>, typename CalculationType = void>
class boost::geometry::strategy::distance::vincenty< Spheroid, CalculationType >

Distance calculation formulae on latlong coordinates, after Vincenty, 1975.

Template Parameters
SpheroidThe reference spheroid model
CalculationTypenumeric type for calculation (e.g. high precision); if [*void] then it is extracted automatically from the coordinate type and (if necessary) promoted to floating point
Author
See
Adapted from various implementations to get it close to the original document

Constructor & Destructor Documentation

template<typename Spheroid = srs::spheroid<double>, typename CalculationType = void>
boost::geometry::strategy::distance::vincenty< Spheroid, CalculationType >::vincenty ( )
template<typename Spheroid = srs::spheroid<double>, typename CalculationType = void>
boost::geometry::strategy::distance::vincenty< Spheroid, CalculationType >::vincenty ( Spheroid const &  spheroid)
explicit

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
Documentation is generated by Doxygen