|  | Home | Libraries | People | FAQ | More | 
Calculates area on the surface of a sphere using the trapezoidal rule
template<typename RadiusTypeOrSphere, typename CalculationType> class strategy::area::spherical { // ... };
| Parameter | Default | Description | 
|---|---|---|
| typename RadiusTypeOrSphere | double | numeric type for radius (of sphere, earth) or sphere model | 
| 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 RadiusOrSphere> spherical(RadiusOrSphere const & radius_or_sphere) 
 | RadiusOrSphere const &: radius_or_sphere: | 
| Function | Description | Parameters | Returns | 
|---|---|---|---|
| 
 template<typename PointOfSegment, typename Geometry> void apply(PointOfSegment const & p1, PointOfSegment const & p2, state< Geometry > & st) 
 | PointOfSegment const &: p1: PointOfSegment const &: p2: state< Geometry > &: st: | ||
| 
 template<typename Geometry> result_type< Geometry >::type result(state< Geometry > const & st) 
 | state< Geometry > const &: st: | ||
| 
 srs::sphere< radius_type > model() 
 | 
          #include <boost/geometry/strategy/spherical/area.hpp>