Boost.Geometry    Boost C++ Libraries
Classes | Public Types | Public Member Functions | List of all members
boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType > Class Template Reference

Geographic area calculation. More...

Classes

struct  area_sums
 
struct  spheroid_constants
 

Public Types

typedef CT return_type
 
typedef PointOfSegment segment_point_type
 
typedef area_sums state_type
 

Public Member Functions

void apply (PointOfSegment const &p1, PointOfSegment const &p2, area_sums &state) const
 
 geographic (Spheroid const &spheroid=Spheroid())
 
return_type result (area_sums const &state) const
 

Detailed Description

template<typename PointOfSegment, typename FormulaPolicy = strategy::andoyer, std::size_t SeriesOrder = strategy::default_order<FormulaPolicy>::value, typename Spheroid = srs::spheroid<double>, typename CalculationType = void>
class boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >

Geographic area calculation.

Geographic area calculation by trapezoidal rule plus integral approximation that gives the ellipsoidal correction

Template Parameters
PointOfSegmentsegment point type
FormulaPolicyFormula used to calculate azimuths
SeriesOrderThe order of approximation of the geodesic integral
SpheroidThe spheroid model
CalculationTypenumeric 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
Author
See

Member Typedef Documentation

template<typename PointOfSegment , typename FormulaPolicy = strategy::andoyer, std::size_t SeriesOrder = strategy::default_order<FormulaPolicy>::value, typename Spheroid = srs::spheroid<double>, typename CalculationType = void>
typedef CT boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >::return_type
template<typename PointOfSegment , typename FormulaPolicy = strategy::andoyer, std::size_t SeriesOrder = strategy::default_order<FormulaPolicy>::value, typename Spheroid = srs::spheroid<double>, typename CalculationType = void>
typedef PointOfSegment boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >::segment_point_type
template<typename PointOfSegment , typename FormulaPolicy = strategy::andoyer, std::size_t SeriesOrder = strategy::default_order<FormulaPolicy>::value, typename Spheroid = srs::spheroid<double>, typename CalculationType = void>
typedef area_sums boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >::state_type

Constructor & Destructor Documentation

template<typename PointOfSegment , typename FormulaPolicy = strategy::andoyer, std::size_t SeriesOrder = strategy::default_order<FormulaPolicy>::value, typename Spheroid = srs::spheroid<double>, typename CalculationType = void>
boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >::geographic ( Spheroid const &  spheroid = Spheroid())
explicit

Member Function Documentation

template<typename PointOfSegment , typename FormulaPolicy = strategy::andoyer, std::size_t SeriesOrder = strategy::default_order<FormulaPolicy>::value, typename Spheroid = srs::spheroid<double>, typename CalculationType = void>
void boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >::apply ( PointOfSegment const &  p1,
PointOfSegment const &  p2,
area_sums state 
) const
template<typename PointOfSegment , typename FormulaPolicy = strategy::andoyer, std::size_t SeriesOrder = strategy::default_order<FormulaPolicy>::value, typename Spheroid = srs::spheroid<double>, typename CalculationType = void>
return_type boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >::result ( area_sums const &  state) const

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen