boost::geometry::strategy::area::surveyor
area_surveyor.hpp
boost::geometry::strategy::area::surveyor::summation
typename PointOfSegment
typename CalculationType void
boost::mpl::if_c< boost::is_void< CalculationType >::type::value, typename select_most_precise< typename coordinate_type< PointOfSegment >::type, double >::type, CalculationType >::type typedef boost::mpl::if_c< boost::is_void<CalculationType>::type::value, typename select_most_precise < typename coordinate_type<PointOfSegment>::type, double >::type, CalculationType >::type boost::geometry::strategy::area::surveyor< PointOfSegment, CalculationType >::return_type return_type
PointOfSegment typedef PointOfSegment boost::geometry::strategy::area::surveyor< PointOfSegment, CalculationType >::segment_point_type segment_point_type
summation typedef summation boost::geometry::strategy::area::surveyor< PointOfSegment, CalculationType >::state_type state_type
void static void boost::geometry::strategy::area::surveyor< PointOfSegment, CalculationType >::apply (PointOfSegment const &p1, PointOfSegment const &p2, summation &state) apply PointOfSegment const & p1 PointOfSegment const & p2 summation & state
return_type static return_type boost::geometry::strategy::area::surveyor< PointOfSegment, CalculationType >::result (summation const &state) result summation const & state

Area calculation for cartesian points.

Calculates area using the Surveyor's formula, a well-known triangulation algorithm 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

[heading See also] [link geometry.reference.algorithms.area.area_2_with_strategy area (with strategy)]
- boost::geometry::strategy::area::surveyor
  apply
- boost::geometry::strategy::area::surveyor
  result
- boost::geometry::strategy::area::surveyor
  return_type
- boost::geometry::strategy::area::surveyor
  segment_point_type
- boost::geometry::strategy::area::surveyor
  state_type