Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85066 - trunk/boost/geometry/extensions/gis/geographic/strategies
From: barend.gehrels_at_[hidden]
Date: 2013-07-17 17:34:46


Author: barendgehrels
Date: 2013-07-17 17:34:46 EDT (Wed, 17 Jul 2013)
New Revision: 85066
URL: http://svn.boost.org/trac/boost/changeset/85066

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

Text files modified:
   trunk/boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp | 2 ++
   trunk/boost/geometry/extensions/gis/geographic/strategies/vincenty.hpp | 6 ++++--
   2 files changed, 6 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp
==============================================================================
--- trunk/boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp Wed Jul 17 17:24:33 2013 (r85065)
+++ trunk/boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp 2013-07-17 17:34:46 EDT (Wed, 17 Jul 2013) (r85066)
@@ -63,6 +63,8 @@
>
     {};
 
+ typedef RadiusType radius_type;
+
     inline andoyer()
         : m_ellipsoid()
     {}

Modified: trunk/boost/geometry/extensions/gis/geographic/strategies/vincenty.hpp
==============================================================================
--- trunk/boost/geometry/extensions/gis/geographic/strategies/vincenty.hpp Wed Jul 17 17:24:33 2013 (r85065)
+++ trunk/boost/geometry/extensions/gis/geographic/strategies/vincenty.hpp 2013-07-17 17:34:46 EDT (Wed, 17 Jul 2013) (r85066)
@@ -33,7 +33,8 @@
 /*!
 \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 @@
>
     {};
 
+ typedef RadiusType radius_type;
+
     inline vincenty()
     {}
 
@@ -247,4 +250,3 @@
 
 
 #endif // BOOST_GEOMETRY_EXTENSIONS_GIS_GEOGRAPHIC_STRATEGIES_VINCENTY_HPP
-


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk