distance_cross_track.qbk 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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_1distance_1_1cross__track.xml]
  12. [section:strategy_distance_cross_track strategy::distance::cross_track]
  13. '''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>distance</primary></indexterm><indexterm><primary>cross_track</primary></indexterm>'''
  14. Strategy functor for distance point to segment calculation.
  15. [heading Description]
  16. Class which calculates the distance of a point to a segment, for points on a sphere or globe
  17. [heading Synopsis]
  18. ``template<typename CalculationType, typename Strategy>
  19. class strategy::distance::cross_track
  20. {
  21. // ...
  22. };
  23. ``
  24. [heading Template parameter(s)]
  25. [table
  26. [[Parameter] [Default] [Description]]
  27. [[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 ]]
  28. [[typename Strategy] [haversine<double, CalculationType>] [underlying point-point distance strategy, defaults to haversine]]
  29. ]
  30. [heading Constructor(s)]
  31. [table
  32. [[Function] [Description] [Parameters] ]
  33. [[``cross_track()``
  34. ] [] [
  35. ]]
  36. [[``cross_track(typename Strategy::radius_type const & r)``
  37. ] [] [[* typename Strategy::radius_type const &]: ['r]:
  38. ]]
  39. [[``cross_track(Strategy const & s)``
  40. ] [] [[* Strategy const &]: ['s]:
  41. ]]
  42. ]
  43. [heading Member Function(s)]
  44. [table
  45. [[Function] [Description] [Parameters] [Returns]]
  46. [[``relate_segment_segment_strategy_type get_relate_segment_segment_strategy()``
  47. ] [] [
  48. ][
  49. ]
  50. ]
  51. [[``point_in_geometry_strategy_type get_point_in_geometry_strategy()``
  52. ] [] [
  53. ][
  54. ]
  55. ]
  56. [[``template<typename Point, typename PointOfSegment>
  57. return_type< Point, PointOfSegment >::type apply(Point const & p, PointOfSegment const & sp1, PointOfSegment const & sp2)``
  58. ] [] [[* Point const &]: ['p]:
  59. [* PointOfSegment const &]: ['sp1]:
  60. [* PointOfSegment const &]: ['sp2]:
  61. ][
  62. ]
  63. ]
  64. [[``template<typename T1, typename T2>
  65. radius_type vertical_or_meridian(T1 lat1, T2 lat2)``
  66. ] [] [[* T1]: ['lat1]:
  67. [* T2]: ['lat2]:
  68. ][
  69. ]
  70. ]
  71. [[``Strategy::radius_type radius()``
  72. ] [] [
  73. ][
  74. ]
  75. ]
  76. ]
  77. [heading Header]
  78. `#include <boost/geometry/strategies/spherical/distance_cross_track.hpp>`
  79. [heading See also]
  80. [link geometry.reference.algorithms.distance.distance_3_with_strategy distance (with strategy)]
  81. [endsect]