[geometry][extension] Updated andoyer/vincenty adaption (added radius_type for distance_cross_track)

[SVN r85066]
This commit is contained in:
Barend Gehrels
2013-07-17 21:34:46 +00:00
parent 29a03318a3
commit c4d60d094d
2 changed files with 6 additions and 2 deletions

View File

@@ -63,6 +63,8 @@ public :
>
{};
typedef RadiusType radius_type;
inline andoyer()
: m_ellipsoid()
{}

View File

@@ -33,7 +33,8 @@ namespace strategy { namespace distance
/*!
\brief Distance calculation formulae on latlong coordinates, after Vincenty, 1975
\ingroup distance
\tparam RadiusType type of radius (of the Earth)
\tparam Point1 \tparam_first_point
\tparam Point2 \tparam_second_point
\tparam CalculationType \tparam_calculation
\author See http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf
\author Adapted from various implementations to get it close to the original document
@@ -63,6 +64,8 @@ public :
>
{};
typedef RadiusType radius_type;
inline vincenty()
{}
@@ -247,4 +250,3 @@ struct result_from_distance<vincenty<RadiusType, CalculationType>, P1, P2 >
#endif // BOOST_GEOMETRY_EXTENSIONS_GIS_GEOGRAPHIC_STRATEGIES_VINCENTY_HPP