![]() |
![]() |
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 |
Geographic area calculation.
Geographic area calculation by trapezoidal rule plus integral approximation that gives the ellipsoidal correction
PointOfSegment | segment point type |
FormulaPolicy | Formula used to calculate azimuths |
SeriesOrder | The order of approximation of the geodesic integral |
Spheroid | The spheroid model |
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::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >::return_type |
typedef PointOfSegment boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >::segment_point_type |
typedef area_sums boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >::state_type |
|
explicit |
void boost::geometry::strategy::area::geographic< PointOfSegment, FormulaPolicy, SeriesOrder, Spheroid, CalculationType >::apply | ( | PointOfSegment const & | p1, |
PointOfSegment const & | p2, | ||
area_sums & | state | ||
) | const |
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 |