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_1area_1_1geographic.xml] 16[section:strategy_area_geographic strategy::area::geographic] 17 18'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>area</primary></indexterm><indexterm><primary>geographic</primary></indexterm>''' 19Geographic area calculation. 20 21[heading Description] 22Geographic area calculation by trapezoidal rule plus integral approximation that gives the ellipsoidal correction 23 24[heading Synopsis] 25``template<typename FormulaPolicy, std::size_t SeriesOrder, typename Spheroid, typename CalculationType> 26class strategy::area::geographic 27{ 28 // ... 29}; 30`` 31 32[heading Template parameter(s)] 33[table 34[[Parameter] [Default] [Description]] 35[[typename FormulaPolicy] [strategy::andoyer] [Formula used to calculate azimuths ]] 36[[std::size_t SeriesOrder] [strategy::default_order<FormulaPolicy>::value] [The order of approximation of the geodesic integral ]] 37[[typename Spheroid] [srs::spheroid<double>] [The spheroid model ]] 38[[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 ]] 39] 40 41[heading Constructor(s)] 42[table 43[[Function] [Description] [Parameters] ] 44[[``geographic(Spheroid const & spheroid = Spheroid())`` 45 46] [] [[* Spheroid const &]: ['spheroid]: 47 48 49 50]] 51] 52 53[heading Member Function(s)] 54[table 55[[Function] [Description] [Parameters] [Returns]] 56[[``template<typename PointOfSegment, typename Geometry> 57void apply(PointOfSegment const & p1, PointOfSegment const & p2, state< Geometry > & st)`` 58 59] [] [[* PointOfSegment const &]: ['p1]: 60 61[* PointOfSegment const &]: ['p2]: 62 63[* state< Geometry > &]: ['st]: 64 65 66 67][ 68 69] 70] 71[[``template<typename Geometry> 72result_type< Geometry >::type result(state< Geometry > const & st)`` 73 74] [] [[* state< Geometry > const &]: ['st]: 75 76 77 78][ 79 80] 81] 82] 83 84[heading Header] 85`#include <boost/geometry/strategies/geographic/area.hpp>` 86 87[heading See also] 88* [link geometry.reference.algorithms.area.area_2_with_strategy area (with strategy)] 89* [link geometry.reference.srs.srs_spheroid srs::spheroid] 90 91[endsect] 92 93