|  | Home | Libraries | People | FAQ | More | 
Calculates area on the surface of a sphere using the trapezoidal rule
template<typename PointOfSegment, typename CalculationType> class strategy::area::spherical { // ... };
| Parameter | Default | Description | 
|---|---|---|
| typename PointOfSegment | segment point type | |
| 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 | 
| Function | Description | Parameters | 
|---|---|---|
| 
 spherical() 
 | ||
| 
 template<typename T> spherical(geometry::srs::sphere< T > const & sphere) 
 | geometry::srs::sphere< T > const &: sphere: | |
| 
 spherical(CT const & radius) 
 | CT const &: radius: | 
| Function | Description | Parameters | Returns | 
|---|---|---|---|
| 
 void apply(PointOfSegment const & p1, PointOfSegment const & p2, excess_sum & state) 
 | PointOfSegment const &: p1: PointOfSegment const &: p2: excess_sum &: state: | ||
| 
 return_type result(excess_sum const & state) 
 | excess_sum const &: state: | 
          #include <boost/geometry/strategies/spherical/area.hpp>