![]() |
![]() |
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) | |
Spherical area calculation.
Calculates area on the surface of a sphere using the trapezoidal rule
PointOfSegment | segment point type |
CalculationType | 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 |
typedef CT boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::return_type |
typedef PointOfSegment boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::segment_point_type |
typedef excess_sum boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::state_type |
typedef geometry::srs::sphere<CT> boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::sphere_type |
boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::spherical | ( | ) |
|
explicit |
|
explicit |
void boost::geometry::strategy::area::spherical< PointOfSegment, CalculationType >::apply | ( | PointOfSegment const & | p1, |
PointOfSegment const & | p2, | ||
excess_sum & | state | ||
) | const |
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 |