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

Spherical area calculation. More...

Classes

struct  excess_sum
 

Public Types

typedef CT return_type
 
typedef PointOfSegment segment_point_type
 
typedef geometry::srs::sphere< CT > sphere_type
 
typedef excess_sum state_type
 

Public Member Functions

void apply (PointOfSegment const &p1, PointOfSegment const &p2, excess_sum &state) const
 
return_type result (excess_sum const &state) const
 
 spherical ()
 
template<typename T >
 spherical (geometry::srs::sphere< T > const &sphere)
 
 spherical (CT const &radius)
 

Detailed Description

template<typename PointOfSegment, typename CalculationType = void>
class boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >

Spherical area calculation.

Calculates area on the surface of a sphere using the trapezoidal rule

Template Parameters
PointOfSegmentsegment point type
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

Member Typedef Documentation

template<typename PointOfSegment , typename CalculationType = void>
typedef CT boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::return_type
template<typename PointOfSegment , typename CalculationType = void>
typedef PointOfSegment boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::segment_point_type
template<typename PointOfSegment , typename CalculationType = void>
typedef excess_sum boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::state_type
template<typename PointOfSegment , typename CalculationType = void>
typedef geometry::srs::sphere<CT> boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::sphere_type

Constructor & Destructor Documentation

template<typename PointOfSegment , typename CalculationType = void>
boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::spherical ( )
template<typename PointOfSegment , typename CalculationType = void>
template<typename T >
boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::spherical ( geometry::srs::sphere< T > const &  sphere)
explicit
template<typename PointOfSegment , typename CalculationType = void>
boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::spherical ( CT const &  radius)
explicit

Member Function Documentation

template<typename PointOfSegment , typename CalculationType = void>
void boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::apply ( PointOfSegment const &  p1,
PointOfSegment const &  p2,
excess_sum state 
) const
template<typename PointOfSegment , typename CalculationType = void>
return_type boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::result ( excess_sum 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