template<typename PointOfSegment, typename CalculationType = void>
class boost::geometry::strategy::area::huiller< PointOfSegment, CalculationType >
Area calculation by spherical excess / Huiller's formula.
- Template Parameters
-
PointOfSegment | point type of segments of rings/polygons |
CalculationType | |
- Author
- Barend Gehrels. Adapted from:
- Note
- The version in Gems didn't account for polygons crossing the 180 meridian.
-
This version works for convex and non-convex polygons, for 180 meridian crossing polygons and for polygons with holes. However, some cases (especially 180 meridian cases) must still be checked.
-
The version which sums angles, which is often seen, doesn't handle non-convex polygons correctly.
-
The version which sums longitudes, see http://trs-new.jpl.nasa.gov/dspace/bitstream/2014/40409/1/07-03.pdf, is simple and works well in most cases but not in 180 meridian crossing cases. This probably could be solved.
-
This version is made for spherical equatorial coordinate systems
{
[heading Example] [area_with_strategy] [area_with_strategy_output]
[heading See also] [link geometry.reference.algorithms.area.area_2_with_strategy area (with strategy)] }