1[/============================================================================ 2 Boost.Geometry (aka GGL, Generic Geometry Library) 3 4 Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands. 5 Copyright (c) 2008-2013 Bruno Lalande, Paris, France. 6 Copyright (c) 2009-2013 Mateusz Loskot, London, UK. 7 8 Use, modification and distribution is subject to the Boost Software License, 9 Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 10 http://www.boost.org/LICENSE_1_0.txt) 11=============================================================================/] 12 13 14[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically] 15[/ Generated from doxy/doxygen_output/xml/classboost_1_1geometry_1_1strategy_1_1line__interpolate_1_1spherical.xml] 16[section:strategy_line_interpolate_spherical strategy::line_interpolate::spherical] 17 18'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>line_interpolate</primary></indexterm><indexterm><primary>spherical</primary></indexterm>''' 19Interpolate point on a spherical segment. 20 21[heading Synopsis] 22``template<typename CalculationType, typename DistanceStrategy> 23class strategy::line_interpolate::spherical 24{ 25 // ... 26}; 27`` 28 29[heading Template parameter(s)] 30[table 31[[Parameter] [Default] [Description]] 32[[typename CalculationType] [void] [numeric 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 ]] 33[[typename DistanceStrategy] [distance::haversine<double, CalculationType>] [The underlying point-point distance strategy]] 34] 35 36[heading Constructor(s)] 37[table 38[[Function] [Description] [Parameters] ] 39[[``spherical()`` 40 41] [] [ 42 43]] 44[[``spherical(typename DistanceStrategy::radius_type const & r)`` 45 46] [] [[* typename DistanceStrategy::radius_type const &]: ['r]: 47 48 49 50]] 51[[``spherical(DistanceStrategy const & s)`` 52 53] [] [[* DistanceStrategy const &]: ['s]: 54 55 56 57]] 58] 59 60[heading Member Function(s)] 61[table 62[[Function] [Description] [Parameters] [Returns]] 63[[``distance_pp_strategy::type get_distance_pp_strategy()`` 64 65] [] [ 66 67][ 68 69] 70] 71[[``template<typename Point, typename Fraction, typename Distance> 72void apply(Point const & p0, Point const & p1, Fraction const & fraction, 73 Point & p, Distance const & )`` 74 75] [] [[* Point const &]: ['p0]: 76 77[* Point const &]: ['p1]: 78 79[* Fraction const &]: ['fraction]: 80 81[* Point &]: ['p]: 82 83[* Distance const &]: [']: 84 85 86 87][ 88 89] 90] 91] 92 93[heading Header] 94`#include <boost/geometry/strategies/spherical/line_interpolate.hpp>` 95 96[heading See also] 97* [link geometry.reference.algorithms.line_interpolate.line_interpolate_4_with_strategy line_interpolate (with strategy)] 98 99[endsect] 100 101