line_interpolate_spherical.qbk 2.7 KB

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