/usr/include/boost/geometry/strategies/geographic
NameSizeModeActions
area.hpp69330644editdlrm
azimuth.hpp40210644editdlrm
buffer_point_circle.hpp41890644editdlrm
densify.hpp40040644editdlrm
disjoint_segment_box.hpp40430644editdlrm
distance.hpp62940644editdlrm
distance_andoyer.hpp38290644editdlrm
distance_cross_track.hpp345240644editdlrm
distance_cross_track_box_box.hpp71470644editdlrm
distance_cross_track_point_box.hpp67800644editdlrm
distance_karney.hpp29850644editdlrm
distance_segment_box.hpp101000644editdlrm
distance_thomas.hpp33540644editdlrm
distance_vincenty.hpp35470644editdlrm
envelope.hpp33480644editdlrm
envelope_segment.hpp37950644editdlrm
expand_segment.hpp29150644editdlrm
index.hpp74500644editdlrm
intersection.hpp378740644editdlrm
intersection_elliptic.hpp68990644editdlrm
io.hpp22850644editdlrm
line_interpolate.hpp37100644editdlrm
mapping_ssf.hpp56250644editdlrm
parameters.hpp54670644editdlrm
point_in_poly_winding.hpp21220644editdlrm
point_order.hpp31070644editdlrm
side.hpp46090644editdlrm
side_andoyer.hpp15010644editdlrm
side_thomas.hpp14930644editdlrm
side_vincenty.hpp15090644editdlrm
Edit: /usr/include/boost/geometry/strategies/geographic/distance_andoyer.hpp (3829B)
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2016 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Oracle on 2014, 2017. // Modifications copyright (c) 2014-2017 Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_DISTANCE_DETAIL_HPP #define BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_DISTANCE_DETAIL_HPP #include #include namespace boost { namespace geometry { namespace strategy { namespace distance { /*! \brief Point-point distance approximation taking flattening into account \ingroup distance \tparam Spheroid The reference spheroid model \tparam CalculationType \tparam_calculation \author After Andoyer, 19xx, republished 1950, republished by Meeus, 1999 \note Although not so well-known, the approximation is very good: in all cases the results are about the same as Vincenty. In my (Barend's) testcases the results didn't differ more than 6 m \see http://nacc.upc.es/tierra/node16.html \see http://sci.tech-archive.net/Archive/sci.geo.satellite-nav/2004-12/2724.html \see http://home.att.net/~srschmitt/great_circle_route.html (implementation) \see http://www.codeguru.com/Cpp/Cpp/algorithms/article.php/c5115 (implementation) \see http://futureboy.homeip.net/frinksamp/navigation.frink (implementation) \see http://www.voidware.com/earthdist.htm (implementation) \see http://www.dtic.mil/docs/citations/AD0627893 \see http://www.dtic.mil/docs/citations/AD703541 */ template < typename Spheroid = srs::spheroid, typename CalculationType = void > class andoyer : public strategy::distance::geographic < strategy::andoyer, Spheroid, CalculationType > { typedef strategy::distance::geographic < strategy::andoyer, Spheroid, CalculationType > base_type; public : inline andoyer() : base_type() {} explicit inline andoyer(Spheroid const& spheroid) : base_type(spheroid) {} }; #ifndef DOXYGEN_NO_STRATEGY_SPECIALIZATIONS namespace services { template struct tag > { typedef strategy_tag_distance_point_point type; }; template struct return_type, P1, P2> : andoyer::template calculation_type {}; template struct comparable_type > { typedef andoyer type; }; template struct get_comparable > { static inline andoyer apply(andoyer const& input) { return input; } }; template struct result_from_distance, P1, P2> { template static inline typename return_type, P1, P2>::type apply(andoyer const& , T const& value) { return value; } }; } // namespace services #endif // DOXYGEN_NO_STRATEGY_SPECIALIZATIONS }} // namespace strategy::distance }} // namespace boost::geometry #endif // BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_DISTANCE_DETAIL_HPP