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_1distance_1_1projected__point.xml] 16[section:strategy_distance_projected_point strategy::distance::projected_point] 17 18'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>distance</primary></indexterm><indexterm><primary>projected_point</primary></indexterm>''' 19Strategy for distance point to segment. 20 21[heading Description] 22Calculates distance using projected-point method, and (optionally) Pythagoras 23 24[heading Synopsis] 25``template<typename CalculationType, typename Strategy> 26class strategy::distance::projected_point 27{ 28 // ... 29}; 30`` 31 32[heading Template parameter(s)] 33[table 34[[Parameter] [Default] [Description]] 35[[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 ]] 36[[typename Strategy] [pythagoras<CalculationType>] [underlying point-point distance strategy ]] 37] 38 39[heading Member Function(s)] 40[table 41[[Function] [Description] [Parameters] [Returns]] 42[[``relate_segment_segment_strategy_type get_relate_segment_segment_strategy()`` 43 44] [] [ 45 46][ 47 48] 49] 50[[``point_in_geometry_strategy_type get_point_in_geometry_strategy()`` 51 52] [] [ 53 54][ 55 56] 57] 58[[``template<typename Point, typename PointOfSegment> 59calculation_type< Point, PointOfSegment >::type apply(Point const & p, PointOfSegment const & p1, PointOfSegment const & p2)`` 60 61] [] [[* Point const &]: ['p]: 62 63[* PointOfSegment const &]: ['p1]: 64 65[* PointOfSegment const &]: ['p2]: 66 67 68 69][ 70 71] 72] 73[[``template<typename CT> 74CT vertical_or_meridian(CT const & lat1, CT const & lat2)`` 75 76] [] [[* CT const &]: ['lat1]: 77 78[* CT const &]: ['lat2]: 79 80 81 82][ 83 84] 85] 86] 87 88[heading Header] 89`#include <boost/geometry/strategies/cartesian/distance_projected_point.hpp>` 90 91[heading See also] 92[link geometry.reference.algorithms.distance.distance_3_with_strategy distance (with strategy)] 93 94[endsect] 95 96