distance_cross_track_point_box.qbk 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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__point__box.xml]
  12. [section:strategy_distance_cross_track_point_box strategy::distance::cross_track_point_box]
  13. '''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>distance</primary></indexterm><indexterm><primary>cross_track_point_box</primary></indexterm>'''
  14. Strategy functor for distance point to box calculation.
  15. [heading Description]
  16. Class which calculates the distance of a point to a box, for points and boxes on a sphere or globe
  17. [heading Synopsis]
  18. ``template<typename CalculationType, typename Strategy>
  19. class strategy::distance::cross_track_point_box
  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 ]]
  29. ]
  30. [heading Constructor(s)]
  31. [table
  32. [[Function] [Description] [Parameters] ]
  33. [[``cross_track_point_box()``
  34. ] [] [
  35. ]]
  36. [[``cross_track_point_box(typename Strategy::radius_type const & r)``
  37. ] [] [[* typename Strategy::radius_type const &]: ['r]:
  38. ]]
  39. [[``cross_track_point_box(Strategy const & s)``
  40. ] [] [[* Strategy const &]: ['s]:
  41. ]]
  42. ]
  43. [heading Member Function(s)]
  44. [table
  45. [[Function] [Description] [Parameters] [Returns]]
  46. [[``template<typename Point, typename Box>
  47. return_type< Point, Box >::type apply(Point const & point, Box const & box)``
  48. ] [] [[* Point const &]: ['point]:
  49. [* Box const &]: ['box]:
  50. ][
  51. ]
  52. ]
  53. [[``Strategy::radius_type radius()``
  54. ] [] [
  55. ][
  56. ]
  57. ]
  58. ]
  59. [heading Header]
  60. `#include <boost/geometry/strategies/spherical/distance_cross_track_point_box.hpp>`
  61. [endsect]